Git Product home page Git Product logo

liri-node-app's Introduction

liri-node-app

takes on of the following commands from terminal

concert-this spotify-this-song movie-this do-what-it-says

What Each Command Should Do

  1. node liri.js concert-this <artist/band name here>

This will search the Bands in Town Artist Events API ("https://rest.bandsintown.com/artists/" + artist + "/events?app_id=appID") 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")

https://rest.bandsintown.com/artists/celine+dion/events?app_id=appID

======================================================================

  1. node liri.js spotify-this-song ''

This will show the following information about the song in your terminal/bash window

Artist(s) The song's name A preview link of the song from Spotify The album that the song is from

If no song is provided then your program will default to "The Sign" by Ace of Base.

The Spotify API requires you sign up as a developer to generate the necessary credentials. You need to generate a client id and client secret.

==================================================================

  1. node liri.js movie-this ''

This will output the following information to your terminal/bash window:

  • 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 the user doesn't type a movie in, the program will output data for the movie 'Mr. Nobody.'

============================================================

  1. node liri.js do-what-it-says

Using the fs Node package, LIRI will 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," as follows the text in random.txt. Edit the text in random.txt to test out the feature for movie-this and concert-this.

=============================================================

At the end with each command the console log will be appended to log.txt file.

liri-node-app's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar meghedi avatar

Watchers

 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.