Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Commit

Permalink
Update iphorse.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey committed Sep 15, 2015
1 parent a0cf11e commit 13628c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iphorse.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

r = requests.get('http://iphorse.com/json.php')
r.json()['remote_addr']

import yaml
print yaml.safe_dump(r.json(), default_flow_style=False)

0 comments on commit 13628c1

Please sign in to comment.