LIRI is a backend app that allows its users to retrieve data using different API's such as Bands in Town, Spotify, and OMDB.
While in the directory of liri.js, use the command line to type a search term as follows:
(example) node liri concert-this Lady Gaga
First type node liri then type an operator your choices are:
-
concert-this
-
spotify-this-song
-
movie-this
-
do-what-it-says
finally type a search term
LiriBot uses NodeJS and the following npm packages:
- DotEnv
- Moment
- Axios
- Node-Spotify-API
You will need a .env file with this content
# Spotify API keys
SPOTIFY_ID=your-spotify-id
SPOTIFY_SECRET=your-spoitfy-secret
# Bands in town App ID
BANDSINTOWN_ID=your-bands-in-town-id
# OMDB key
OMDB_KEY=your-omdb-key
- Using axios, the user can use the Bands in Town API to retrieve the dates and locations for an artists upcoming concerts.
- Using the Spotify API, the usier can type in a song and find out the artist, a spotify link to the song, and the name of the album the song was from.
- Using Spotify API, if no song is provided then your program will default to "The Sign" by Ace of Base.
- Using the OMDB API, the user can find out when a movie came out, the country it was produced in, the plot, and its main actors.
- Using OMDB API If the user doesn't type a movie in, the program will output data for the movie 'Mr. Nobody.'
- Lastly, if the user uses the do-what-it-says command Liri will use the fs Node package, take the text inside of random.txt and then use it to call one of LIRI's commands.
- Eric Max Valdivia - https://github.com/Ericv0801





