Last active
August 29, 2015 14:02
-
-
Save paganre/83b3470c79476510f47a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base = 'http://live.mobileapp.fifa.com/api/wc/' | |
all matches: | |
base+'matches' | |
all teams: | |
base+'teams' | |
team: | |
base+'team/{ID}/en' | |
player: | |
base+'player/{ID}/en' | |
match: | |
base+'match/{ID}/en' |
GET http://live.mobileapp.fifa.com/api/wc/matches
in the json response : ['data']['group'] will give you an array of match datas, match IDs are given with the key n_MatchID.. quick python script using requests lib:
gr = requests.get('http://live.mobileapp.fifa.com/api/wc/matches').json()['data']['group']
match_ids = [m['n_MatchID'] for m in gr]
these are for the group stages
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can't find the list of match id's anywhere