OEmbed.Core
2.0.1
dotnet add package OEmbed.Core --version 2.0.1
NuGet\Install-Package OEmbed.Core -Version 2.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OEmbed.Core" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OEmbed.Core --version 2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OEmbed.Core, 2.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OEmbed.Core as a Cake Addin
#addin nuget:?package=OEmbed.Core&version=2.0.1
// Install OEmbed.Core as a Cake Tool
#tool nuget:?package=OEmbed.Core&version=2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OEmbed.Core
C# oEmbed consumer library for .NET Framwork 4.8.1 and .NET (Core) 7/8
Supported Providers
- CodePen.io
- DailyMotion.com
- Deezer.com
- Deviantart.com
- Facebook.com
- Flickr.com
- Giphy.com
- Gist.GitHub.com
- Instagram.com
- Pinterest.com
- Reddit.com
- Soundcloud.com
- Spotify.com
- Tiktok.com
- Twitter.com
- Vimeo.com
- Youtube.com
Install
via NuGet:
PM> Install-Package OEmbedSharp
DI configuration
services.AddOEmbed();
Usage .NET Core
- Inject
IOEmbed
throught constructor injection. - Call EmbedAsync().
For example:
// Returns Provider Result of null if provider not found.
var result = await oEmbed.EmbedAsync("url");
Usage .NET Framework
// Returns Provider Result of null if provider not found.
var embed = new OEmbed();
var result = embed.Embed("url");
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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 is compatible. 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 Framework | net481 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8.1
- Newtonsoft.Json (>= 13.0.3)
- System.Runtime.Caching (>= 8.0.0)
-
net7.0
- Newtonsoft.Json (>= 13.0.3)
- System.Runtime.Caching (>= 8.0.0)
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
- System.Runtime.Caching (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OEmbed.Core:
Package | Downloads |
---|---|
YAFNET.Core
YAF.NET Core Library. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on OEmbed.Core:
Repository | Stars |
---|---|
YAFNET/YAFNET
🌐 YAF.NET - C# ASP.NET Forum
|