Plain Api - Thin wrapper around your favorite HTTP client to simplify your api calls

in #utopian-io6 years ago

Repository

https://github.com/naorye/plain-api

What is the project about?

Almost every project (mainly frontend and even node) use apis. Many lines of code should be written in order to use those apis, even if we use an advanced HTTP client (like axios):

  • Define the url
  • Interpolate params
  • Request header and body
  • Parse the response
    There is always the question of where to put this code. Plain Api answers that question by providing a thin factory that organizes and saperates all the above.

Technology Stack

Javascript, Babel, axios

Roadmap

Add more examples, implement suggestions from the community. Mainly extend the library to support all variations of inputs and parsing.

How to contribute?

  1. Fork it (https://github.com/naorye/plain-api/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

GitHub Account

https://github.com/naorye

Sort:  

@naorye, I gave you an upvote on your first post! Please give me a follow and I will give you a follow in return!

Please also take a moment to read this post regarding bad behavior on Steemit.

  • I would have loved to see your repo's readme.md markup text in this post, if you had merged the two together, you would have had a fantastic post.

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.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Congratulations @naorye! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post
You got a First Vote
Award for the number of upvotes received

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Hey @naorye
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

interesante

Coin Marketplace

STEEM 0.27
TRX 0.12
JST 0.032
BTC 65686.10
ETH 2943.95
USDT 1.00
SBD 3.73