LIRI = Language Interpretation and Recognition Interface.
LIRI is a command line node app that takes in parameters and gives you back data.
- This command uses the bands in town API to search for the users entered Band/Artist.
- 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.
- 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."
- This command uses the File-system package to read an external text file and return a result based on its contents.
- 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
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.