Skip to content

kakone/FreeboxOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freebox OS TV API

Usage

Add the Freebox OS services with the AddFreeboxOSAPI extension method :

services.AddFreeboxOSAPI();

Call the IFreeboxOSClient.InitAsync method to search the Freebox :

await services.GetRequiredService<IFreeboxOSClient>().InitAsync();

Then, use the ITVApi interface :

var tv = services.GetRequiredService<ITVApi>();
var packages = await tv.GetPackagesAsync();
var numberedChannels = await tv.GetChannelsAsync(packages.First());

You can look at the test sample.

Download

NuGet