Skip to content
Ericv0801Public

About

LIRI BOT -App is designed for backend use. It allows the user to search through Spotify for song information, BandsInTown for concert information, and IMDB for movie information using APIs. User input is recorded in a separate file in case they would like to review past results.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

prinify

Overview

LIRI is a backend app that allows its users to retrieve data using different API's such as Bands in Town, Spotify, and OMDB.

Instructions

While in the directory of liri.js, use the command line to type a search term as follows:

(example) node liri concert-this Lady Gaga

First type node liri then type an operator your choices are:

  • concert-this

  • spotify-this-song

  • movie-this

  • do-what-it-says

finally type a search term

Requirements

LiriBot uses NodeJS and the following npm packages:

  • DotEnv
  • Moment
  • Axios
  • Node-Spotify-API

You will need a .env file with this content

# Spotify API keys

SPOTIFY_ID=your-spotify-id
SPOTIFY_SECRET=your-spoitfy-secret


# Bands in town App ID

BANDSINTOWN_ID=your-bands-in-town-id


# OMDB key

OMDB_KEY=your-omdb-key

Features

  • Using axios, the user can use the Bands in Town API to retrieve the dates and locations for an artists upcoming concerts.

concert-this

  • Using the Spotify API, the usier can type in a song and find out the artist, a spotify link to the song, and the name of the album the song was from.

spotify-this-song(input)

  • Using Spotify API, if no song is provided then your program will default to "The Sign" by Ace of Base.

spotify-this-song(no user input)

  • Using the OMDB API, the user can find out when a movie came out, the country it was produced in, the plot, and its main actors.

movie-this (input)

  • Using OMDB API If the user doesn't type a movie in, the program will output data for the movie 'Mr. Nobody.'

movie-this(no user input)

  • Lastly, if the user uses the do-what-it-says command Liri will use the fs Node package, take the text inside of random.txt and then use it to call one of LIRI's commands.

do what it says

Authors

About

LIRI BOT -App is designed for backend use. It allows the user to search through Spotify for song information, BandsInTown for concert information, and IMDB for movie information using APIs. User input is recorded in a separate file in case they would like to review past results.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages