@chilts/trademe
Client for the TradeMe (trademe.co.nz) API.
Last updated 4 years ago by chilts .
Original npm · Tarball · package.json
$ cnpm install @chilts/trademe 
SYNC missed versions from official npm registry.

TradeMe

Synopsis

var TradeMe = require('trademe')

var client = new TradeMe({
  env              : 'sandbox', // or 'production'
  consumerKey      : process.env.TRADEME_CONSUMER_KEY,
  consumerSecret   : process.env.TRADEME_CONSUMER_SECRET,
  oauthToken       : process.env.TRADEME_OAUTH_TOKEN,
  oauthTokenSecret : process.env.TRADEME_OAUTH_TOKEN_SECRET,
})

client.MyTradeMe_Summary(function(err, data) {
  console.log('MyTradeMe_Summary:', data)
})

client.Listings_Hot(function(err, data) {
  console.log('Listings_Hot:', data)
})

Author

Written by: Andrew Chilton - Twitter.

(Ends)

Current Tags

  • 0.1.0                                ...           latest (4 years ago)

1 Versions

  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |