Repository
<p dir="auto"><span><a href="https://github.com/gigatoride/node-utopian-rocks" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/gigatoride/node-utopian-rocks
<h4>NPM Package
<p dir="auto"><span><a href="https://www.npmjs.com/package/node-utopian-rocks" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://www.npmjs.com/package/node-utopian-rocks
<h1>node-utopian-rocks
<h4>What is the project about?
<p dir="auto">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.
<h3>Usage
<p dir="auto">Install using npm:
<p dir="auto"><code>npm install node-utopian-rocks
<p dir="auto">Then
<p dir="auto"><code>const utopian = require('node-utopian-rocks');
<h3>Examples
<p dir="auto">Calling Asynchronously:
<pre><code>// 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');
<p dir="auto">You can also do it using <code>then()<br />
for more information please visit <a href="https://github.com/gigatoride/node-utopian-rocks/blob/master/README.md" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">README.md
<h3>Test
<p dir="auto">For testing using jest
<p dir="auto"><code>npm test
<p dir="auto">Results:<br />
<img src="https://images.hive.blog/768x0/https://cdn.steemitimages.com/DQmNQ1ZkakXRvSdDFQThdAoq5KyKgC1r2HMxfr1XKtjVJC8/test.png" alt="test.png" srcset="https://images.hive.blog/768x0/https://cdn.steemitimages.com/DQmNQ1ZkakXRvSdDFQThdAoq5KyKgC1r2HMxfr1XKtjVJC8/test.png 1x, https://images.hive.blog/1536x0/https://cdn.steemitimages.com/DQmNQ1ZkakXRvSdDFQThdAoq5KyKgC1r2HMxfr1XKtjVJC8/test.png 2x" />
<h3>Technology Stack
<ul>
<li>Node.js
<li>JavaScript
<h3>Roadmap
<ul>
<li><span>Adding any upcoming API calls that will be available on <a href="https://utopian.rocks" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://utopian.rocks
<li>More improvements and more advanced options, configs.
<h4>Commits
<p dir="auto">the project has been published recently<br /><span>
<a href="https://github.com/gigatoride/node-utopian-rocks/commits/master" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/gigatoride/node-utopian-rocks/commits/master
<h3>How to contribute?
<p dir="auto">Feel free to contribute to the project by opening a new pull request or open a new issue if there is any bug.<br />
To get in touch with me please use my email address in my GitHub profile.
<h4>GitHub Account
<p dir="auto"><span><a href="https://github.com/gigatoride" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/gigatoride
Thank you for your contribution.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Chat with us on Discord.
[utopian-moderator]Need help? Write a ticket on https://support.utopian.io/.
Thank you for your review, @justyy!
So far this week you've reviewed 3 contributions. Keep up the good work!
Thanks, your feedback will be taken into account for further improvements.
Hi @gigatoride!
Feel free to join our @steem-ua Discord serverYour post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation! Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Hey, @gigatoride!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
SteemPlus or Steeditor). Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!