JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q30342F
  • License MIT

A node module wrapper for the Valve official Artifact API

Package Exports

  • node-artifact-api

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-artifact-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Node Artifact Api

This is a node wrapper for the official Valve Artifact API, with Typescript support

Installation

Install with NPM

npm i --save node-artifact-api

import singular methods, or full api as object

import { getDeck, getSet } from 'node-artifact-api';

// OR

import * as ArtifactApi from 'node-artifact-api';

then use any of the methods below.

Project written in Typescript and has types support out of the box.

Features

Features are pretty basic right now:

  • Fetching card set by ID
  • Decoding deck codes

More is coming soon, especially once the Beta is released on the 19th and I can play with the client directly for more test data.

For a full API Guide, click here

Feature Roadmap

The following is a list of features planned for release with this API in the coming weeks:

  • Individual Card Fetching (Not Started)
  • System for passing a "caching" middleware (Not Started)
  • Deck Decoding (Done in v0.2.0!)
  • Deck Encoding (Not Started)

Contributors

Feel free to open a PR or log an issue if you would work on this repo.

Thank you to the following people for contributing so far!