Forge.Services.Scryfall 0.1.0-beta.1

This is a prerelease version of Forge.Services.Scryfall.
dotnet add package Forge.Services.Scryfall --version 0.1.0-beta.1
NuGet\Install-Package Forge.Services.Scryfall -Version 0.1.0-beta.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="Forge.Services.Scryfall" Version="0.1.0-beta.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Forge.Services.Scryfall --version 0.1.0-beta.1
#r "nuget: Forge.Services.Scryfall, 0.1.0-beta.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 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.