Skip to content

Commit

Permalink
added SteamID outputs to README
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed Jul 5, 2015
1 parent 2e82808 commit 0c5b293
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,18 @@ SteamID
>>> SteamID('http://steamcommunity.com/profiles/76561197968459473') # no request is made
SteamID(id=8193745, type='Individual', universe='Public', instance=1)
>>> group = SteamID('[g:1:4]')
>>> group.id # accountid
4
>>> group.as_steam3
'[g:1:4]'
>>> group.as_32
'STEAM_0:0:2'
>>> group.as_64
103582791429521412
>>> group.community_url
'http://steamcommunity.com/gid/103582791429521412'
.. _Steam: http://steampowered.com/
2 changes: 2 additions & 0 deletions steam/SteamID.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
class SteamID(object):
"""
Object for converting steamID to its' various representations
https://developer.valvesoftware.com/wiki/SteamID
"""
# Enums

Expand Down

0 comments on commit 0c5b293

Please sign in to comment.