This is an API that showcases Spotify's monthly data. This data being web scraped from Wikipedia's entry List of most-streamed artists on Spotify. This API was built for educational purposes. For a deep-dive tutorial, check out my Medium page @kyledeguzmanx
CheerioJs
ExpressJS
HTTP npm package
Request HTTP client
The API is currently available in the RAPID API Marketplace. Find all my APIs on my profile on RapidAPI @kyledeguzmanx
In order to use the API, you must sign in to the Rapid API platform.
After signing in, return to the API page. At the top right of the middle coulumn, you will need to subscribe to this API to get your own unique API Key. The free subscription offers unlimited uses. (Note: If you're publishing the source code of your project, make sure you always hide your API Keys)
Once you get your API Key, you can now use the API.
The path to fetch the API is:
https://spotify-monthly-listeners.p.rapidapi.com/?rapidapi-key=
and add your unique API key at the end.
Also, if you're viewing the API Documentation page, in the right-most column, there are code snippets (in various languages and techniques) that show you how to fetch the API. For example, with NodeJS, you can use the axios module or the node-fetch module. Or if you're using Javascript, you can use XMLHttpRequest, Fetch, or jQuery.
Note: Keep your API Keys private and off your GitHub. For more information, check out this article I love How to Hide API Key in GitHub Repo by Pt. Prashant tripathi
Wikipedia & Spotify for Data