Programming

How to Modify URL Query Parameters in Node.js

Posted on

In my previous post, I suggested that string concatenation is an unreliable way to modify URL queries. Let’s explore this idea a little further (or, just skip to the tl;dr if you just want the solution). First, let’s write a function that appends a URL query parameter via string concatenation:

Now, let’s throw some […]

Programming

How to (Nearly) Sidestep API Limits

Posted on

Let’s say that you’re trying to grab a lot of data from a 3rd-party API. In fact, you’re grabbing so much data that you hit the API’s hourly request limit in a mere 3 minutes. What can you do? Well, if the API is open to the public, then your options are: You can take […]