### Kabaddi Play-by-Play API Request Example Source: https://www.cricketapi.com/docs/Kabbadi/Play-By-Play-API Example of a GET request to the Kabaddi Play-by-Play API to fetch match events. Ensure you replace placeholders with actual values. ```bash $ GET https://rest.cricketapi.com/rest/v2/kabaddi/match/{MATCH_KEY}/play_by_play/?access_token=ACCESSTOKEN ``` -------------------------------- ### Example Season Team API Request Source: https://www.cricketapi.com/docs/Core-API/Season-Team-API This snippet shows an example GET request to the Season Team API. Ensure you replace SEASON-KEY, SEASON-TEAM-KEY, and ACCESS-TOKEN with your actual values. ```bash $ GET https://rest.cricketapi.com/rest/v4/season/c.season.rnj.3bf96/team/c.steam.rnj_adr.1933a/?access_token=ACCESS-TOKEN ``` -------------------------------- ### News Aggregation API Request Example Source: https://www.cricketapi.com/docs/Core-API/News-Aggregation-API This example shows how to make a GET request to the News Aggregation API. Ensure you replace ACCESSTOKEN with your valid access token. ```bash GET https://rest.cricketapi.com/rest/v2/news_aggregation/?access_token=ACCESSTOKEN ``` -------------------------------- ### Coverage API Request Example Source: https://www.cricketapi.com/docs/Core-API/Coverage-API This snippet shows how to make a GET request to the Coverage API to retrieve board and competition details. Ensure you replace ACCESSTOKEN with your valid access token. ```bash GET https://rest.cricketapi.com/rest/v4/coverage/?access_token=ACCESSTOKEN ``` -------------------------------- ### Team Timeline API Request Example Source: https://www.cricketapi.com/docs/Bot-And-Performance/Team-Timeline-API Example of a GET request to the Team Timeline API to fetch matches for a specific team, board, and competition. Ensure you replace ACCESSTOKEN with your valid access token. ```bash $ GET https://rest.cricketapi.com/rest/v3/team-timeline/ind/?access_token=ACCESSTOKEN&board=icc&competition=international-t20 ``` -------------------------------- ### Player Stats API Request Example Source: https://www.cricketapi.com/docs/Core-API/Season-Player-Stats-API This example demonstrates how to make a GET request to the Cricket API to fetch player statistics for a specific season and player. Ensure you replace SEASON-KEY and PLAYER-KEY with actual values and provide a valid access token. ```bash $ GET https://rest.cricketapi.com/rest/v4/season/c.season.rnj.3bf96/player/sh_lumba/stats/?access_token=ACCESS-TOKEN ``` -------------------------------- ### Player Performance API Request Example Source: https://www.cricketapi.com/docs/Bot-And-Performance/Player-Performance-API Example of how to request player performance data using the Player Performance API. Ensure you have the correct player key, access token, board, and competition. ```bash $ GET https://rest.cricketapi.com/rest/v3/player-performance/ms_dhoni/?access_token=ACCESSTOKEN&board=icc&competition=international-t20 ``` -------------------------------- ### Auth API Response Example Source: https://www.cricketapi.com/docs/guides/Get-Started This is an example of the JSON response received after successfully calling the Auth API to generate an access token. ```json { "status":true, "version":"2.0.2", "status_code":200, "expires":"-1", "auth":{ "access_token":"2s14XXXX97325301s976461134951486121", "expires":"1521641451.0" }, "Etag":null, "cache_key":"auth|2s14XXXX97325301s976461134951486121|app_id|" } ``` -------------------------------- ### Match API Request Example Source: https://www.cricketapi.com/docs/Core-API/Match-API This example demonstrates how to request full card details for a specific match using the Match API. Ensure you replace ACCESSTOKEN with your valid access token and sltriseriest20_2018_final with the correct match key. ```bash GET https://rest.cricketapi.com/rest/v2/match/sltriseriest20_2018_final/?access_token=ACCESSTOKEN ``` -------------------------------- ### Season Stats API Request Example Source: https://www.cricketapi.com/docs/Core-API/Season-Stats-API Example of a GET request to the Season Stats API endpoint. Ensure you replace 'c.season.rnj.3bf96' with your actual season key and 'ACCESS-TOKEN' with your valid access token. ```bash $ GET https://rest.cricketapi.com/rest/v4/season/c.season.rnj.3bf96/stats/?access_token=ACCESS-TOKEN ``` -------------------------------- ### Fantasy Credit Variation API Request Example Source: https://www.cricketapi.com/docs/Fantasy/Fantasy-Credit-Variation-API This example demonstrates how to call the Fantasy Credit Variation API to retrieve player credit values for a specific match. Ensure you replace MATCH_KEY with the actual match key and provide a valid access token. ```bash curl -X GET \ 'https://rest.cricketapi.com/rest/v3/fantasy-match-credits-variation/MATCH_KEY/?access_token=YOUR_ACCESS_TOKEN' \ -H 'Accept: application/json' ``` -------------------------------- ### Fantasy Match Credit API Request Example Source: https://www.cricketapi.com/docs/Fantasy/Fantasy-Match-Credit-API Example of how to request fantasy match credits for a specific match. Ensure you replace 'triseries_2018_g1' with your match key and 'ACCESSTOKEN' with your valid access token. ```bash $ GET https://rest.cricketapi.com/rest/v3/fantasy-match-credits/triseries_2018_g1/?access_token=ACCESSTOKEN ``` -------------------------------- ### Player Stats API Request Example Source: https://www.cricketapi.com/docs/Core-API/Player-Stats-API This example demonstrates how to request player statistics for a specific player within a league or board. Ensure you replace `{PLAYER_KEY}` and `{LEAGUE_OR_BOARD_KEY}` with actual values and include your `access_token`. ```http GET https://rest.cricketapi.com/rest/v2/player/{PLAYER_KEY}/league/{LEAGUE_OR_BOARD_KEY}/stats/?access_token=YOUR_ACCESS_TOKEN ``` -------------------------------- ### Example Full Card Object Source: https://www.cricketapi.com/docs/Reference/Card-Objects This snippet shows a comprehensive example of a card object, detailing player dismissals, bowling statistics, and identified roles within a match. ```json { "balls": 4, "dismissed_at": { "team_runs": 184, "over": 20, "ball": 5, "wicket_index": 6, "ball_key": "1d747dd8-d6a8-4e3a-9a3a-b03022b93775" }, "fours": 1, "strike_rate": 400.0, "dismissed": true, "out_str": "c MK Pandey b UT Yadav", "ball_of_dismissed": { "comment": "UT Yadav to STR Binny: Wicket!, Caught by . No runs.", "wicket_type": "catch", "over": 20, "ball": "5", "highlight_names_keys": [ [ "over_end", "s_binny" ], [ "catch", "s_binny" ] ], "innings": "1", "wagon_position": null, "wicket": "s_binny", "match": "iplt20_2016_g30", "status": "played", "updated": "2016-05-02T16:04:22.070000", "ball_type": "normal", "batsman": { "runs": 0, "dotball": 1, "six": 0, "four": 0, "ball_count": 1, "key": "s_binny" }, "striker": "s_binny", "batting_team": "a", "fielder": { "catch": 1, "runout": 0, "key": "m_pandey", "stumbed": 0 }, "nonstriker": "s_watson", "runs": 0, "bowler": { "runs": 0, "extras": 0, "ball_count": 1, "key": "u_yadav", "wicket": 1 }, "over_str": "19.5", "extras": "0", "team": { "runs": 0, "extras": 0, "ball_count": 1, "wicket": 1 } } }, "bowling": { "dots": 4, "runs": 17, "balls": 12, "maiden_overs": 0, "wickets": 1, "extras": 0, "overs": "2.0", "economy": 8.5 } } } }, "identified_roles": { "keeper": false, "bowler": true, "batsman": true } }, "s_aravind": { "fullname": "Sreenath Aravind", "name": "S Aravind", "match": { "innings": { "1": { "fielding": {}, } } }, "identified_roles": { "keeper": false, "bowler": true, "batsman": true } } } } } } ``` -------------------------------- ### Cricket Match Over Summary API Request Source: https://www.cricketapi.com/docs/Core-API/Overs-Summary-API Example GET request to fetch the over summary for a specific match. Ensure you replace ACCESSTOKEN with your valid access token. ```bash $ GET https://rest.cricketapi.com/rest/v2/match/sltriseriest20_2018_final/overs_summary/?access_token=ACCESSTOKEN ``` -------------------------------- ### Another Innings Object Example Source: https://www.cricketapi.com/docs/Reference/Innings-Object This example illustrates another Innings Object, similar to the previous one but with a different match key and an empty string for winner_team. ```json "dev_season_2014_q8": { "status": "started", "related_name": "8th Qualifying Match", "expires": 1, "name": "Team X vs Team Y", "short_name": "TX vs TY", "title": "Team X vs Team Y - 8th Qualifying Match - Developer season 2014", "season": { "name": "Developer season 2014" }, "format": "t20", "venue": "India", "teams": { "a": { "name": "Team X", "key": "tx" }, "b": { "name": "Team Y", "key": "ty" } }, "winner_team": "", "key": "dev_season_2014_q8", "msgs": { "others": [] }, "ref": "http://www.litzscore.com/series/dev_season_2014/dev_season_2014_q8/", "start_date": { "iso": "2014-09-24T00:00+00:00" } } ``` -------------------------------- ### Batting Order Example Source: https://www.cricketapi.com/docs/Reference/Properties Illustrates the format for specifying the batting order of teams and their innings. ```javascript batting_order: [ [ "b", "1" ], [ "a", "1" ] ] ``` -------------------------------- ### Example Season Object Data Source: https://www.cricketapi.com/docs/Reference/Season-Object This is an example of a Season Object, showing the structure and typical data fields for a season, including match details and team information. ```json { "status": true, "version": "2.0.3", "status_code": 200, "expires": "1454005902.0", "Etag": null, "cache_key": "season|dev_season_2014|micro_card", "data": { "card_type": "micro_card", "season": { "card_name": "DEV SEASON 2014", "name": "DEV SEASON 2014", "matches": { "dev_season_2014_q1": { "status": "completed", "related_name": "1st Qualifying Match", "expires": 10800.0, "name": "Team X vs Team Y", "short_name": "TX vs TY", "title": "Team X vs Team Y - 1st Qualifying Match - Developer season 2014", "season": { "name": "Developer season 2014" }, "format": "t20", "venue": "India", "approx_completed_ts": 1411533751, "teams": { "a": { "name": "Team X", "key": "tx" }, "b": { "name": "Team Y", "key": "ty" } }, "winner_team": "", "key": "dev_season_2014_q1", "msgs": { "info": "Match Canceled due to Rain.", "completed": "Match Canceled due to Rain.", "others": [] }, "ref": "http://www.litzscore.com/series/dev_season_2014/dev_season_2014_q1/", "start_date": { "iso": "2014-10-01T00:00+00:00" } }, "dev_season_2014_q2": { "status": "completed", "related_name": "2nd Qualifying Match", "expires": 10800.0, "name": "Team X vs Team Y", "short_name": "TX vs TY", "title": "Team X vs Team Y - 2nd Qualifying Match - Developer season 2014", "season": { "name": "Developer season 2014" }, "format": "t20", "venue": "India", "approx_completed_ts": null, "teams": { "a": { "name": "Team X", "key": "tx" }, "b": { "name": "Team Y", "key": "ty" } }, "winner_team": "", "key": "dev_season_2014_q2", "msgs": { "info": "Match Abandoned due to Rain.", "completed": "Match Abandoned due to Rain.", "others": [] }, "ref": "http://www.litzscore.com/series/dev_season_2014/dev_season_2014_q2/", "start_date": { "iso": "2014-09-24T00:00+00:00" } }, "dev_season_2014_q3": { "status": "completed", "related_name": "3rd Qualifying Match", "expires": 10800.0, "name": "Team X vs Team Y", "short_name": "TX vs TY", "title": "Team X vs Team Y - 3rd Qualifying Match - Developer season 2014", "season": { "name": "Developer season 2014" }, "format": "t20", "venue": "India", "approx_completed_ts": null, "teams": { "a": { "name": "Team X", "key": "tx" }, "b": { "name": "Team Y", "key": "ty" } }, "winner_team": "a", "key": "dev_season_2014_q3" } } } } } ``` -------------------------------- ### Example Full Card Object Source: https://www.cricketapi.com/docs/Reference/Card-Objects This snippet shows a comprehensive example of a card object, detailing a player's batting, bowling, and fielding statistics for a specific innings, including dismissal information. ```json { "strike_rate": 161.9, "dismissed": true, "out_str": "runout MK Pandey", "ball_of_dismissed": { "comment": "", "wicket_type": "runout", "over": 20, "ball_type": "normal", "highlight_names_keys": [], "innings": "1", "wagon_position": null, "wicket": "s_watson", "match": "iplt20_2016_g30", "status": "played", "updated": "2016-05-02T16:05:27.958000", "ball": "6", "batsman": { "runs": 1, "dotball": 0, "six": 0, "four": 0, "ball_count": 1, "key": "s_watson" }, "striker": "s_watson", "batting_team": "a", "fielder": { "catch": 0, "runout": 1, "key": "m_pandey", "stumbed": 0 }, "nonstriker": "v_aaron", "runs": 1, "bowler": { "runs": 1, "extras": 0, "ball_count": 1, "key": "u_yadav", "wicket": 0 }, "over_str": "19.6", "extras": "0", "team": { "runs": 1, "extras": 0, "ball_count": 1, "wicket": 1 } } }, "bowling": { "dots": 2, "runs": 38, "balls": 18, "maiden_overs": 0, "wickets": 1, "extras": 0, "overs": "3.0", "economy": 12.67 } } } }, "identified_roles": { "keeper": false, "bowler": true, "batsman": true } }, "v_kohli": { "fullname": "Virat Kohli", "name": "V Kohli", "match": { "innings": { "1": { "fielding": { "catches": 1, "runouts": 0, "stumbeds": 0 }, "batting": { "dots": 10, "sixes": 0, "runs": 52, "balls": 44, "dismissed_at": { "team_runs": 129, "over": 17, "ball": 4, "wicket_index": 4, "ball_key": "a7c70621-a25c-42a7-813c-4fb0d21b5878" }, "fours": 4, "strike_rate": 118.18, "dismissed": true, ``` -------------------------------- ### Example Season Object Data Source: https://www.cricketapi.com/docs/Reference/Season-Object This JSON snippet shows an example of a season object, including details for specific matches like 'dev_season_2014_q7'. It outlines match status, names, dates, teams, and venue. ```json { "dev_season_2014_q7": { "status": "notstarted", "related_name": "7th Qualifying Match", "expires": 10800.0, "name": "Team X vs TBC", "short_name": "TX vs TBC", "title": "Team X vs TBC - 7th Qualifying Match - Developer season 2014", "season": { "name": "Developer season 2014" }, "format": "t20", "venue": "India", "teams": { "a": { "name": "Team X", "key": "tx" }, "b": { "name": "Team Y", "key": "ty" } }, "winner_team": null, "key": "dev_season_2014_q7", "msgs": { "others": [] }, "ref": "http://www.litzscore.com/series/dev_season_2014/dev_season_2014_q7/", "start_date": { "iso": "2014-09-26T00:00+00:00" } }, "dev_season_2014_q8": { "status": "started", "related_name": "8th Qualifying Match", "expires": 1, "name": "Team X vs Team Y", "short_name": "TX vs TY", "title": "Team X vs Team Y - 8th Qualifying Match - Developer season 2014", "season": { "name": "Developer season 2014" }, "format": "t20", "venue": "India", "teams": { "a": { "name": "Team X", "key": "tx" }, "b": { "name": "Team Y", "key": "ty" } }, "winner_team": "", "key": "dev_season_2014_q8", "msgs": { "others": [] }, "ref": "http://www.litzscore.com/series/dev_season_2014/dev_season_2014_q8/", "start_date": { "iso": "2014-09-24T00:00+00:00" } }, "dev_season_2014_q9": { "status": "started", "related_name": "9th Qualifying Match", "expires": 1, "name": "Team X vs Team Y", "short_name": "TX vs TY", "title": "Team X vs Team Y - 9th Qualifying Match - Developer season 2014", "season": { "name": "Developer season 2014" }, "format": "t20", "venue": "India", "teams": { "a": { "name": "Team X", "key": "tx" }, "b": { "name": "Team Y", "key": "ty" } }, "winner_team": "", "key": "dev_season_2014_q9", "msgs": { "others": [] }, "ref": "http://www.litzscore.com/series/dev_season_2014/dev_season_2014_q9/", "start_date": { "iso": "2014-09-24T00:00+00:00" } } } ``` -------------------------------- ### Example Card Object Structure Source: https://www.cricketapi.com/docs/Reference/Card-Objects Illustrates the basic structure of a card object, showing player identification and match-related statistics. ```json { "1": { "fielding": {}, "batting": { "dismissed": false }, "bowling": {} } } ``` -------------------------------- ### Get Season Details Source: https://www.cricketapi.com/docs/Core-API/Season-API Retrieves detailed information about a specific season, including its start date, team information, match keys, and results. ```APIDOC ## GET /season/{SEASON_KEY}/ ### Description Retrieves detailed information about a specific season, including its start date, team information, match keys, and results. ### Method GET ### Endpoint https://rest.cricketapi.com/rest/v4/season/{SEASON_KEY}/ ### Parameters #### Query Parameters - **access_token** (string) - Required - Access token for authentication. ### Request Example ``` $ GET https://rest.cricketapi.com/rest/v4/season/c.season.rnj.3bf96/?access_token=ACCESS-TOKEN ``` ### Response #### Success Response (200) - **data.card_type** (string) - Card type associated with the response. - **data.season** (object) - An object containing information about the requested season. ``` -------------------------------- ### Player Data Example Source: https://www.cricketapi.com/docs/Fantasy/Fantasy-Credit-Variation-API Shows the structure of player data, including identified roles, seasonal roles, and basic player information. ```json { "keeper": false, "bowler": true, "batsman": true }, "seasonal_role": "allrounder", "key": "w_s_molineux", "fullname": "Sophie Molineux", "team_key": "b", "name": "Sophie Molineux" }, "w_s_ecclestone": { "identified_roles": { "keeper": false, "bowler": true, "batsman": false }, "seasonal_role": "bowler", "key": "w_s_ecclestone", "fullname": "Sophie Ecclestone", "team_key": "a", "name": "Sophie Ecclestone" }, "w_k_cross": { "identified_roles": { "keeper": false, "bowler": true, "batsman": false }, "seasonal_role": "bowler", "key": "w_k_cross", "fullname": "Kate Cross", "team_key": "a", "name": "Kate Cross" }, "w_a_jones": { "identified_roles": { "keeper": true, "bowler": false, "batsman": true }, "seasonal_role": "keeper", "key": "w_a_jones", "fullname": "Amy Ellen Jones", "team_key": "a", "name": "Amy Ellen Jones" }, "w_el_perry": { "identified_roles": { "keeper": false, "bowler": true, "batsman": true }, "seasonal_role": "allrounder", "key": "w_el_perry", "fullname": "Ellyse Perry", "team_key": "b", "name": "Ellyse Perry" }, "w_el_villani": { "identified_roles": { "keeper": false, "bowler": false, "batsman": true }, "seasonal_role": "batsman", "key": "w_el_villani", "fullname": "Elyse Villani", "team_key": "b", "name": "Elyse Villani" }, "w_ta_beaumont": { "identified_roles": { "keeper": false, "bowler": false, "batsman": true }, "seasonal_role": "batsman", "key": "w_ta_beaumont", "fullname": "Tammy Beaumont", "team_key": "a", "name": "Tammy Beaumont" }, "w_a_shrubsole": { "identified_roles": { "keeper": false, "bowler": true, "batsman": false }, "seasonal_role": "bowler", "key": "w_a_shrubsole", "fullname": "Anya Shrubsole", "team_key": "a", "name": "Anya Shrubsole" } ``` -------------------------------- ### Fantasy Points Data Example Source: https://www.cricketapi.com/docs/Fantasy/Fantasy-Credit-Variation-API Illustrates the structure for fantasy points, including credit values, match dates, and overall/recent performance statistics. ```json { "original_credit_value": 10, "last_updated_match_date": "2019-07-18T10:00:00", "season_points": 0.0, "credit_src": "variant", "overall": { "average_points_per_match": 0.0, "rank": 417, "points": 0.0 }, "player": "w_tay_vlaeminck", "rank_in_match": 1, "credit_value": 12.0, "recent": { "average_points_per_match": 0.0, "rank": 185, "points": 0.0 } }, { "original_credit_value": 10, "last_updated_match_date": "2019-07-18T10:00:00", "season_points": 0.0, "credit_src": "variant", "overall": { "average_points_per_match": 0.0, "rank": 417, "points": 0.0 }, "player": "w_el_villani", "rank_in_match": 2, "credit_value": 13.0, "recent": { "average_points_per_match": 0.0, "rank": 185, "points": 0.0 } }, { "original_credit_value": 10, "last_updated_match_date": "2019-07-18T10:00:00", "season_points": 0.0, "credit_src": "variant", "overall": { "average_points_per_match": 0.0, "rank": 417, "points": 0.0 }, ``` -------------------------------- ### Innings Object Example Source: https://www.cricketapi.com/docs/Reference/Innings-Object This snippet shows a partial structure of an Innings Object, highlighting match details like teams, winner, key, messages, reference URL, and start date. ```json { "a": { "name": "Team X", "key": "tx" }, "b": { "name": "Team Y", "key": "ty" } }, "winner_team": null, "key": "dev_season_2014_q7", "msgs": { "others": [] }, "ref": "http://www.litzscore.com/series/dev_season_2014/dev_season_2014_q7/", "start_date": { "iso": "2014-09-26T00:00+00:00" } } ``` -------------------------------- ### Get Board Schedule with Month Parameter Source: https://www.cricketapi.com/docs/Core-API/Schedule-API Retrieve the schedule for a specific board and month. Replace BOARD-KEY, ACCESS-TOKEN, and YYYY-MM with appropriate values. ```bash $GET http://rest.cricketapi.com/rest/v4/board/BOARD-KEY/schedule/?access_token=ACCESS-TOKEN&month={YYYY-MM} ``` -------------------------------- ### Get Match Metric 101 Details Source: https://www.cricketapi.com/docs/Core-API/Match-API Retrieves comprehensive match details using the 'metric_101' card type. This includes squad information, start times, dates, and live scores during the match. ```APIDOC ## GET /rest/v4/match/{MATCH-KEY}/ ### Description Retrieves comprehensive match details using the 'metric_101' card type. This includes squad information, start times, dates, and live scores during the match. ### Method GET ### Endpoint https://rest.cricketapi.com/rest/v4/match/MATCH-KEY/ ### Parameters #### Query Parameters - **access_token** (string) - Required - Your API access token. - **card_type** (string) - Required - Set to 'metric_101' to get metric 101 details. ### Response #### Success Response (200) - **data.card** (object) - Gives the complete details of the match like match squad, match start time, date, and short description about the match. During the live match, it gives the live scores. ### Request Example ``` $ GET https://rest.cricketapi.com/rest/v4/match/c.match.2nd_match.eae4f/?access_token=ACCESS-TOKEN&card_type=metric_101 ``` ``` -------------------------------- ### Kabaddi Match API Request (Micro Card) Source: https://www.cricketapi.com/docs/Kabbadi/Match-API Example of a GET request to the Kabaddi Match API to retrieve match details using the micro_card type. Ensure you replace ACCESSTOKEN with your valid access token. ```bash $ GET https://rest.cricketapi.com/rest/v2/kabaddi/match/pkl_2017_g4/?access_token=ACCESSTOKEN ``` -------------------------------- ### Get Season Details Source: https://www.cricketapi.com/docs/Core-API/Season-API Retrieve season details by making a GET request to the season endpoint. Ensure you include your access token. ```bash $ GET https://rest.cricketapi.com/rest/v4/season/c.season.rnj.3bf96/?access_token=ACCESS-TOKEN ``` -------------------------------- ### Get Season Points Request Source: https://www.cricketapi.com/docs/Core-API/Season-Points-API Use this GET request to retrieve the points for all teams in a specific season. Ensure you provide a valid SEASON_KEY and your access_token. ```bash $ GET http://rest.cricketapi.com/rest/v4/season/c.season.rnj.3bf96/points/?access_token=2s153724147994715s1209415467660357081 ``` -------------------------------- ### ChatBot API Request Example Source: https://www.cricketapi.com/docs/Bot-And-Performance/ChatBot-API This cURL command demonstrates how to send a query to the ChatBot API to retrieve information about a player's performance against a specific team. Ensure you replace ACCESS_TOKEN and USER with your actual credentials. ```bash $ curl -X POST \ -d "text=Best score of Virat vs Australia" \ -d "user=USER" \ -d "utc_offset=+19800" \ -d "access_token=ACCESS_TOKEN" \ https://rest.cricketapi.com/rest/v3/bot/ ``` -------------------------------- ### Get Season Points Data Source: https://www.cricketapi.com/docs/Core-API/Season-Points-API Use this GET request to retrieve the points table for a specific season. Ensure you provide a valid SEASON_KEY and your access token. ```bash $ GET https://rest.cricketapi.com/rest/v2/season/sltriseriest20_2018/points/?access_token=ACCESSTOKEN ``` -------------------------------- ### Player Credit Variation Example Source: https://www.cricketapi.com/docs/Fantasy/Fantasy-Credit-Variation-API This snippet shows the structure of player data, including credit values and recent performance statistics. It is useful for understanding how player valuations are presented. ```json { "player": "w_as_gardner", "rank_in_match": 3, "credit_value": 12.0, "recent": { "average_points_per_match": 0.0, "rank": 185, "points": 0.0 } } ``` ```json { "original_credit_value": 9.5, "last_updated_match_date": "2019-07-18T10:00:00", "season_points": 0.0, "credit_src": "variant", "overall": { "average_points_per_match": 0.0, "rank": 417, "points": 0.0 }, "player": "w_ra_haynes", "rank_in_match": 4, "credit_value": 8.0, "recent": { "average_points_per_match": 0.0, "rank": 185, "points": 0.0 } } ``` ```json { "last_updated_match_date": "2019-07-18T10:00:00", "season_points": 0.0, "credit_src": "roanuz", "overall": { "average_points_per_match": 0.0, "rank": 417, "points": 0.0 }, "player": "w_ta_beaumont", "rank_in_match": 5, "credit_value": 9.5, "recent": { "average_points_per_match": 0.0, "rank": 185, "points": 0.0 } } ``` ```json { "original_credit_value": 9.5, "last_updated_match_date": "2019-07-18T10:00:00", "season_points": 0.0, "credit_src": "variant", "overall": { "average_points_per_match": 0.0, "rank": 417, "points": 0.0 }, "player": "w_fr_wilson", "rank_in_match": 6, "credit_value": 11.0, "recent": { "average_points_per_match": 0.0, "rank": 185, "points": 0.0 } } ``` ```json { "original_credit_value": 9.5, "last_updated_match_date": "2019-07-18T10:00:00", "season_points": 0.0, "credit_src": "variant", "overall": { "average_points_per_match": 0.0, "rank": 417, "points": 0.0 }, "player": "w_na_sciver", "rank_in_match": 7, "credit_value": 10.0, "recent": { "average_points_per_match": 0.0, "rank": 185, "points": 0.0 } } ``` ```json { "last_updated_match_date": "2019-07-18T10:00:00", "season_points": 0.0, "credit_src": "roanuz", "overall": { "average_points_per_match": 0.0, "rank": 417, "points": 0.0 }, "player": "w_la_marsh", "rank_in_match": 8, "credit_value": 9, "recent": { "average_points_per_match": 0.0, "rank": 185, "points": 0.0 } } ``` ```json { "last_updated_match_date": "2019-07-18T10:00:00", "season_points": 0.0, "credit_src": "roanuz", "overall": { "average_points_per_match": 0.0, "rank": 417, "points": 0.0 }, "player": "w_a_shrubsole", "rank_in_match": 9, "credit_value": 9, "recent": { "average_points_per_match": 0.0, "rank": 185, "points": 0.0 } } ``` ```json { "original_credit_value": 9, "last_updated_match_date": "2019-07-18T10:00:00", "season_points": 0.0, "credit_src": "variant", "overall": { "average_points_per_match": 0.0, "rank": 417, "points": 0.0 }, "player": "w_be_mooney", "rank_in_match": 10, "credit_value": 8.0, "recent": { "average_points_per_match": 0.0, "rank": 185, "points": 0.0 } } ``` ```json { "last_updated_match_date": "2019-07-18T10:00:00", "season_points": 0.0, "credit_src": "roanuz", "overall": { "average_points_per_match": 0.0, "rank": 417, "points": 0.0 } } ``` -------------------------------- ### Example Full Card Object Structure Source: https://www.cricketapi.com/docs/Reference/Card-Objects Illustrates the complete structure of a card object, showing nested details for player roles, match innings, batting, bowling, and fielding statistics. ```json { "over_str": "0.6", "extras": "0", "team": { "runs": 0, "extras": 0, "ball_count": 1, "wicket": 1 } } }, "bowling": {} } } }, "identified_roles": { "keeper": false, "bowler": false, "batsman": true } }, "c_munro": { "fullname": "Colin Munro", "name": "C Munro", "match": { "innings": { "1": { "fielding": {}, "batting": { "dismissed": false }, "bowling": {} } } }, "identified_roles": { "keeper": false, "bowler": false, "batsman": true } }, "p_dubey": { "fullname": "Praveen Dubey", "name": "Praveen Dubey", "match": { "innings": { "1": { "fielding": {}, "batting": { "dismissed": false }, "bowling": {} } } }, "identified_roles": { "keeper": false, "bowler": true, "batsman": false } }, "a_nechim": { "fullname": "Abu Nechim", "name": "AN Nechim", "match": { "innings": { "1": { "fielding": {}, "batting": { "dismissed": false }, "bowling": {} } } }, "identified_roles": { "keeper": false, "bowler": true, "batsman": false } }, "a_milne": { "fullname": "Adam Milne", "name": "Adam Milne", "match": { "innings": { "1": { "fielding": {}, "batting": { "dismissed": false }, "bowling": {} } } }, "identified_roles": { "keeper": false, "bowler": true, "batsman": false } }, "v_malik": { "fullname": "Vikramjeet Malik", "name": "VS Malik", "match": { "innings": { "1": { "fielding": {}, "batting": { "dismissed": false }, "bowling": {} } } }, "identified_roles": { "keeper": false, "bowler": true, "batsman": false } }, "y_pathan": { "fullname": "Yusuf Pathan", "name": "YK Pathan", "match": { "innings": { "1": { "fielding": { "catches": 1, "runouts": 0, "stumbeds": 0 }, ``` -------------------------------- ### Example Card Object Structure Source: https://www.cricketapi.com/docs/Reference/Card-Objects Illustrates the structure of a card object for a player, including their match innings data and identified roles. ```json "match": { "innings": { "1": { "fielding": {}, "batting": { "dismissed": false }, "bowling": {} } } }, "identified_roles": { "keeper": false, "bowler": false, "batsman": true } ```