1.0.3 • Published 2 years ago
@zacharyeggert/reverb-api v1.0.3
reverb-api
Reverb.com API Client for node
A continuation of lobot-io/reverb-api
Rebuilding from the ground up.
This project is a work in progress. Only partly functional.
Usage
import { ReverbApiClient } from '@zacharyeggert/reverb-api'; const client = new ReverbApiClient({ apiKey: 'your API token' }) const data = await client.get();
TODO
- More data access paths, currently only has calls for listings and orders
- Handle timeout for too many requests, 429 response header
Changelog
1.0.0
Rewrite with fetch api instead of axios dependency.
0.2.0
Change implementation from default import to destructured import
0.1.2
Async fetch for awaiting shipment / unpaid orders
0.1.1
Async fetch for orders
0.1.0
Ability to async fetch recent/all of 'my' listings with a single call. Added pagination hook to methods
0.0.9
actually exporting types
0.0.7
hopefully exporting types correctly