This tutorial explains the final step in getting the current livescore for football/soccer games.
In order to get the current livescores using our API, you need to be registered, subscribed, and have gotten an api key and secret pair. If you do not one you can follow tutorial on getting them.
To get the livescores you have to send a
HTTP GET request to the following:
/scores/live. and after the dot you need to provide the format of the response that you want to get. In case you do not provide an extension it will be in JSON format. Currently, we provide data feeds in JSON, XML, CSV, and RSS formats. Here is the full list of urls that you can call to get the score of the football matches that are being played currently:
/scores/live.json- This request will give you livescores in JSON format.
/scores/live.xml- This request will give you livescores in XML format.
/scores/live.csv- This request will give you livescores in CSV format.
/scores/live.rss- This request will give you livescores in RSS format.
We support four response formats JSON, XML, CSV, and RSS. If you want to find out more about our response formats you can visit our documentation reference on formats. Bellow we have listed a JSON examples of a response, but for more detailed explanation of the response you should read our livescore endpoint reference.
"away_name":"Vitoria de Guimaraes",
"score":"0 - 1",
"home_name":"Patronato de Parana",
"score":"1 - 1",