What is an API wrapper and how do I write one?

NewImage

Helpful read from Grant Winney:

Forget about peeling back the layers – today we’re gonna talk about adding layers.

When you find an API that looks interesting, you’ll naturally want to try it out. I’ve tested and written quite a bit about APIs, and most of the time I start off with a tool like Postman. That’s fine for playing around, but eventually you’ll want to use it in your app.

APIs come in all shapes and sizes. Some are dead simple; others are amazingly complex – even overly complicated at times. It takes time to implement it in a language – to figure out the right way to access any REST endpoint, then to figure out the right way to access a specific endpoint and get the data you’re interested in. As long as you’re doing all that work, why keep it to yourself?

Read more



from Adafruit Industries – Makers, hackers, artists, designers and engineers! http://ift.tt/2GHbXVP
via IFTTT