Python

 

Matches List 

 

...

apikey = "%APIKEY%"

response = requests.get("https://api.cricapi.com/v1/matches?apikey="+apikey+"&offset=0")

...

Replace %APIKEY% with your Cricket Data API key 

Series Info

 

...

apikey = "%APIKEY%"

response = requests.get("https://api.cricapi.com/v1/series_info?apikey="+apikey+"&offset=0&id="+id)

...

Replace %APIKEY% with your Cricket Data API key 

Player Search

 

...

apikey = "%APIKEY%"

response = requests.get("https://api.cricapi.com/v1/playersapikey="+apikey+"&offset=0&search"+playerName)

...

Replace %APIKEY% with your Cricket Data API key 

Fantasy Scorecard

 

...

apikey = "%APIKEY%"

response = requests.get("https://api.cricapi.com/v1/match_scorecard?apikey="+apikey+"&offset=0&id="+id)

...

 

Replace %APIKEY% with your Cricket Data API key 

Fantasy Match Points

 

...

apikey = "%APIKEY%"

response = requests.get("https://api.cricapi.com/v1/match_points?apikey="+apikey+"&id="+id)

...

Replace %APIKEY% with your Cricket Data API key 

Fantasy Match Squad

 

...

apikey = "%APIKEY%"

response = requests.get(""https://api.cricapi.com/v1/match_squad?apikey=apikey&id=match_id)

...

Replace %APIKEY% with your Cricket Data API key