Project that needs two APIs to be queried synchronously

Job ID: 33741923

Budget: $100 – $150 USD

The project requires two API's to be chosen, one of which MUST have some form of authentication. The authentication model must be in OAuth 2.0 Client Credentials. The other chosen API does not need authentication. (You only need to do authentication once)

These two API's MUST be queried synchronously without race conditions.

Third party modules are banned (eg. NPM / github)

This project tasks you with writing an HTTP server to communicate with various API's. Some API's offer helper libraries to automate the authentication process. You cannot use these libraries. (You can still use those API's, but you must do so using only HTTP / HTTPS Node.js modules)

Some popular libraries that are banned from this assignment

request https://www.npmjs.com/package/request
express https://www.npmjs.com/package/express

The only libraries you are allowed to use are built in libraries.
If the library is available on nodejs.org ✅ you can use it (fs, http, https, querystring, url, ...). If it's anywhere else including npmjs.com ❌ or github.com❌ it's barred from this project.
Related categories: JavaScript Node.js API