GithubHelp home page GithubHelp logo

liri's Introduction

Liri

Liri is a simple node CLI app that uses API requests to Spotify, OMDB, and Bands in town to allow users to search for information on songs, movies, and concerts.

Index

  1. How it works
  2. Instructions
  3. Built with

How it works

Liri uses two commands to make requests to one of three APIs, then once the response is returned, pulls relevant information from the JSON response. Future updates will return error messages and utilize inquirer for user input.

Instructions

setup

FIRST! You'll need to fork this repo and clone it to your computer; from that directory, you'll need to run

npm install

to install the packages and dependencies, and you'll need to create an app with spotify in order to use some of the functionality. Head here to learn more. Once you have a spotify key and a spotify secret(which are supplied once you create your spotify app), save them as the 'keys' variable as shown in the liri.js file. Done? Nice work!

use

THEN! Use node to run the liri.js app:

$ node liri

Then enter a search command; 'spotify-this' for song information, 'movie-this' for movie information, or 'concert-this' for upcoming concerts:

$ node liri spotify-this

Then enter the search term, and hit enter:

$ node liri concert-this whitney

Liri will return details about songs, movies, or upcoming concerts to the command line, and then uses the moment js package and node's fs module to log each search command and search term to a log file with a timestamp.

Built with

  • Node - Asynchronous, single-threaded js runtime environment

npm packages

liri's People

Contributors

dependabot[bot] avatar tylermorrisford avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.