OEmbed.Core 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package OEmbed.Core --version 2.0.0                
NuGet\Install-Package OEmbed.Core -Version 2.0.0                
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.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OEmbed.Core --version 2.0.0                
#r "nuget: OEmbed.Core, 2.0.0"                
#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.0

// Install OEmbed.Core as a Cake Tool
#tool nuget:?package=OEmbed.Core&version=2.0.0                

OEmbed.Core

C# oEmbed consumer library for .NET Framwork 4.8.1 and .NET (Core) 6/7

NuGet

build dotnet

Supported Providers

  • CodePen.io
  • DailyMotion.com
  • Deezer.com
  • Deviantart.com
  • Flickr.com
  • Giphy.com
  • Gist.GitHub.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

Apache

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 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 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 Framework net481 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on OEmbed.Core:

Package Downloads
YAFNET.Core

YAF.NET Core Library.

YAFNET.Web

YAF.NET Web Tag- and Html Helpers and BBCode Extensions.

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
Version Downloads Last updated
2.0.4 553 10/11/2024
2.0.3 1,207 6/15/2024
2.0.2 689 5/12/2024
2.0.1 900 2/11/2024
2.0.0 1,279 10/7/2023