An open API service indexing awesome lists of open source software.

https://github.com/elykdeer/scryrs

An alternative to scryfall with caching and mass image downloading capabilities.
https://github.com/elykdeer/scryrs

mtg mtg-cards rust rust-lang scryfall scryfall-api scryfall-cards

Last synced: 9 days ago
JSON representation

An alternative to scryfall with caching and mass image downloading capabilities.

Awesome Lists containing this project

README

          

# scry.rs

A simple alternative to [scryfall](https://github.com/mendess/scryfall-rs) with caching and mass image downloading capabilities.

```rust
use scryers::{
download_all_cards,
bulk::{BulkDownload, BulkDownloadType},
};

fn main() {
// Downloads images for all cards
scryers::download_all_cards();

// Allows you to easily iterate over card information, without needing to re-download Scryfall database information (>140Mb!) every time.
// Lazy loads card info, so initialization speed should be super quick
let cards = BulkDownload::new("./scryfall.db", BulkDownloadType::DefaultCards).unwrap();
for card in cards.cards() {
println!("Image at images/{}-0.jpg", card.name());
}
}
```