A library to interface with Reverb's API programmatically.
To get started, just run npm install sound-tank
in your project's directory, or yarn add sound-tank
if you prefer Yarn.
import Reverb from 'sound-tank';
const { REVERB_API_KEY } = process.env;
(async () => {
const reverb = new Reverb({ apiKey: REVERB_API_KEY });
const response = await reverb.getMyListings({
perPage: 10,
page: 1,
state: 'all',
});
const { listings } = response.data;
listings.forEach((listing) => {
console.log(listing.title);
});
})();