liri-node-app

LIRI is a Language Interpretation and Recognition Interface. LIRI is a command line node app that takes in parameters (Spotify for songs, Bands in Town for concerts, and OMDB for movies) and gives you back data.

When using Liri, you will need to first innstall these packages from npm:

You will also need to create your own API keys for the following:

Once the above is complete, you can follow these instructions to make it work…

Steps to use

(assuming you clone to you machine)

  1. In the command line write: node liri.js
  2. Decide if you want to search for a song, concert, or movire
  3. Use the following corresponding command in the command line
    • spotify-this-song
    • movie-this
    • concert-this
    • do-what-it-says
  4. After the command, input the detail you are searching for (no need for quotes)
  5. All responses from commands performed will be stored in the corresponding log file

Example search in the command line

node liri movie-this elf

node liri spotify-this-song testify

node liri concert-this jonas brothers

node liri do-what-it-says

What happens with spotify-this-song

The node-spotify-api npm package will be triggered and will call the Spotify API. Then, this will show the following information about the song in your terminal/bash window and store the response into a corresponding log file:

What happens with movie-this

The OMDB API will be triggered and calls this API. Then, this will output the following information to your terminal/bash window and store the response into a corresponding log file:

What happens with concert-this

The Bands in Town Artist Events API will be triggered for an artist and render the following information about each event to the terminal and store the response into a corresponding log file:

What happens with do-what-it-says

This is an example of a the app reading existing informaiton that is programmed into a file. Run this command to see what the output will be

The technologies used in this app: