LIRI App

About LIRI

LIRI stands for Language Interpretation and Recognition Interface. It is a command line Node app that takes in certain parameters and returns data to the user.

How To Use LIRI

  1. Navigate to the root of the LIRI app in your terminal and type in node liri.js to initialize the app

  2. LIRI will as you to choose one of four commands:

    command prompt screenshot

    • Choose movie-this to search the OMDb API for details about a specific movie

      • LIRI will ask "Which movie do you want to search?":

        movie-this input prompt screenshot

      • If there is no movie name input, the app will default to searching the movie "Mr. Nobody"

        move-this default screenshot

      • It will return many details about the movie as shown below:

        movie-this screenshot

    • Choose concert-this to search the Bandsintown API for upcoming event related to a specific artist

      • LIRI will ask "Which artist do you want to search?":

        concert-this input prompt screenshot

      • If there is no artist name input, the app will ask you to input an artist again:

        concert-this second input prompt screenshot

      • There is no limit on the number of events returned, the data returned is completely based on the artist searched:

        concert-this screenshot

    • Choose spotify-this-song to search the node-spotify-api

      • LIRI wil as "Which song do you want to search?":

        spotify-this-song prompt screenshot

      • If there is no song title input, the app will default to searching "The Sign":

        spotify-this-song default screenshot

      • The app will return data on 10 songs related to your search:

        spotify-this-song screenshot

    • Choose do-what-it-says to run the command that is written in the file random.txt:

      do-what-it-says screenshot

  3. When you are done with the first command, LIRI will ask "Would you like to use another command?":

    restart prompt screenshot

    • Answer "Y" to continue using the app:

      restart yes screenshot

    • Answer "N" to exit the app:

      restart no screenshot

  4. LIRI logs all commands, inputs and outputs in the file log.txt

Technologies Used