How to create a live-score website

In this video tutorial, we show you how to start creating a live-score website using our football API. We focus on the development environment, source code repository, and then getting the current live scores.

Download from our source code starter packages to speed up your development process. Choose from technologies and programming languages like: PHP, Python, NodeJS, React, ReactNative and more.


1. Configuration

Before we are able to begin our series on how to create a live score website, we need to configure our website with the proper API key and secret (which you can get from your profile) and also the MySQL database location and credentials.



2. Create cache table

We need to create the database table where we are going to store the responses from the live-score-api.com servers. This way, we will provide faster response to the visitors of the website and also save on our hourly request quota.



3. Getting the live scores

Finally, we add source code in the index.php file that will use the PHP class provided in the repository (LiveScoreApi). This class will take care for all the caching and calling of our live score api services as well as all other football api services.


4. Next Step

How to create a livescore website (Part 2)