1.0.4 • Published 1 year ago
mdl-watching-box v1.0.4
Installation
//npm
npm install mdl-watching-box
//yarn
yarn add mdl-watching-box
Prep work
- Create a new public GitHub Gist. (https://gist.github.com/)
- Create a token with the
gist
scope and copy it. (https://github.com/settings/tokens/new)
Example usage
const main = require('mdl-watching-box');
const {
GIST_ID: gistId,
GH_TOKEN: githubToken,
USER: user,
TITLE: title
} = process.env;
main(gistId, githubToken, user, title);
Environment secrets
- GIST_ID: The ID portion from your gist url: https://gist.github.com/facalz/
c7ecf280a4fc2214a85cef64896e020f
- GH_TOKEN: The GitHub token generated above.
- USER: Your user in MyDramaList.
- TITLE: Title for gist (Optional).