JavaScript | Node | Request - npm | twitter - npm | node-spotify-api - npm
-
The LIRI App is a Terminal/Bash based Node app that accepts several arguments when it is executed by
node liri.js. -
Arguments & Examples:
node liri.js my-tweets- Uses the "twitter" npm package to pull the last twenty tweets from my twitter "https://twitter.com/PandaOfEvil"
node liri.js my-tweets billmaher- Themy-tweetscommand also accepts an twitter handles as arguments and will pull the last twenty tweets from the twitter account associated with the handle.
-
node liri.js movie-this- Uses the "Request" npm package to search the OMDB API; the default search is for "Mr. Nobody." -
node liri.js movie-this "Soylent Green"- Themovie-thiscommand also accepts movie names as arguments and will search the OMDB API for the movie entered.
-
node liri.js spotify-this-song- Uses the "node-spotify-api" npm package and "fs" to read from the random.txt file and search spotify for its contents,"The Sign - Ace of Base," and return information about the song. -
node liri.js spotify-this-song "Crazy Train"- Thespotify-this-songcommand also accepts song names as arguments and will return information from spotify on the searched song.



