Rossen Georgiev
f448646ca1
SteamID: invite_code_to_tuple() to SteamID.from_invite_code()
4 years ago
Rossen Georgiev
6defa19d01
SteamID: add CSGO friend code
fix #303
4 years ago
Rossen Georgiev
92c5107c7c
fix #259 : not validating input for uint64 in make_steam64
5 years ago
Rossen Georgiev
a01bfe374f
fix #271 : code bugs detected by sonarcloud
5 years ago
Rossen Georgiev
e1ea9d2494
drop py3.4 support
close #268
5 years ago
Rossen Georgiev
7df7bfcfc9
re-record VCRs; fix SteamID.from_url for groups
Closes #188
5 years ago
Rossen
04a392753b
Add s.team invite codes to SteamID ( #218 )
* add invite_code and invite_url properties to SteamID
* steam64_from_url now handles invite codes (they redirect to profiles)
* invite_code_to_tuple for parsing invite code (as link, or alone)
* add a few tests to cover the obvious cases for invite codes
5 years ago
int3l
46e4cdf1b6
Fix unhandled exception for invalid numeric SteamIDs ( #248 )
Too big integers or numeric strings raise TypeError in make_steam64 instead of returning valid SteamID object with the invalid flag set.
Examples:
SteamID(111111111111111111111111111111111111111)
SteamID('11111111111111111111111111111111111111')
5 years ago
Rossen Georgiev
defcea5dfe
update SteamID
* better SteamID validation
* handling for chat SteamIDs
* improve .as_steam3 representation
* more tests
Fix #117
7 years ago
Rossen Georgiev
3bb4937c6b
fix #101 ; refactor steamid.steam64_from_url
8 years ago
Rossen Georgiev
9d6f170823
SteamID: correct steam2 universe handling
- Added additional tests
- fixed code for parsing/outputing steam2 variants
8 years ago
Rossen Georgiev
45f41314fa
steamid: fix exception handling and http_timeout
9 years ago
Rossen Georgiev
c4ecb58d2a
SteamID: added from_url to class + cleanup
* added http_timeout param
* from_url is now available as a static method on SteamID
* added nocache query param when resolving steamid
* recorded new vcr for steamid tests
9 years ago
Rossen Georgiev
452975590d
fix #19 ; use long as base for SteamID under py2
9 years ago
Rossen Georgiev
ddb2fa3261
SteamID: updated steam2 format
* as_steam2 will now return the new format
* added as_steam2_zero format for goldsrc and orange box
* updated tests and docs
9 years ago
Rossen Georgiev
68faaf9218
SteamID inherits from int now
* can be assigned to anything that accepts int
* can be serialized
* easier to work with instead of explicitly asking for int value
10 years ago
Rossen Georgiev
83f7a35940
fixed correctly recognizing str in SteamID init
10 years ago
Rossen Georgiev
ed87854cc8
implemented rich comparison on SteamID
10 years ago
Rossen Georgiev
5db7737c26
move steam2/3 coversions to seperate functions
10 years ago
Rossen Georgiev
28cb3d8eb3
added methods for resolving community urls
10 years ago
Rossen Georgiev
2d24284e85
add test suite for SteamID + enabled travis/cover
fix #2
10 years ago