babelshift / SteamWebAPI2

🎮 C# / .NET library that makes it easy to use the Steam Web API. It conveniently wraps around all of the JSON data and ugly API details with clean methods, structures and classes.
MIT License
263 stars 43 forks source link

GetServerSteamIDsByIP() returns null #71

Closed xWolfx93 closed 5 years ago

xWolfx93 commented 5 years ago

Hello,

to quickly summarize i am trying to add a functionality to my discord bot to see if a given steam server is online. So i figured this API should do the trick, but i am getting no data back. and Yes the key is right, the sample usage from the Readme works fine.

attached is my code, i figure i am just doing something very wrong. grafik

babelshift commented 5 years ago

And you're sure that your server is online?

It looks like there is a method on the Steam Web API that I never mapped to this library called GetServersAtAddress.

GET https://api.steampowered.com/ISteamApps/GetServersAtAddress/v1?addr=<ip_addr>

I'll try to get it added. In the meantime, you can try to hit that URL directly in your browser (obviously add your API KEY to the query string params) and see if you get results.

babelshift commented 5 years ago

Closing because no response to above question.