Answer the question
In order to leave comments, you need to log in
How can a php script get the price of a game in rubles?
Hi all. I'm creating some kind of bot for making money on steam cards. Objective: Get prices for card games. I do it like this:
<?php
if( $curl = curl_init() ) {
curl_setopt($curl, CURLOPT_URL, 'http://store.steampowered.com/search/?sort_by=Price_ASC&category1=998&category2=29&os=win&specials=1');
curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);
curl_setopt($curl, CURLOPT_COOKIE, "steamCountry=RU%7C4607b230c93881f31bf48f7bae7bc98a;Steam_Language=russian");
$out = curl_exec($curl);
echo $out;
curl_close($curl);
}
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question