With LIRI Bot, you can easily find concert dates and locations, song details, and movie information.
LIRI (Language Interpretation and Recognition Interface) Bot is a command line node application that takes in a variety of parameters and returns corresponding data. To accomplish this, it utilizes three API's: BandsInTown, Spotify, and OMDB. Along with these API's, LIRI Bot was built with node.js, axios, moment.js, and dotenv.
- Obtain the API keys mentioned above
- Clone the repository below
git clone git@github.com:MR-Stan/liri-node-app.git
- Install NPM packages
npm i
- Create a .env file and insert the information below with your keys
SPOTIFY_ID = API Key
SPOTIFY_SECRET = Secret Key
LIRI Bot currently supports the following commands:
Command: 'node liri.js concert-this (artist / band name)'
The BandsInTown API is queried for upcoming concerts and returns:
- The name of the venue
- The venue location
- The date of the event (MM/DD/YYYY)
Command: 'node liri.js spotify-this-song (song name)'
The Spotify API is queried for song information:
- Song title
- Album title
- Artist(s) name
- Preview URL
Command: 'node liri.js movie-this (movie name)'
The OMDB API is queried for movie information:
- Title
- Year released
- IMDB rating
- Rotten Tomatoes rating
- Country
- Language
- Plot
- Actors
Command: 'node liri.js do-what-it-says'
Note: The outcome of the above command is determined by the contents of the random.txt file
Each time a command is entered, log.txt is appended with the resulting data