Skip to content
A command line Node.js app I made that takes in parameters and gives you back data by using the axios package to make calls to the Bands in Town, Spotify and OMDB APIs.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
LIRI-Bot-demo.gif
LIRI-demo.gif
README.md
keys.js
liri.js
package-lock.json
package.json
random.txt

README.md

LIRI Bot

A command line Node.js app I made that takes in parameters and retrieves data about them. It will print the information it retrieves about upcoming concerts, any song name you choose to input, or any movie. It does so by using the Axios package to make calls to the Bands in Town, Spotify and OMDB APIs, and relies on a few different Node packages to make requests, read files, and format dates and times.

How to Deploy the App:

  1. Clone this repository down to your machine

  2. Run npm install in your command line to download the required packages

  3. At the command prompt, enter node liri <pass in a command depending on what you want LIRI Bot to do>

Command options:

  • node liri.js concert-this "<artist/band name here>": queries the Bands in Town API and displays upcoming concert information

  • node liri.js spotify-this-song "<song name here>": queries the Spotify API and displays data about the song

  • node liri.js movie-this "<movie name here>": queries the OMDB API and displays data about the movie (quotations around the movie name are important for this query)

  • node liri.js do-what-it-says: displays whatever's written in the random.txt file

Technologies Used:

  • Logic for the app was written with JavaScript.

  • Node.JS for the app's server environment.

  • 3 different API's:

    • Spotify
    • Bands in Town
    • OMDB
  • NPM for installation of various packages required by the app, including Node-Spotify-API, fs, axios, moment, DotEnv, and chalk for colors and bold text weighting in the command line.

LIRI Bot in Action:

demo gif

Author

Thor Nolan

You can’t perform that action at this time.