PodcastIndexSharp 1.1.0
dotnet add package PodcastIndexSharp --version 1.1.0
NuGet\Install-Package PodcastIndexSharp -Version 1.1.0
<PackageReference Include="PodcastIndexSharp" Version="1.1.0" />
paket add PodcastIndexSharp --version 1.1.0
#r "nuget: PodcastIndexSharp, 1.1.0"
// Install PodcastIndexSharp as a Cake Addin #addin nuget:?package=PodcastIndexSharp&version=1.1.0 // Install PodcastIndexSharp as a Cake Tool #tool nuget:?package=PodcastIndexSharp&version=1.1.0
PodcastIndexSharp
.NET Standard client library for interacting with the PodcastIndex.org API.
Supports reading from and writing to the Index.
Getting Started
Install this library from nuget:
dotnet add package PodcastIndexSharp
In your Startup.cs
, configure the library in your ConfigureServices()
method:
services.AddPodcastIndexSharp(Configuration)
Update your appsettings.json
and add the following object:
"PodcastIndex": {
"UserAgent": "YourProgramName/0.1.0",
"AuthKey": "Your Key",
"Secret": "And Secret"
}
Now just include the IPodcastIndex
in your constructors and make calls.
Examples
In these examples podcastIndex
is an instance of IPodcastIndex
set by Dependency Injection.
To get the top 10 trending podcasts:
var trendingPodcasts = podcastIndex.Podcasts().Trending(10);
Or for a specific Podcast by its feed ID:
var batmanUniversityPodcast = podcastIndex.Podcasts().ByFeedId(75075);
Console.WriteLine(batmanUniversityPodcast.Author) // Tony Sindelar
For a further list of examples, see the PodcastIndexSharp.Example
project.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Flurl.Http (>= 3.2.0)
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 5.0.0)
- Microsoft.Extensions.DependencyInjection (>= 5.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.