Alle diskussioner > Steam-fora > Help and Tips > Trådoplysninger
ToiletGuy 8. juni 2020 kl. 12:35
Is there any duration to wait for API to be approved?
I just registered an API through the form and I don't know what is the status for the API. When I try to use the API with the key, it just return 0 value. May I know if that I need to wait? How long would it be.
< >
Viser 1-7 af 7 kommentarer
MalikQayum 8. juni 2020 kl. 12:45 
there is no delay, if the return is 0, your request is most likely not structured correctly.
you can paste the format of your request here and remove the api key from it and i might be able to help you.
ToiletGuy 8. juni 2020 kl. 15:22 
I just use the URL, provided my API key and username. thats all.
ToiletGuy 8. juni 2020 kl. 15:22 
and it returns nothing.
Blargo 8. juni 2020 kl. 15:33 
Oprindeligt skrevet af e.kalibmedia.com:
I just use the URL, provided my API key and username. thats all.
Your username?

https://developer.valvesoftware.com/wiki/Steam_Web_API
None of the API endpoints listed here require a username as an argument.
Which URL are you requesting?
ToiletGuy 8. juni 2020 kl. 15:35 
GetPlayerSummaries (v0002)

This is the format that I use:

http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=XXXXXXXXXXXXXXXXXXXXXXX&steamids=76561197960435530

the steamids isn't it my username ?
ToiletGuy 8. juni 2020 kl. 15:37 
ok my bad, i got my real steam id now.
wuddih 8. juni 2020 kl. 16:16 
you are not robin walker.

and use this as reference:
https://partner.steamgames.com/doc/webapi/ISteamUser#GetPlayerSummaries

your linked wiki is monster outdated.
Sidst redigeret af wuddih; 8. juni 2020 kl. 16:16
< >
Viser 1-7 af 7 kommentarer
Per side: 1530 50

Alle diskussioner > Steam-fora > Help and Tips > Trådoplysninger
Dato opslået: 8. juni 2020 kl. 12:35
Indlæg: 7