Forge.Services.Scryfall
0.1.0-beta.1
dotnet add package Forge.Services.Scryfall --version 0.1.0-beta.1
NuGet\Install-Package Forge.Services.Scryfall -Version 0.1.0-beta.1
<PackageReference Include="Forge.Services.Scryfall" Version="0.1.0-beta.1" />
paket add Forge.Services.Scryfall --version 0.1.0-beta.1
#r "nuget: Forge.Services.Scryfall, 0.1.0-beta.1"
// Install Forge.Services.Scryfall as a Cake Addin
#addin nuget:?package=Forge.Services.Scryfall&version=0.1.0-beta.1&prerelease
// Install Forge.Services.Scryfall as a Cake Tool
#tool nuget:?package=Forge.Services.Scryfall&version=0.1.0-beta.1&prerelease
Forge.Services.Scryfall
Forge.Services.Scryfall is a .NET library for interacting with the Scryfall API. It provides a simple and intuitive way to access various Scryfall services such as Cards, Sets, Rulings, Symbology, Catalog, Bulk Data, and Migrations.
Features
- Cards API: Search for cards, get card details by various identifiers, autocomplete card names, and more.
- Sets API: Get all sets, get set details by code or ID.
- Rulings API: Get rulings by various card identifiers.
- Symbology API: Get all card symbols, parse mana costs.
- Catalog API: Get various catalogs like card names, artist names, creature types, etc.
- Bulk Data API: Get all bulk data objects, get bulk data by type or ID.
- Migrations API: Get all card migrations, get migration by ID.
Getting Started
To use the ReForge.Scryfall library, you need to create an instance of ScryfallClient
. You can do this using the ScryfallClientBuilder
class.
var client = new ScryfallClientBuilder()
.WithClient(new HttpClient())
.WithLogger(new NullLogger())
.Build();
Once you have an instance of ScryfallClient
, you can use it to access various Scryfall services.
var cards = await client.Cards.SearchAsync("Black Lotus");
Documentation
For more detailed information about each API and how to use them, please refer to the Scryfall API documentation at https://scryfall.com/docs/api.
Contributing
Contributions are welcome! Please feel free to submit a pull request.
License
ReForge.Scryfall is licensed under the MIT License. See the LICENSE file for more information.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.0
- Microsoft.Extensions.Caching.Memory (>= 9.0.0-preview.2.24128.5)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0-preview.2.24128.5)
- RateLimiter (>= 2.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.0-beta.1 | 57 | 4/4/2024 |
Initial beta release of Forge.Services.Scryfall.