What is the project about?
I've realized that utopian.io official API isn't available for a while, And all existing Utopian API modules can't be functioning while API provider isn't available, I also have realized many people were asking for API which is only available at utopian.rocks, however, I couldn't find any module for Node.js API wrapper available for it then I've decided to make a module for it which gonna make any projects depends on Utopian API comes back to work easily by just installing that alternative module and following simple usage instructions.
Install using npm:
npm install node-utopian-rocks
const utopian = require('node-utopian-rocks');
// Retrieve posts by category, status await utopian.getPosts('development', 'reviewed') // Retrieve posts by category, status, author, non-staff-picks await utopian.getPosts('development', 'reviewed', 'gigatoride', null, false) // Retrieve moderators await utopian.getModerators(); // Retrieve Statistics by today for task requests await utopian.getStats('today', 'task_requests');
You can also do it using
for more information please visit README.md
For testing using jest
- Adding any upcoming API calls that will be available on https://utopian.rocks
- More improvements and more advanced options, configs.
the project has been published recently
How to contribute?
Feel free to contribute to the project by opening a new pull request or open a new issue if there is any bug.
To get in touch with me please use my email address in my GitHub profile.