Getting Started

Requirements

  • npm or Yarn

  • Node.js

Installation

This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required.

This package also relies on the @pokebag/pokemon-unite-data, so you must install both packages:

[npm][]:

npm install @pokebag/data-sdk @pokebag/pokemon-unite-data

[Yarn][]:

yarn add @pokebag/data-sdk @pokebag/pokemon-unite-data

Usage

To use the data SDK in your Node app, you'll need to import it:

import * as PokebagDataSDK from '@pokebag/data-sdk'

Alternatively, you can import the individual methods that you need:

import {
  getHeldItems,
  getPokemon,
  getSkills,
} from '@pokebag/data-sdk'

Checkout the rest of our docs for more details on what you can do with the SDK!

Core Methods

Low-level API

Last updated