Skip to content

Instantly share code, notes, and snippets.

View TheBB's full-sized avatar
🏠
Working from home

Eivind Fonn TheBB

🏠
Working from home
View GitHub Profile
@TheBB
TheBB / gist:be84c8061f5eed050963
Last active August 29, 2015 14:02 — forked from MB6/WC1
import requests
resp = requests.get('http://worldcup.sfg.io/matches')
for jogo in (j for j in requests.get('http://worldcup.sfg.io/matches').json() if j['status'] == 'completed'):
print jogo['home_team']['country'], jogo['home_team']['goals'], 'x', jogo['away_team']['country'], jogo['away_team']['goals']