API-FOOTBALL

FREEMIUM
Verified
By API-SPORTS | Updated 5 days ago | Sports
Popularity

10 / 10

Latency

357ms

Service Level

99%

Health Check

N/A

Back to All Discussions

json with swiftyjson

Rapid account: Nijland
Nijland
5 years ago

how to handle this json iwith swiftyjson:

{
“api” : {
“teams” : {
“199” : {
“logo” : “https://www.api-football.com/public/teams/199.png”,
“team_id” : “199”,
“name” : “De Graafschap”
},
“201” : {
“logo” : “https://www.api-football.com/public/teams/201.png”,
“team_id” : “201”,
“name” : “AZ Alkmaar”
},
“207” : {
“logo” : “https://www.api-football.com/public/teams/207.png”,
“team_id” : “207”,
“name” : “Utrecht”
},
“193” : {
“logo” : “https://www.api-football.com/public/teams/193.png”,
“team_id” : “193”,
“name” : “PEC Zwolle”
},
“205” : {
“logo” : “https://www.api-football.com/public/teams/205.png”,
“team_id” : “205”,
“name” : “Fortuna Sittard”
},
“196” : {
“logo” : “https://www.api-football.com/public/teams/196.png”,
“team_id” : “196”,
“name” : “Excelsior”
},
“208” : {
“logo” : “https://www.api-football.com/public/teams/208.png”,
“team_id” : “208”,
“name” : “Emmen”
},
“203” : {
“logo” : “https://www.api-football.com/public/teams/203.png”,
“team_id” : “203”,
“name” : “NAC Breda”
},
“194” : {
“logo” : “https://www.api-football.com/public/teams/194.png”,
“team_id” : “194”,
“name” : “Ajax”
},
“210” : {
“logo” : “https://www.api-football.com/public/teams/210.png”,
“team_id” : “210”,
“name” : “Heerenveen”
},
“195” : {
“logo” : “https://www.api-football.com/public/teams/195.png”,
“team_id” : “195”,
“name” : “Willem II”
},
“202” : {
“logo” : “https://www.api-football.com/public/teams/202.png”,
“team_id” : “202”,
“name” : “Groningen”
},
“200” : {
“logo” : “https://www.api-football.com/public/teams/200.png”,
“team_id” : “200”,
“name” : “Vitesse”
},
“209” : {
“logo” : “https://www.api-football.com/public/teams/209.svg”,
“team_id” : “209”,
“name” : “Feyenoord”
},
“206” : {
“logo” : “https://www.api-football.com/public/teams/206.png”,
“team_id” : “206”,
“name” : “Heracles”
},
“198” : {
“logo” : “https://www.api-football.com/public/teams/198.png”,
“team_id” : “198”,
“name” : “ADO Den Haag”
},
“197” : {
“logo” : “https://www.api-football.com/public/teams/197.png”,
“team_id” : “197”,
“name” : “PSV Eindhoven”
},
“204” : {
“logo” : “https://www.api-football.com/public/teams/204.png”,
“team_id” : “204”,
“name” : “VVV Venlo”
}
},
“results” : 18
}
}

Join in the discussion - add comment below:

Login / Signup to post new comments