Before starting to integrate, we strongly advise you to read the sports-based API documentation first and take a little look into Glossary to build your project fast and healthy. And also, please don’t forget to use the API URL, Keys, and Language Id from a config file, so any changes in these elements will not affect your project :)
Let’s GO!
We tried to define simply a few steps for the integration.
Firstly, you have to set up your database and get the data from API and deliver the data from your database to your clients. If you don’t set up your database and directly connect the client to API, your application will not work healthy and cause to the updating issues. Because API is limited to 50 calls per second. So, if you directly connected the clients to API, you would get a lot of blocked requests and your application would look like out of date. That’s why we strongly advise you to build your database and feed the clients from your database.
Secondly, you should use our IDs in your database, please not create your own IDs. This will help to work your system properly and keep away you from updating issues.
Thirdly, after the shaping of your database, you should start to get the main objects from the global endpoints which are listed below.
- global/sport/list
- global/round/list
- global/country/list
- global/status/list
Lastly, you should get the coverage which means your tournament list via “{sportName}/tournament/list” and then full these tournaments via “{sportName}/tournament/info” for the details. After the getting of the tournaments info, you can full the tournaments with matches via /tournament/fixture/ endpoints.
Comments
0 comments
Please sign in to leave a comment.