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

Shitty Sales Have Made Product Development Harder

Shitty, one-sided sales processes have made product development much more difficult for early stage startups.

Why I'm Cold Emailing You

You might have gotten a cold email from me. Tasteless? Some people think so. Here's why I'm doing it.

How I Found Your Email

I've been cold emailing a lot of people, and many folks are surprised that I found their email. Here's where I dug it up.

Announcement: The Most Exciting Thing I've Done

Today, I'm announcing the most exciting project I've been involved with. It's called CrowdSync, and it helps to automate paperwork, communication and logistics when dealing with groups of people. Read on for why this is so big.

How to Post to Private Slack Channels from Zapier

If you automate posting to Slack via Zapier, you might need to post to a private channel. It's not entirely obvious how to do it, but actually pretty damn easy.

Sharing is the Currency of the Web

You consume free content all day on the web. The best way to pay back the people creating it? Share it.

The Magic of Low Fidelity

High-fidelity documentation is great, but it has a hidden dark side. Learn to embrace low-fidelity documentation, and you'll be amazed at the benefits.

Why You Should Blog More (Data)

When you stop blogging, people stop coming. Simple enough. Here's the proof.

Using a Linter Will Make You a Better Dev

Using a linter while you write code won't only make your code better formatted, it'll make you a better programmer.

Everyone Is Self Employed

The idea that you're not self-employed if you work fulltime somewhere is wrong. EVERYONE is self-employed.