My First Open Source Contribution: Node Amazon Products API


I’ve been developing for almost 20 years now, about half of that professionally. While I’ve used countless open source libraries and packages in that time, I’ve never contributed one of my own. Whether it was that I never felt up to the task or the opportunity never presented itself, it doesn’t matter - that streak is now broken.

A couple days ago, I released amz-products, an npm module that allows an easy interface to the Amazon Product Advertising API. As I’m using the API on a project with my buddy Josh, it just made sense to package up what I’d created there and release it as open source. Thanks Josh, for the pushing to get this out into the world!

So, why this particular package? Well, as the readme on the project states, I couldn’t find a good package on npm that seemed to work well for this API. Sure, there are a number of Amazon Product API packages out there, but each had weirdnesses about it. Either it had arcane authentication or other interfaces, or it only covered one or two endpoints of the API. Not satisfied with difficult-to-use or incomplete packages, I put this together to provide an easy and comprehensive solution to interacting with the Amazon Products API.

The package itself is pretty straightforward. It’s a fairly thin wrapper around the API, but helps solve issues like authentication and response formats, which are pretty horrible in the native Amazon API. I’m hoping that folks find it easy to use and a good solution for getting data from the API.

If your project needs to consume product data from Amazon, I’d suggest giving my module a look. If you have suggestions for making it better, leave them in the project issues, send me a pull request, or just leave them in the comments below!

Related Posts

The Art of Finding a Way

Being resourceful and relentless is one of the keys to being successful (and a great shipper). When in doubt, find a way.

Why I Have a Cocktail at 3:30 Every Day

Every day at 3:30, I stop what I'm doing and have a cocktail. It's become an incredibly important part of my daily routine.

Everyone In a Startup Should Have This Skill

You know you need technical skills to build the product, and sales skills to sell it, but does your team have this critical skill?

Doing Things Makes You Feel Better

If you're feeling down, depressed or just in a blah mood, do something. Anything. Make a thing, clean a room. Action makes you feel better.

Review: Auth0

Auth0 is a service that provides identity as a service, so you never have to build authentication again. Here, I lay out the good and the bad.

Why I Unfollowed Everyone on Twitter

I unfollowed everyone (~4,500 people) on Twitter. Here's why I'd do such an insane thing.

How to Turn Off Facebook Live Notifications

Facebook Live is cool, but the constant notifications about new videos aren't. Here's how to turn them off and get some peace.

If You Don't Have a Feedback System, It's Not Agile

Everyone loves to throw around the 'agile' word, when talking about how they approach development. But, who's actually doing it, and who's just pretending?

When Employee Retention is a Bad Thing

Having employees that stay around for awhile is a great thing, right? Maybe not always.

Review: Project 333

In a desparate attempt to declutter our space, we gave this radical program a try. Game changer, for sure.