spigot-buyer-list
A NodeJS package that allows you to fetch the buyers list on Spigot for a premium plugin
Installation
This package can be installed from NPM using npm
or yarn
.
npm install spigot-buyer-list
yarn add spigot-buyer-list
Code Examples
Using this package is pretty straight forward. Here is some sample code:
; const getBuyers = async { try const spigotSite = 'username' 'password' 'tfaSecret'; await spigotSite; // getBuyersList(resourceId) const buyers = await spigotSite; // [{id: 123456, username: "user"}, ...] catch e console; };
Contributing
Feel free to submit a PR or open an issue if you want something improved with this package.
Remember to run yarn format
(or npm run format
) before commiting (in case of code changes).