https://github.com/heincm/liri
A CLI app that makes API various API calls
https://github.com/heincm/liri
api api-call node
Last synced: about 1 year ago
JSON representation
A CLI app that makes API various API calls
- Host: GitHub
- URL: https://github.com/heincm/liri
- Owner: heincm
- Created: 2019-01-27T14:43:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T11:38:24.000Z (over 3 years ago)
- Last Synced: 2025-02-09T03:42:15.756Z (about 1 year ago)
- Topics: api, api-call, node
- Language: JavaScript
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LIRI Bot
### Overview
For this assignment, I created LIRI a _Language_ Interpretation and Recognition Interface. LIRI is a command line node app that takes in parameters and gives you back data.
### How it Works
There are four command line functions that can be utlizied with this CLI.
* `concert-this`
* `spotify-this-song`
* `movie-this`
* `do-what-it-says`
Along with the first three commands, LIRI also takes in a search term provided by the user to search for information about the given term.
`do-what-it-says` will read a text file, `random.txt` and will run the command with provided in that file.
Each of the four commands will display information in the terminal. In addition, if there is no existing `log.txt` file, one will be created with the requested information. If the `log.txt` file already exists, the new information will be appended to the end of the file.
#### Concert-this
* This searches the Bands in Town Artist Events API for an artist and renders the following information about each event to the terminal:
* Name of the venue
* Venue location
* Date of the Event
#### 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
#### Movie-this
* This displays the following information to the 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.'
#### 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.
### See it in action
https://drive.google.com/file/d/1iE29KVr3TUbnbvFSAdUO6Y-pVqNuKq5B/view?usp=sharing