Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Football data

FootballData SDK is an unofficial C# Library allowing retrieving data from the popular api api.football-data.org. It is intended for use by developer wishing to make their own football result apps.

Nuget Package

Visit https://www.nuget.org/packages/FootballDataSDK

  To install FootballData SDK, run the following command in the Package Manager Console
  PM > Install-Package FootballDataSDK

Example of use

using FootballDataSDK.Services;

static void Main(string[] args)
{

  FootDataServices client = new FootDataServices();
  //This is Optional (Can be used without Token, but it's limited [request number])
  client.AuthToken = "Your Auth-Token Here ...";
  
  var leagues = client.SoccerSeasons();

  if (string.IsNullOrEmpty(leagues.error))
  {
    foreach (var soccerSeason in leagues.Seasons)
    {
      Console.WriteLine(soccerSeason.league + " : " + soccerSeason.caption);
    }
  }
  else
  {
    Console.WriteLine("ERROR : " +leagues.error);
  }

}

Official API

Visit http://api.football-data.org/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages