A command line Node.js app I made that takes in parameters and retrieves data about them. It will print the information it retrieves about upcoming concerts, any song name you choose to input, or any movie. It does so by using the Axios package to make calls to the Bands in Town, Spotify and OMDB APIs, and relies on a few different Node packages to make requests, read files, and format dates and times.
How to Deploy the App:
Clone this repository down to your machine
npm installin your command line to download the required packages
At the command prompt, enter
node liri <pass in a command depending on what you want LIRI Bot to do>
node liri.js concert-this "<artist/band name here>": queries the Bands in Town API and displays upcoming concert information
node liri.js spotify-this-song "<song name here>": queries the Spotify API and displays data about the song
node liri.js movie-this "<movie name here>": queries the OMDB API and displays data about the movie (quotations around the movie name are important for this query)
node liri.js do-what-it-says: displays whatever's written in the random.txt file
Node.JS for the app's server environment.
3 different API's:
- Bands in Town
NPM for installation of various packages required by the app, including Node-Spotify-API, fs, axios, moment, DotEnv, and chalk for colors and bold text weighting in the command line.
LIRI Bot in Action: