ooooo ooooo o8o ooooo o8o ooooo o8o o8o
`888' `888' `"' `888' `YP `888' `"' `"'
888 888 oooo 888 ' ooo. .oo. .oo. 888 oooo oooo d8b oooo
888ooooo888 `888 888 `888P"Y88bP"Y88b 888 `888 `888""8P `888
888 888 888 888 888 888 888 888 888 888 888
888 888 888 .o. 888 888 888 888 888 o 888 888 888 .o.
o888o o888o o888o Y8P o888o o888o o888o o888o o888ooooood8 o888o d888b o888o Y8P
Meet Liri, a Language Interpretation and Recognition Interface. Ask Liri to find concerts, songs, and movies. 🎶📺
This project requires npm
to install third party libraries by using the command line. dotenv
is used to load API keys
from an .env
file. Inquirer
is used to collect user input. Based on the user input, Liri will use Request
to make an HTTP request to the Bands in Town API, the Node Spotify API
, and Axios
to make an HTTP request to the OMDb API. Dates are parsed and manipulated using moment
. Data logged in the terminal is styled with Chalk
and the ASCII art is made using Nick Miner's FIGlet font, Roman. Search results are logged in a .txt
file using fs
.
To properly use this Node app, you will need to request a Spotify key, a Bands In Town key, and a OMDb key. These keys must be stored in an .env
file in the following format:
# Spotify API keys
SPOTIFY_ID=your-spotify-id
SPOTIFY_SECRET=your-spotify-secret
# Bands In Town API key
BANDSINTOWN_ID=your-bandsintown-id
# OMDb API key
OMDB_ID=your-omdb-id
- Initialize Liri.
- After cloning or downloading the liri-node-app repo and creating an
.env
file with your API keys, enternode liri
in the command line to call Liri into action.
- Give a command.
- When prompted, give Liri your command. Your options include:
- Find concert dates
- Search for a song
- Look up a movie
- Another function
- Enter your query.
- After giving your command, let Liri know specifically which concert, song, movie, or function you would like to search for.
- Log search results.
- All valid search results are entered in the
log.txt
file.
- Read and repeat!
- Liri will provide your search results right in the terminal and ask if you'd like to search for something else, as long as you'd like!
A video tutorial is available, but if you have any further questions about this project, visit my portfolio and send me a message.
This project is lovingly (and casually) maintained by me, @fkakatie. Thanks for checking it out.