Skip to content

Instantly share code, notes, and snippets.

@ciferkey
Created September 4, 2011 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ciferkey/1193387 to your computer and use it in GitHub Desktop.
Save ciferkey/1193387 to your computer and use it in GitHub Desktop.
import urllib2
import re
xml = urllib2.urlopen("http://steamcommunity.com/id/ciferkey/?xml=1").read()
re.search("<steamID64>(\d+)</steamID64>", xml).group(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment