WeebDexSharp 0.0.4
dotnet add package WeebDexSharp --version 0.0.4
NuGet\Install-Package WeebDexSharp -Version 0.0.4
<PackageReference Include="WeebDexSharp" Version="0.0.4" />
<PackageVersion Include="WeebDexSharp" Version="0.0.4" />
<PackageReference Include="WeebDexSharp" />
paket add WeebDexSharp --version 0.0.4
#r "nuget: WeebDexSharp, 0.0.4"
#:package WeebDexSharp@0.0.4
#addin nuget:?package=WeebDexSharp&version=0.0.4
#tool nuget:?package=WeebDexSharp&version=0.0.4
weebdex-sharp
A C# API for weebdex.org
Currently this is in pre-release and does not cover all endpoints. More features and endpoints will be added in the future.
Usage Aggreement
By using this API, you agree to the following WeebDex.org's terms of service.
Installation
You can install the NuGet package with Visual Studio. It targets .net standard 2.1 to take advantage of most of the new features within C# and .net.
PM> Install-Package WeebDexSharp
Setup
You can either use it directly or via dependency injection (for use with asp.net core).
Directly:
using WeebDexSharp;
...
//You cannot access authed routes if you use this option.
var api = WeebDex.Create();
var manga = await api.Manga.Get("some-manga-id-here");
Depdency Injection:
using WeebDexSharp;
var builder = WebApplication.CreateBuilder(args);
...
builder.Services.AddWeebDex();
var app = builder.Build();
Then you can inject the API into any of your controllers or other services:
using WeebDexSharp;
using Microsoft.AspNetCore.Mvc;
namespace SomeApplication;
[ApiController]
public class SomeController : ControllerBase
{
private readonly IWeebDex _api;
public SomeController(IWeebDex api)
{
_api = api;
}
[HttpGet, Route("manga/{id}")]
public async Task<IActionResult> Get(string id)
{
return Ok(await _api.Manga.Get(id));
}
}
Documentation
More documentation coming soon.
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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
- CardboardBox.Http (>= 4.0.0)
- Microsoft.Extensions.DependencyInjection (>= 10.0.5)
- System.Linq.Async (>= 7.0.0)
- System.Text.Json (>= 10.0.5)
- System.Threading.RateLimiting (>= 10.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.