scryfall-api
v4.0.4
Published
A Javascript library for https://scryfall.com/docs/api written in Typescript.
Downloads
313
Maintainers
Readme

Table of Contents
Installation
npm install --save scryfall-apiUsing bun
bun add scryfall-apiDocumentation
In the documentation below, requiring the package is assumed.
import scryfall from 'scryfall-api';
scryfall.Cards.byName('Black Lotus').then(console.log);With CommonJS
const scryfall = require('scryfall-api');
scryfall.Cards.byName('Black Lotus').then(console.log);If you only need Cards
import { Cards } from 'scryfall-api';
Cards.byName('Black Lotus').then(console.log);Link to full documentation.
Contributing
This project uses Bun as a runtime, test runner and bundler.
Thanks for wanting to help out! Here's the setup you'll have to do:
Clone the project
git clone [email protected]:MarioMH8/scryfall-api.gitGo to the project directory
cd scryfall-apiInstall dependencies
bun installCompile the project
bun run build