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 14, 2015
1 parent 63cb5c5 commit a0cf11e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions iphorse.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import requests
import json

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

0 comments on commit a0cf11e

Please sign in to comment.