/FlashLive

A helper library for accessing the FlashLive API for sports on RapidAPI.

Primary LanguageC#GNU Affero General Public License v3.0AGPL-3.0

FlashLive

Package


Introduction

This is an unofficial wrapper for consuming the FlashLive Sports API.

Getting Started

FlashLive is packaged and hosted on NuGet.org using GitHub Actions.

> dotnet add package FlashLive

Be ready with your RapidAPI key and use the FlashLive.WebAccessor:

string apiKey = ...; // Get RapidAPI key

using (var accessor = new WebAccessor(apiKey)) {
  // Get American Football events
  var requestOptions = new FlashLive.Models.RequestOptions.EventsRequestOptions<FlashLive.Models.AmericanFootballEvent>() {
    Sport = FlashLive.Models.Contracts.Enums.SportType.AMERICAN_FOOTBALL
  };
  var footballGames = await accessor.GetEventsAsync(requestOptions);
  
  // Do something with game information
}

Sponsors

Please consider supporting this project by becoming a sponsor.