Thursday, March 30, 2023

live match

 

// Replace YOUR_API_KEY with your CricAPI key const API_KEY = "YOUR_API_KEY"; // Replace MATCH_UNIQUE_ID with the unique ID of the match you want to get scores for const MATCH_UNIQUE_ID = "MATCH_UNIQUE_ID"; // Make a GET request to the CricAPI to get live scores for the match fetch(`https://cricapi.com/api/cricketScore?apikey=${API_KEY}&unique_id=${MATCH_UNIQUE_ID}`) .then(response => response.json()) .then(data => { // Display the live scores in the console console.log(data); }) .catch(error => console.error(error));

match

Live Match Streaming Live Match ...