Creator: Mohamed Juseph
Created on: July 31st 2019
LIRI is a Language Interpretation and Recognition Interface. LIRI is a command line node app that takes in parameters and gives back data. The user has the option of using four commands (listed below) in conjuntion with specific parameters associated with the commands. The Commands
are:
-
concert-this
-
spotify-this-song
-
movie-this
-
do-what-it-says
-
Open your terminal such as Bash.
-
Navigate to the folder that contains the
liri.js
file. -
Depending on the command you run, the output will vary.
Example 1: Run the
concert-this
commandnode liri.js concert-this <name of artist or band>
Output: The system will display a list of all events and locations where the artist or band will perform. It can result in multiple records. The system will also log all the results in the log.txt file. See screen-shot below:
Example 2: Run the
spotify-this-song
commandnode liri.js spotify-this-song <name of song>
Output: The system will display a list of information associated with the song. It can result in multiple records. The system will also log all the results in the log.txt file. See screen-shot below:
Example 3: Run the
movie-this
commandnode liri.js movie-this <name of movie>
Output: The system will display information associated with the movie. The system will also log all the results in the log.txt file. See screen-shot below:
Example 4: Run the
do-what-it-says
commandnode liri.js do-what-it-says
Output: The system will read the text in the random.txt file, and perform the comman listed in the random.txt file.
See screen-shot below:
- Javascript
- Nodejs
- Node packages:
- Node-Spotify-API
- Request
- Moment
- DotEnv
- APIs used:
- Bands in Town
- OMDB
- Git
- GitHub# liri-node-app