LIRI is like iPhone's SIRI. However, while SIRI is a Speech Interpretation and Recognition Interface, LIRI is a Language Interpretation and Recognition Interface. LIRI will be a command line node app that takes in parameters and gives you back data.
Create a app to practice Node.js.
Javascript is used to retrieve data from APIs.
Node.js is used to run Javascript.
-
Type in
node liri.js concert-this '<artist/band name here>'
in terminal to get concert information like below:
-
Type in
node liri.js spotify-this-song '<song name here>'
in terminal to get music information like below:
-
Type in
node liri.js movie-this '<movie name here>'
in terminal to get movie detail like below:
-
Type in
node liri.js do-what-it-says
in terminal to call the function in the random.txt like below: