Code Monkey home page Code Monkey logo

liri-node-app's Introduction

liri-node-app

Creaed a LIRI APP - LIRI is a Language Interpretation and Recognition Interface. It is a command line node app that takes in parameters and gives back data to the user.

LIRI will search Spotify for song titles, Bands in Town for concerts, and OMDB for movie titles.

Please find screen shots and a link to the video, located at the bottom of this markdown, that show the user flow of the application and the outcome.

The command lines below can be accepted by LIRI: Use arguments without quotes.

  • concert-this <"artist/band name here">
  • spotify-this-song <"song name here">
  • movie-this <"movie title here">
  • do-what-it-says

concert-this will search the Bands in Town Artist Events API for an artist and render the following information about each event to the terminal:

Name of the venue
Venue location
Date of the Event (use moment to format this as "MM/DD/YYYY")

spotify-this-song will search the Spotify API for an artist and render the following information to the terminal:

Artist(s)
The song's name
A preview link of the song from Spotify
The album that the song is from
If an error occurs, it will show in terminal. If user does not enter a song title, it will default to "The Sign" by Ace of Bass.

movie-this will search the OMBD API for a movie and render the following information to the terminal:

Title of the movie.
Year the movie came out.
IMDB Rating of the movie.
Rotten Tomatoes Rating of the movie.
Country where the movie was produced.
Language of the movie.
Plot of the movie.
Actors in the movie.
If an error occurs, it will show in terminal. If user does not enter a movie title, it will default to "Mr. Nobody".

do-what-it-says will use the fs Node package, take the text inside of random.txt and then use it to call one of LIRI's commands.

* It should run spotify-this-song for "I Want it That Way".
A log of all of the data retrieved in these searches will also be printed to "log.txt

concert-this example

Concert this example

spotify-this-song example

Spotify this example

movie-this example

Movie this example

movie-this example 2 (no movie title entered)

Movie this example2

do-what-it-says example

Do What It Says example

shows the data that is written to log.txt

Log.txt

https://drive.google.com/open?id=1jcUDswQEnd5y_tpn2z6Vn2KmmZ3F9vyv - Link to example video of going through user process for LIRI Bot app. Video example

liri-node-app's People

Contributors

bbanderson84 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.