Skip to content

alex-engelmann/liri-node-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

liri-node-app

Overview

This Node.js app queries different concert (BandsInTown), music (Spotify), and movie (OMDB) APIs and displays relevant results to the user. It can load commands from a text file, and logs all queries to a text file as well. Note that since Spotify API access requires a private key, relevant code is commented out so anyone can quickly clone and test this repository.

It can take in one of 4 commands as parameters:

  1. concert-this will find and display an artist's next 3 upcoming events, including their dates and locations.

concert-this screenshot

  1. spotify-this-song will find and display the artist and album of the entered song title

spotify-this-song screenshot

  1. movie-this will find and display basic information about a movie including the year it was released, ratings, cast, and a short plot summary

movie-this screenshot

  1. do-what-it-says will run the command it finds on the first line of random.txt, which will be one of the above 3

do-what-it-says screenshot

Regardless of which command is ultimately run, the queries are stored locally in a log.txt file. If no input is given to the command, there are defaults in place for all commands (try it to find out!).

movie-this no input screenshot

Dependencies

This Node app requires the following NPM modules in order to function properly:

About

A language interpretation and recognition interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published