I want to connect to theMovieDb api, and fetch a large number of movies. The api limit is 40 calls every 10 seconds and 20 connections per IP.
How do I do this in node.js? Right now I have one http request to the api at a time, but anything more than 40 calls results in errors.