A recreation of this game: Higher or Lower: Anime Edition, but using React and Spotify's data.
A Spotify web scraper has also been programmed using Puppeteer that scrapes the artist's name, monthly listeners, and the artist's image, to make it easier to update the game's data.
Play here: https://higherorlower-spotify.netlify.app/
Tech Stacks:
How to setup a local environment:
- Clone the repository.
git clone ChickenCombo/higher-or-lower-spotify
- Access the project directory and install dependencies.
cd higher-or-lower-spotify
npm install
- Start a the server.
npm run dev
- View the website at your local machine.
http://localhost:5173/
How to scrape your own Spotify data:
-
Update the
artists.tsfile with the Spotify URLs of the artists you want to scrape data from. -
Run the following commands:
cd scraper
npx vite-node spotify.ts
- Replace the values
Artist.tsxwith your own extracted data.