Philipp15b / go-steamapi

Steam Web API in Go.
http://godoc.org/github.com/Philipp15b/go-steamapi
MIT License
93 stars 28 forks source link

Some minor improvements to go-steamapi #1

Closed fasmat closed 6 years ago

fasmat commented 11 years ago

I added the licence file and functions to convert between different SteamID formats. The next thing I'll start working on will be game specific api calls.

Philipp15b commented 11 years ago

Thanks a lot for the pull request. I've got some points about the last commit (8c02e00) though:

For now, I'm going to merge the first three commits.

fasmat commented 11 years ago

Thank you for accepting the request =).

I'm working on implementing dota specific queries like http://api.steampowered.com/IDOTA2Match_570/GetMatchDetails/v1 this weekend, if I have enogh time. At least this call requires an 32-bit account id. I used https://developer.valvesoftware.com/wiki/SteamID as a reference for conversation between different forms of the steam ID and tested my code if it gives the correct values for my account (double checked with sample calls to the api and http://steamidconverter.com/fasmat).

To avoid breaking the api I created the steamid struct which has .As32Bit() .As64Bit() and .String() so you just need to create a steamid once and call the api functions with the corresponding representation.

fasmat commented 11 years ago

As promised, I added what I could this weekend. There are still some API calls missing, but they will follow soon.

fasmat commented 6 years ago

Hi, still working on the steam api? :-)

Philipp15b commented 6 years ago

Sorry it took a (very very long) while, but I'll merge this now. Thanks a lot! 👍