moxfield-api
v1.0.2
Published
A Javascript library for https://moxfield.com written in Typescript.
Readme

Table of Contents
Installation
npm install --save moxfield-apiUsing bun
bun add moxfield-apiDocumentation
Decklist
findById(id: string): Promise<DeckListType>
import MoxfieldApi from 'moxfield-api';
const moxfield = new MoxfieldApi();
const decklist = await moxfield.decklist.findById('https://moxfield.com/decks/oEWXWHM5eEGMmopExLWRCA'); // OR oEWXWHM5eEGMmopExLWRCAContributing
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/moxfield-api.gitGo to the project directory
cd moxfield-apiInstall dependencies
bun installCompile the project
bun run build