Get price for item on steam community market [closed] - php

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am trying to somehow get the lowest price of a item on the Steam Community Market, I don't seem to see a soloution in the Steam Web API.
So I was hoping one of you smart heads had a solution?
http://steamcommunity.com/market/listings/730/AK-47%20%7C%20Vulcan%20%28Battle-Scarred%29
ex. on that site, the lowest priced auction's price I would like to have returned in PHP.
or even to do it in Objective C would be awesome, thanks you.

Thats how you get the prices for the first page,work a way to identify the currency/loop threw the pages/sort them and you are done.
<?php
$string = file_get_contents('http://steamcommunity.com/market/listings/730/AK-47%20|%20Vulcan%20%28Battle-Scarred%29');
$attrList = explode('<span class="market_listing_price market_listing_price_with_fee">',$string);
$N=count($attrList);
for ($i=1;$i<$N;$i++){
$prices[$i-1] = explode('</span>',$attrList[$i])[0];
}
print_r($prices);
?>

Related

How can I retrieve related or upselling products in php shopify app? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am looking into these apis to develop my shopify app, they haven't mentioned about apis for getting upselling products. Can anyone help?
https://github.com/cmcdonaldca/ohShopify.php
https://github.com/ShopifyExtras/PHP-Shopify-API-Wrapper
There is no such thing in Shopify as related products. You make the relations up yourself. Since early days of Shopify, many concepts have been used to upsell related products, all of them based off of nothing more than simplistic concepts like connecting by type, vendor, sales quantity, or simple curation links.

PHP - Get Order Immediately When Placed WooCommerce [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
My site is made with WordPress & WooCommerce. I wanna get ORDER immediately after it place.
I wanna sent ORDER to a Non-WordPress SERVER in XML format with POST method.
If you are a developer, this should be implemented using WooCommerce webhooks (https://docs.woocommerce.com/document/webhooks/), but a nice amount of code and a good understanding of WooCommerce is needed.
An easier alternative would be using a 3rd party like Zapier: https://zapier.com/apps/webhook/integrations/woocommerce

Search Specific Store with eBay API [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have an eBay store that I'd like to be able to Search through JUST that store and return the results.
I found the "findItemsIneBayStores" call, but the documentation is kinda confusing(At least to me) and I can't find a good example so I can see how it works, I was hoping that someone could explain to me how it works.
Thank you,
Brandon
Use the storeName parameter in your findItemsIneBayStores call:
The name of the eBay store to search. Returns all items in the store, or can be used with keywords to search for specific items in an eBay store. If you do not specify keywords, you must specify storeName.

Amazon API simple repricer?

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed yesterday.
Improve this question
I am currently looking to build a simple repricer for Amazon, what I am thinking of doing is basically just checking all the active items prices and lowest price they are being sold for then match them or lower it by a penny or so. I just need to get pointed into the right direction and which API I should sign up for. So what do you guys think I basically just need some advice.
Thank you,
Michael
I know this is old, but https://developer.amazonservices.com/ is the API you want to use. It's got lookup by ASIN, etc to check the current price.

Make variations in wp-commerce compulsory [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I am trying to make a clothes store for my clothing label using wp-commerce.
I have set the variations for shirt sizes and they are working ok except that when someone doesn't choose a size it adds the shirt to the cart at 0 cost.
I am pretty new to php and would like to make it so that it is compulsory to select a size when you do this.
Here is the site url http://ownc.co.nz/shop/t-shirts/in-a-class-of-our-own/
Ended up making one of the buttons checked with jQuery to fix this
$('input.sizeBtn').eq(2).prop('checked', true).parent().addClass('selected');

Categories