Thursday, 14 February 2019

Does anyone have good examples of well written, preferably smaller, api wrappers

I am working on a personal project to help teach myself node. Basically the goal of the project is to build an API wrapper for the undocumented Plex API. I have looked through the other npm package that tried to do the same but it was written a few years ago and I am not sure if it is a good example.Where this differs from most of the tutorials I have seen is I would be making http requests for every endpoint instead of returning data from the DB. So many of my questions are around building requests and seeing how people have structured their http clients.I spent about three days reading through all of the different ways node projects are structured and have found a structure that I feel pretty good about. I come from a Rails MVC background but I have gotten really excited about making this project component based.My main struggle here is in finding other API wrappers in node that are well written and have similar behavior.If anyone has any links to similar projects or tutorials it would be greatly appreciated.I will post a link to the project in a few if that would make my question easier to answer.

Submitted February 15, 2019 at 05:10AM by Kritnc

No comments:

Post a Comment