waylaidwanderer / PHP-SteamCommunity

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

Request is so slow #41

Open tonoslav opened 8 years ago

tonoslav commented 8 years ago

Hello,

Im using example from steambot and that requests lasts for so long, SteamCommunity construct -> 10,4723s Login -> 8,231s Send Trade offer -> 2,2469s Get confirmations and accept -> 9,6686s

If you need I can provide code examples but it is almost default example. Somebody has the same problem? Or any solution how to solve it?

I've tried different Steam libraries/classes before and they were pretty quickier but accepting trade offer didn't work.

Im running on PHP6 hosting in Slovakia

CyanoFresh commented 8 years ago

Has same problem

h1100e commented 8 years ago

every request will get the steamid and sessionid first. if you save them the first time,next time do not get to go again.will be faster~

tonoslav commented 8 years ago

@h1100e it should be somehow added into library, not? can you show me any example please? thank you a lot ;)

CyanoFresh commented 8 years ago

I think, pull request will be better