Booking events

Events can be displayed on the trackers only if they are booked before the event starts.
There are three ways of booking event in the system.

  1. Manual booking using administration panel
  2. Auto-booking feature
  3. Booking by API service 

Manual booking

The events can be booked in the administration panel. You will receive credentials to access this area from the STATSCORE administrator during the integration process. 
To book events, you need to log in and go to the coverage module accessible from LivescorePro product area.

Auto-booking

The events can be booked automatically based on competitions which the client can set (this feature will be available soon and each client will be informed about this fact).
For now, auto-booking system is working by default and book every event for every client.

Booking by API service

Another way of booking events is an API method called booked-events.create. This solution can be implemented by programmers on client side and gives the possibility to manage the booked events without need of logging into the panel. You will find more details about this method in the API section.

List of events

The list of events possible to book, as well as events already booked, is provided in the administration panel and also in the special API method called booked-events.index.

Example of the URL address with booked events dedicated to each customer: https://api.statscore.com/v2/booked-events?client_id=2&product=livescorepro
Please find more details about this method in the API method - booked events.

Please note:
The value of client_id should be filled with your individual identifier. You will know this value from STATSCORE administrator during the integration process. 
In this method you will find the proper STATASCORE event id (attribute id) which should be placed in the tracker placeholder code in the data-event attribute.
In this method you will also find your event id (attribute client_event_id) which corresponds with the STATSCORE event id.