{"info":{"_postman_id":"3c083f04-caa2-47b7-b8d1-c4ca4e15930f","name":"Football Stat Collector","description":"<html><head></head><body><p>This API allows you to collect statistics about Soccer such as information about teams, their records, matches, and players.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"17673920","collectionId":"3c083f04-caa2-47b7-b8d1-c4ca4e15930f","publishedId":"UUy3A7CS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-10-03T18:47:56.000Z"},"item":[{"name":"Teams","item":[{"name":"A page of teams","event":[{"listen":"test","script":{"id":"f672e979-1b9b-43c1-b039-3db70f4feabd","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","pm.test(\"Body contains string\", function () {\r","    pm.expect(pm.response.text()).to.include(\"teams\");\r","});\r","pm.test(\"Team 1 name\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData[\"teams\"][0].team_name).to.eql(\"Orlando City SC\");\r","});"],"type":"text/javascript"}}],"id":"460550d8-8e20-42d0-9f4b-3df0900d652e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.football-stats.me/teams?team_id=<int32>&team_name=<String>&team_country=<String>&team_founded=<int32>&team_logoLink=<String>&team_league=<String>&team_record=<String>&team_goals=<int32>&team_formation=<int32>&team_venueCity=<String>&team_venueSurface=<String>&team_venueCapacity=<int32>&team_venueName=<String>&team_form=<String>&team_goalsForAverage=<String>&team_goalsAgainstAverage=<String>&team_penaltyPercentage=<String>&team_video=<String>","urlObject":{"protocol":"https","path":["teams"],"host":["api","football-stats","me"],"query":[{"key":"team_id","value":"<int32>"},{"key":"team_name","value":"<String>"},{"key":"team_country","value":"<String>"},{"key":"team_founded","value":"<int32>"},{"key":"team_logoLink","value":"<String>"},{"key":"team_league","value":"<String>"},{"key":"team_record","value":"<String>"},{"key":"team_goals","value":"<int32>"},{"key":"team_formation","value":"<int32>"},{"key":"team_venueCity","value":"<String>"},{"key":"team_venueSurface","value":"<String>"},{"key":"team_venueCapacity","value":"<int32>"},{"key":"team_venueName","value":"<String>"},{"key":"team_form","value":"<String>"},{"key":"team_goalsForAverage","value":"<String>"},{"key":"team_goalsAgainstAverage","value":"<String>"},{"key":"team_penaltyPercentage","value":"<String>"},{"key":"team_video","value":"<String>"}],"variable":[]}},"response":[{"id":"b5ef69d0-1688-4dc4-b3a0-81b9930e0ceb","name":"A page of teams","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.football-stats.me/teams"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"teams\": {\n        \"team_id\": 125,\n        \"team_name\": \"Liverpool\",\n        \"team_country\": \"England\",\n        \"team_founded\": 1892,\n        \"team_logoLink\": \"https://media.api-sports.io/football/teams/40.png\",\n        \"team_league\": \"Premier League\",\n        \"team_record\": \"4-0-2\",\n        \"team_goals\": 15,\n        \"team_formation\": \"4-3-3\",\n        \"team_venueCity\": \"Anfield\",\n        \"team_venueSurface\": \"grass\",\n        \"team_venueCapacity\": 55212,\n        \"team_venueName\": \"Anfield\",\n        \"team_form\": \"WWDWWDD\",\n        \"team_goalsForAverage\": \"2.4\",\n        \"team_goalsAgainstAverage\": \"0.9\",\n        \"team_penaltyPercentage\": \"100.00%\",\n        \"team_video\": \"https://www.youtube.com/watch?v=7UHmH5Dmsg4\"\n    }\n}"}],"_postman_id":"460550d8-8e20-42d0-9f4b-3df0900d652e"},{"name":"The team with the given id","event":[{"listen":"test","script":{"id":"c0fd54ed-c02e-4b7e-aae6-336fe77b327f","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","pm.test(\"Team name with given id\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.team_name).to.eql(\"Estac Troyes\");\r","});"],"type":"text/javascript"}}],"id":"7c7f802a-8826-49b6-a0a8-117f089c1c51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.football-stats.me/teams/id=2","urlObject":{"protocol":"https","path":["teams","id=2"],"host":["api","football-stats","me"],"query":[],"variable":[]}},"response":[{"id":"d36814d6-4b83-4565-ab38-7b4490b47f8f","name":"The team with the given id","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.football-stats.me/teams/id=<id>"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"team_id\": 125,\n    \"team_name\": \"Liverpool\",\n    \"team_country\": \"England\",\n    \"team_founded\": 1892,\n    \"team_logoLink\": \"https://media.api-sports.io/football/teams/40.png\",\n    \"team_league\": \"Premier League\",\n    \"team_record\": \"4-0-2\",\n    \"team_goals\": 15,\n    \"team_formation\": \"4-3-3\",\n    \"team_venueCity\": \"Anfield\",\n    \"team_venueSurface\": \"grass\",\n    \"team_venueCapacity\": 55212,\n    \"team_venueName\": \"Anfield\",\n    \"team_form\": \"WWDWWDD\",\n    \"team_goalsForAverage\": \"2.4\",\n    \"team_goalsAgainstAverage\": \"0.9\",\n    \"team_penaltyPercentage\": \"100.00%\",\n    \"team_video\": \"https://www.youtube.com/watch?v=7UHmH5Dmsg4\"\n}"}],"_postman_id":"7c7f802a-8826-49b6-a0a8-117f089c1c51"}],"id":"55d0629f-6365-4d47-ac5e-fca51072d358","_postman_id":"55d0629f-6365-4d47-ac5e-fca51072d358","description":""},{"name":"Matches","item":[{"name":"A page of matches","event":[{"listen":"test","script":{"id":"43c47258-7c22-4ebc-bbd7-07e1e0c45198","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","pm.test(\"Body contains string\", function () {\r","    pm.expect(pm.response.text()).to.include(\"matches\");\r","});\r","pm.test(\"Match 1 away name\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData[\"matches\"][0].match_away_name).to.eql(\"GO Ahead Eagles\");\r","});"],"type":"text/javascript"}}],"id":"0ecbd787-d40a-44d6-8d1d-6c5568a64b80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.football-stats.me/matches?match_id=<int32>&match_score=<String>&match_date=<String>&match_prediction=<String>&match_league=<String>&match_video=<String>&match_location=<String>&match_venue_name=<String>&match_home_name=<String>&match_home_players=<String>&match_home_shotsOnGoal=<int32>&match_home_shotsOffGoal=<int32>&match_home_cornerKicks=<int32>&match_home_posessionPercentage=<String>&match_home_passCompletion=<String>&match_home_yellowCards=<int32>&match_home_redCards=<int32>&match_away_name=<String>&match_away_players=<String>&match_away_shotsOnGoal=<int32>&match_away_shotsOffGoal=<int32>&match_away_cornerKicks=<int32>&match_away_posessionPercentage=<String>&match_away_passCompletion=<String>&match_away_yellowCards=<int32>&match_away_redCards=<int32>","urlObject":{"protocol":"https","path":["matches"],"host":["api","football-stats","me"],"query":[{"description":{"content":"<p>Unique match id</p>\n","type":"text/plain"},"key":"match_id","value":"<int32>"},{"description":{"content":"<p>Filter by match score</p>\n","type":"text/plain"},"key":"match_score","value":"<String>"},{"description":{"content":"<p>Filter/sort by date that a match is played</p>\n","type":"text/plain"},"key":"match_date","value":"<String>"},{"description":{"content":"<p>Filter by match prediction</p>\n","type":"text/plain"},"key":"match_prediction","value":"<String>"},{"description":{"content":"<p>Filter/sort by the league that a match is played in</p>\n","type":"text/plain"},"key":"match_league","value":"<String>"},{"description":{"content":"<p>Get a page of a match played between two teams that are in the video</p>\n","type":"text/plain"},"key":"match_video","value":"<String>"},{"description":{"content":"<p>Filter by location of match</p>\n","type":"text/plain"},"key":"match_location","value":"<String>"},{"description":{"content":"<p>Filter by the venue that a match is played in</p>\n","type":"text/plain"},"key":"match_venue_name","value":"<String>"},{"description":{"content":"<p>Filter by name of home team</p>\n","type":"text/plain"},"key":"match_home_name","value":"<String>"},{"description":{"content":"<p>Filter by players in the home team of a match</p>\n","type":"text/plain"},"key":"match_home_players","value":"<String>"},{"description":{"content":"<p>Filter/sort by number of shots on goal made by home team</p>\n","type":"text/plain"},"key":"match_home_shotsOnGoal","value":"<int32>"},{"description":{"content":"<p>Filter/sort by number of shots off goal made by home team</p>\n","type":"text/plain"},"key":"match_home_shotsOffGoal","value":"<int32>"},{"description":{"content":"<p>Filter/sort by number of corner kicks kicked by home team</p>\n","type":"text/plain"},"key":"match_home_cornerKicks","value":"<int32>"},{"description":{"content":"<p>Filter/sort by the percent of time home team had ball</p>\n","type":"text/plain"},"key":"match_home_posessionPercentage","value":"<String>"},{"description":{"content":"<p>Filter/sort by percent of passes completed by home team</p>\n","type":"text/plain"},"key":"match_home_passCompletion","value":"<String>"},{"description":{"content":"<p>Filter/sort by number of yellow cards home team recieed</p>\n","type":"text/plain"},"key":"match_home_yellowCards","value":"<int32>"},{"description":{"content":"<p>Filter/sort by number of red cards home team recieved</p>\n","type":"text/plain"},"key":"match_home_redCards","value":"<int32>"},{"description":{"content":"<p>Filter by name of away team</p>\n","type":"text/plain"},"key":"match_away_name","value":"<String>"},{"description":{"content":"<p>Filter by players in the away team of a match</p>\n","type":"text/plain"},"key":"match_away_players","value":"<String>"},{"description":{"content":"<p>Filter/sort by number of shots on goal made by away team</p>\n","type":"text/plain"},"key":"match_away_shotsOnGoal","value":"<int32>"},{"description":{"content":"<p>Filter/sort by number of shots off goal made by away team</p>\n","type":"text/plain"},"key":"match_away_shotsOffGoal","value":"<int32>"},{"description":{"content":"<p>Filter/sort by number of corner kicks kicked by away team</p>\n","type":"text/plain"},"key":"match_away_cornerKicks","value":"<int32>"},{"description":{"content":"<p>Filter/sort by the percent of time away team had ball</p>\n","type":"text/plain"},"key":"match_away_posessionPercentage","value":"<String>"},{"description":{"content":"<p>Filter/sort by percent of passes completed by away team</p>\n","type":"text/plain"},"key":"match_away_passCompletion","value":"<String>"},{"description":{"content":"<p>Filter/sort by number of yellow cards away team recieved</p>\n","type":"text/plain"},"key":"match_away_yellowCards","value":"<int32>"},{"description":{"content":"<p>Filter/sort by number of red cards away team recieved</p>\n","type":"text/plain"},"key":"match_away_redCards","value":"<int32>"}],"variable":[]}},"response":[{"id":"16b6e8d9-d07c-4028-8557-57f2da595c35","name":"A page of matches","originalRequest":{"method":"GET","header":[],"url":"https://api.football-stats.me/matches"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"matches\": {\n        \"match_id\": 187,\n        \"match_score\": \"1-1\",\n        \"match_date\": \"2021-08-28T16:30:00+00:00\",\n        \"match_prediction\": \"1X\",\n        \"match_league\": \"Premier League\",\n        \"match_video\": \"https://www.youtube.com/watch?v=7RN0LHEvWkA\",\n        \"match_location\": \"Liverpool\",\n        \"match_venue_name\": \"Anfield\",\n        \"match_home_name\": \"Liverpool\",\n        \"match_home_players\": \"280 286 290 289 283 292 299 19035 302 306 304 \",\n        \"match_home_shotsOnGoal\": 7,\n        \"match_home_shotsOffGoal\": 12,\n        \"match_home_cornerKicks\": 12,\n        \"match_home_posessionPercentage\": \"66%\",\n        \"match_home_passCompletion\": \"86%\",\n        \"match_home_yellowCards\": null,\n        \"match_home_redCards\": null,\n        \"match_away_name\": \"Chelsea\",\n        \"match_away_players\": \"2986 2280 2278 2285 2282 19545 2289 2290 19220 978 907 \",\n        \"match_away_shotsOnGoal\": 3,\n        \"match_away_shotsOffGoal\": 1,\n        \"match_away_cornerKicks\": 3,\n        \"match_away_posessionPercentage\": \"34%\",\n        \"match_away_passCompletion\": \"72%\", \n        \"match_away_yellowCards\" : 2,\n        \"match_away_redCards\": 1\n    }\n}"}],"_postman_id":"0ecbd787-d40a-44d6-8d1d-6c5568a64b80"},{"name":"A match given the id","event":[{"listen":"test","script":{"id":"4155c74f-f9f2-4962-99a1-e9d6de70c8c7","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","pm.test(\"Match away team name with given id\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.match_away_name).to.eql(\"GO Ahead Eagles\");\r","});"],"type":"text/javascript"}}],"id":"1bec7b84-3a7b-4aed-97a9-3f79f8a4cbfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.football-stats.me/matches/id=3","urlObject":{"protocol":"https","path":["matches","id=3"],"host":["api","football-stats","me"],"query":[],"variable":[]}},"response":[{"id":"59b32fbf-4193-4b9a-b6e0-2159c2153c2a","name":"A match given the id","originalRequest":{"method":"GET","header":[],"url":"https://api.football-stats.me/matches/id=<id>"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"match_score\": \"1-1\",\n    \"match_date\": \"2021-08-28T16:30:00+00:00\",\n    \"match_prediction\": \"1X\",\n    \"match_league\": \"Premier League\",\n    \"match_video\": \"https://www.youtube.com/watch?v=7RN0LHEvWkA\",\n    \"match_location\": \"Liverpool\",\n    \"match_venue_name\": \"Anfield\",\n    \"match_home_name\": \"Liverpool\",\n    \"match_home_players\": \"280 286 290 289 283 292 299 19035 302 306 304 \",\n    \"match_home_shotsOnGoal\": 7,\n    \"match_home_shotsOffGoal\": 12,\n    \"match_home_cornerKicks\": 12,\n    \"match_home_posessionPercentage\": \"66%\",\n    \"match_home_passCompletion\": \"86%\",\n    \"match_home_yellowCards\": null,\n    \"match_home_redCards\": null,\n    \"match_away_name\": \"Chelsea\",\n    \"match_away_players\": \"2986 2280 2278 2285 2282 19545 2289 2290 19220 978 907 \",\n    \"match_away_shotsOnGoal\": 3,\n    \"match_away_shotsOffGoal\": 1,\n    \"match_away_cornerKicks\": 3,\n    \"match_away_posessionPercentage\": \"34%\",\n    \"match_away_passCompletion\": \"72%\", \n    \"match_away_yellowCards\" : 2,\n    \"match_away_redCards\": 1\n}"}],"_postman_id":"1bec7b84-3a7b-4aed-97a9-3f79f8a4cbfa"}],"id":"6b59fa34-80b6-44bb-8296-7488305a8689","_postman_id":"6b59fa34-80b6-44bb-8296-7488305a8689","description":""},{"name":"Players","item":[{"name":"A page of players","event":[{"listen":"test","script":{"id":"c0e76f47-c678-473f-9dd8-fbe65c7d3c41","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","pm.test(\"Body contains string\", function () {\r","    pm.expect(pm.response.text()).to.include(\"players\");\r","});\r","pm.test(\"Player 1 name\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData[\"players\"][0].player_name).to.eql(\"D. Reyes\");\r","});"],"type":"text/javascript"}}],"id":"c0529db6-81cb-4aa8-892f-19c28dcceb99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.football-stats.me/players?player_name=<String>&player_age=<int32>&player_height=<String>&player_weight=<String>&player_position=<String>&player_teamName=<String>&player_jerseyNumber=<int32>&player_hometown=<String>&player_country=<String>&player_games=<int32>&player_goals=<int32>&player_photo=<String>","urlObject":{"protocol":"https","path":["players"],"host":["api","football-stats","me"],"query":[{"description":{"content":"<p>Get a page of a player given his name</p>\n","type":"text/plain"},"key":"player_name","value":"<String>"},{"description":{"content":"<p>Filter/sort by age of player</p>\n","type":"text/plain"},"key":"player_age","value":"<int32>"},{"description":{"content":"<p>Filter/sort by height of player</p>\n","type":"text/plain"},"key":"player_height","value":"<String>"},{"description":{"content":"<p>Filter/sort by weight of player</p>\n","type":"text/plain"},"key":"player_weight","value":"<String>"},{"description":{"content":"<p>Filter/sort by the position a player plays</p>\n","type":"text/plain"},"key":"player_position","value":"<String>"},{"description":{"content":"<p>Filter by the name of the team players are on</p>\n","type":"text/plain"},"key":"player_teamName","value":"<String>"},{"description":{"content":"<p>Filter/sort by the jersey number of a player</p>\n","type":"text/plain"},"key":"player_jerseyNumber","value":"<int32>"},{"description":{"content":"<p>Filter by the hometwon of a player</p>\n","type":"text/plain"},"key":"player_hometown","value":"<String>"},{"description":{"content":"<p>Filter by the country the player plays for</p>\n","type":"text/plain"},"key":"player_country","value":"<String>"},{"description":{"content":"<p>Filter/sprt by the number of games played by player</p>\n","type":"text/plain"},"key":"player_games","value":"<int32>"},{"description":{"content":"<p>Filter/sort by the number of goals made by a player</p>\n","type":"text/plain"},"key":"player_goals","value":"<int32>"},{"description":{"content":"<p>Get a page of the player given a link to the player's image</p>\n","type":"text/plain"},"key":"player_photo","value":"<String>"}],"variable":[]}},"response":[{"id":"4939d45e-9da4-47d3-a19a-49dd87901bec","name":"A page of players","originalRequest":{"method":"GET","header":[],"url":"https://api.football-stats.me/players"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"players\": {\n        \"player_age\": 29, \n        \"player_country\": \"Mexico\", \n        \"player_games\": 12, \n        \"player_goals\": 0, \n        \"player_height\": \"190 cm\", \n        \"player_hometown\": \"Ciudad de M\\u00e9xico\", \n        \"player_id\": 1, \n        \"player_jerseyNumber\": null, \n        \"player_name\": \"D. Reyes\", \n        \"player_photo\": \"https://media.api-sports.io/football/players/2875.png\", \n        \"player_position\": \"Defender\", \n        \"player_teamName\": \"Tigres UANL\", \n        \"player_weight\": \"76 kg\"\n    }\n}"}],"_postman_id":"c0529db6-81cb-4aa8-892f-19c28dcceb99"},{"name":"The player with the given id","event":[{"listen":"test","script":{"id":"813eb9f1-c5dd-48f4-9ec1-d0a45d2f0f5f","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","pm.test(\"Player name with given id\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.player_name).to.eql(\"C. Salcedo\");\r","});"],"type":"text/javascript"}}],"id":"1aaec40a-ba7e-4acf-b0b6-51b55f221e1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.football-stats.me/players/id=2","urlObject":{"protocol":"https","path":["players","id=2"],"host":["api","football-stats","me"],"query":[],"variable":[]}},"response":[{"id":"3712e98b-d583-4eb8-97cb-dac04764c573","name":"The player with the given id","originalRequest":{"method":"GET","header":[],"url":"https://api.football-stats.me/players/id=<id>"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"player_age\": 29, \n  \"player_country\": \"Mexico\", \n  \"player_games\": 12, \n  \"player_goals\": 0, \n  \"player_height\": \"190 cm\", \n  \"player_hometown\": \"Ciudad de M\\u00e9xico\", \n  \"player_id\": 1, \n  \"player_jerseyNumber\": null, \n  \"player_name\": \"D. Reyes\", \n  \"player_photo\": \"https://media.api-sports.io/football/players/2875.png\", \n  \"player_position\": \"Defender\", \n  \"player_teamName\": \"Tigres UANL\", \n  \"player_weight\": \"76 kg\"\n}"}],"_postman_id":"1aaec40a-ba7e-4acf-b0b6-51b55f221e1a"}],"id":"1b4b171b-eb83-4a64-ac32-fd678b4fe78e","_postman_id":"1b4b171b-eb83-4a64-ac32-fd678b4fe78e","description":""}]}