waylaidwanderer / PHP-SteamCommunity

A PHP library for interacting with the Steam Community website (steamcommunity.com)
MIT License
76 stars 41 forks source link

Example trade #79

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi guys. I need example. I have this: $tradeOffers = $steam->tradeOffers(); var_dump($tradeOffers->getTradeOffersViaAPI(true)); $trade = $tradeOffers->createTrade(12345); $trade->addOtherItem(730, 2, "12345678"); var_dump($trade->send()); var_dump($trade->sendWithToken('token'));

how i must edit to send trade? My steamid: aaaaaaa Other steamid: bbbbbbb my itemid: ccccccc Sorry for bad english, but i use google translator :(