nikolliervin / national-football-matchesAPI

This api gets you the results of all football matches played between 1872 and 2022. It is built with .net core 6.0 and the data were taken from a kaggle dataset.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About the API

This api gets you the results of all national football matches played from 1872 to 2022. The api is built under this dataset: https://www.kaggle.com/datasets/martj42/international-football-results-from-1872-to-2017

Key Features

Get match results by

  • inputing home team and away team
  • date when matches were played (yyyy-mm-dd)
  • competition where matches were played
  • city and country where matches were played
  • city, country and competition where matches were played

Examples:

  1. by home team and away team:
https://localhost:7098/api/Match?homeTeam=Argentina&awayTeam=Albania

API Response:

image




  1. by date:
https://localhost:7098/api/Match/ByDate?date=2010-07-11

API Response:

image




  1. by competition and date:
https://localhost:7098/api/Match/ByCompetition?competition=Fifa%20World%20Cup&homeTeam=France&awayTeam=Croatia

API Response:

image




  1. by city and country:
https://localhost:7098/api/Match/ByCityCountry?city=Mitrovica&country=Kosovo

API Response:

image




  1. by city, country and comepetition:
https://localhost:7098/api/Match/ByCityCountryCompedition?city=Doha&country=Qatar&compedition=Fifa%20World%20Cup

API Response:

image




About

This api gets you the results of all football matches played between 1872 and 2022. It is built with .net core 6.0 and the data were taken from a kaggle dataset.


Languages

Language:C# 100.0%