Skip to content

LIRI is a command line node app that takes in parameters and gives you back data.

Notifications You must be signed in to change notification settings

MG1982/liri-node-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIRI NODE APP

LIRI = Language Interpretation and Recognition Interface.
LIRI is a command line node app that takes in parameters and gives you back data.

User commands

concert-this

  • This command uses the bands in town API to search for the users entered Band/Artist.

spotify-this-song

  • This command uses the Spotify API to search for the users Song Name.
  • If no song name is entered it will return results for "The Sign" by Ace of Base.

movie-this

  • This command uses the OMDB API to search for the users Movie Name.
  • If no movie name is entered it will return results for "Mr. Nobody."

do-what-it-says

  • This command uses the File-system package to read an external text file and return a result based on its contents.

GIF Examples:

node liri concert-this Tool

alt text

node liri spotify-this-song Set You Free

alt text

node liri movie-this The Matrix

alt text

node liri do-what-it-says

alt text

IMG Examples:

Command Error

alt text

Spotify-this no input

alt text

movie-this no input

alt text

Built With

  • Visual Studio Code - Text editor
  • JavaScript - Script language
  • Node.js - Runtime environment
  • JSON - Data format
  • API's - Bandsintown, OMDB & Spotify
  • Packages - axios, dotenv, File-system, Moment

Here are the steps if you want to run this on your local machine

STEP 1. Clone it to your local machine.

STEP 2. Aquire your own Spotify API ID and Secret https://developer.spotify.com/documentation/web-api/

STEP 3. Next, create a file named .env, add the following to it, replacing the values > with your API keys once you have them:
SPOTIFY_ID="your-spotify-id"
SPOTIFY_SECRET="your-spotify-secret"

STEP 4. Open the Liri Node App folder in your code editor then open the Terminal and type 'npm install' - press enter wait for the install and then you can try the commands listed above.

About

LIRI is a command line node app that takes in parameters and gives you back data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published