LIRIBOT
An intelligent bot made with node.js.
LIRI is a Language Interpretation and Recognition Interface, which is a command line node app that takes in parameters and gives you back data.
Liri can give you information about:
- approaching concert dates and places of the groups you like.
- the movies you like.
- songs you like.
How It Works
Applications uses 3 different API's and brings the user specific data:
- For the information about movies it uses OMDP API.
- For the information about songs, it uses Spotify API. For this function to work, the user himself/herself must have an API key of their own.
- For the information about concerts, it uses Bands in Town API.
Usage
-
node liri.js concert-this <artist/band name here>
➰ This will render the following information about each event to the terminal:
* Name of the venue * Venue location * Date of the Event
-
node liri.js spotify-this-song '<song name here>'
➰ This will show the following information about the song in your terminal/bash window
* Artist(s) * The song's name * A preview link of the song from Spotify * The album that the song is from
- If no song is provided then the program will default to "The Sign" by Ace of Base.
-
node liri.js movie-this '<movie name here>'
➰ This will output the following information to your terminal/bash window:
* Title of the movie. * Year the movie came out. * IMDB Rating of the movie. * Rotten Tomatoes Rating of the movie. * Country where the movie was produced. * Language of the movie. * Plot of the movie. * Actors in the movie.
- If you don't type a movie in, the program will output data for the movie 'Mr. Nobody.'
-
node liri.js do-what-it-says
➰ This will prompt you about the action you want to take, and your search query.
-
node liri.js last-search
➰ The program automatically creates a random.txt file and keeps your last function and search parameter inside.
-
last-search will bring you the last function and search parameter.
-
‼️ Warning: The program also creates a log.txt file and logs all of your search parameters.
-
-
node liri.js search-log
➰ This command prints the search history from log.txt file in your console.
-
node liri.js clear-data
➰ When user is finished using the program, they can delete the log.txt and random.txt files by using this command.
‼️ Warning: Be careful with this command! When it's deleted, you can't get your search information back.