Closed fasmat closed 6 years ago
Thanks a lot for the pull request. I've got some points about the last commit (8c02e00) though:
uint64
.steamid
struct itself is not exported?For now, I'm going to merge the first three commits.
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.
As promised, I added what I could this weekend. There are still some API calls missing, but they will follow soon.
Hi, still working on the steam api? :-)
Sorry it took a (very very long) while, but I'll merge this now. Thanks a lot! 👍
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.