项目作者: caitlanjeffrey

项目描述 :
Liri Bot Welcomes you... LIRI is like 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.
高级语言: JavaScript
项目地址: git://github.com/caitlanjeffrey/liri-node-app.git
创建时间: 2019-11-19T02:12:03Z
项目社区:https://github.com/caitlanjeffrey/liri-node-app

开源协议:

下载


LIRI-Node-App:

Liri Bot Welcomes you…

LIRI is like 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.

LIRI uses the following commands:

  1. * Concerts/Bands:
  2. 'concert-this'
  3. * Songs:
  4. 'spotify-this-song'
  5. * Movies:
  6. 'movie-this'
  7. * Command:
  8. 'do-what-it-says'

Technologies used:

  1. * Node.js
  2. * Javascript

npm packages:

spotify - A simple API library for the Spotify REST API.
axios - Axiox is designed to be the simplest way possible to make http calls.
dotenv - Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env.
fs - File read package
colors - adding a bit of flare when separating the commands above.

How to Run LIRI-Bot:

Step One: node liri concert-this will show the artist that you searched.

  1. This will show the following information about the artist in your terminal/bash window:
  2. Artist name
  3. Venue name
  4. City, State, Country where concert is held
  5. Time of concert
  6. Example: (./images/concert-this-artistSelected.png)
  7. If no concert is provided then the program will default to "Taylor Swift" (./images/concert-this-noArtist.png).

Step Two: node liri spotify-this-song will show the song that you searched.

  1. This will show the following information about the song in your terminal/bash window:
  2. Artist(s)
  3. The song's name
  4. A preview link of the song from Spotify
  5. The album that the song is from
  6. Example: (./images/songs-songSelected.png)
  7. If no song is provided then the program will default to "Barbie Tingz" by Nicki Minaj (./images/songs-noSongSelected.png).

Step Three: node liri.js movie-this .

  1. This will output the following information to your terminal/bash window:
  2. Title of the movie.
  3. Plot of the movie.
  4. Actors in the movie.
  5. Year the movie came out.
  6. Country where the movie was produced.
  7. Language of the movie.
  8. IMDB Rating of the movie.
  9. Rotten Tomatoes Rating.
  10. Example: (./images/movies-movieSelected.png)
  11. If the user doesn't type a movie in, the program will output data for the movie 'Monty Python and the Holy Grail' (./images/movies-noMovieSelected.png).

Step Four: node liri.js do-what-it-says

  1. This will output the command placed in random.txt file: (./images/do-what-it-says.png)

Author

Caitlan Jeffrey

Special Thanks

Thanks to my TA’s for helping me through my project!