@bountygg/waxpeer
Waxpeer API wrapper for NodeJs
Last updated 2 months ago by bobtheshoplifter .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @bountygg/waxpeer 
SYNC missed versions from official npm registry.

WaxPeer

WaxPeer API wrapper for Node.js

Full API documentation here

Installation

$ npm install waxpeer

Initialization

import { Waxpeer } from 'waxpeer'

const WP = new Waxpeer(WAXPEER_API)

Fetching items

const items = await WP.getItemsList()

console.log(items)

Buying items with ID

const purchase = await WP.buyItemWithId(17441538677,798500,'oFvyi0Ma','378049039')

console.log(purchase)

Buying items with Name

const purchase = await WP.buyItemWithName('AK-47 | Redline (Field-Tested)',15000,'oFvyi0Ma','378049039')

console.log(purchase)

Fetching status of the purchase

const status = await WP.tradeRequestStatus(35124)

console.log(status)

Fetching your account info

const user = await WP.getProfile()

console.log(user)

Current Tags

  • 1.1.4                                ...           latest (2 months ago)

2 Versions

  • 1.1.4                                ...           2 months ago
  • 1.1.3                                ...           2 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 5
Dependencies (3)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |