In this tutorial, we will look at using the Kompili Soccer API odds generator (pre-match and in-play) and display the response in the free web application.
<H1>Step 1: Get your RapidAPI Key</H1>
Sign up to the Kompili Soccer API and get your personal RapidAPI Key
RapidAPI Link: https://rapidapi.com/kompili1/api/kompili-soccer2
<H1>Step 2: Navigate To The Free Web Application</H1>
Access our free soccer web application using the following link:
https://soccerdemo.kompili.com/
<H1>Step 3 : Input The Required Parameters</H1>
Enter values for the following parameters in the appropriate boxes in order to successfully access the API:
Home Probability of Winning
Type: float
Valid Range: >=0.00 and <=1.00
Description: Probability that the home team wins in 90 mins
Away Probability of Winning
Type: float
Valid Range: >=0.00 and <=1.00
Description: Probability that the away team wins in 90 mins
Probability of a Draw
Type: float
Valid Range: >=0.00 and <=1.00
Description: Probability of a draw in 90 mins
Home Goals Expectancy
Type: float
Valid Range: >=0.00 and <=9.00
Description: Home team goal expectancy in 90 mins
Away Goals Expectancy
Type: float
Valid Range: >=0.00 and <=9.00
Description: Away team goal expectancy in 90 mins
Home Goals Scored
Type: Integer
Valid Range: >=0.00 and <=9.00
Description: Total goals currently scored by home team
Away Goals Scored
Type: Integer
Valid Range: >=0.00 and <=9.00
Description: Total goals currently scored by away team
API Key
Your Rapid API Key
<H1>Step 4: Get Results</H1>
Click on ‘Get Results’ to call the API and return the response into the designated markets
<H1>Step 5: Response</H1>
A comprehensive list of markets and submarkets along with their respective response from the API are formed.
The odds display can be changed by selecting the American, Decimal, or Default tabs.
<H1>Step 6: Make Another Call</H1>
Simply repeat steps 3 & 4 to update with input parameter changes pre-match and in-play.