Skip to content

Instantly share code, notes, and snippets.

@jayunit100
Created February 19, 2015 04:36
Show Gist options
  • Save jayunit100/65db530218c0ac551b45 to your computer and use it in GitHub Desktop.
Save jayunit100/65db530218c0ac551b45 to your computer and use it in GitHub Desktop.
import sys,json
data=json.loads(sys.stdin.read())
for x in range(0,4):
s=data["items"][x]["endpoints"]
print s[0].encode('utf8')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment