Giter VIP home page Giter VIP logo

liri-node-app's Introduction

Liri Node App

A Siri-inspired Node application for retrieving data from Twitter, Spotify, and OMDB

Prerequisites

  1. NodeJS - Liri requires node to be installed

  2. To install node visit NodeJS Website.

Installation

Clone the Git repository

$ git clone <repo>

Navigate to the directory and install the dependencies

$ npm install

API Keys

Liri requires the user to provide API keys for individual access to the Twitter, Spotify, and OMDB APIs

  1. Create a file called ".env" in the same directory with the following structure:

    # Spotify API keys
    SPOTIFY_ID=your-spotify-id
    SPOTIFY_SECRET=your-spotify-secret
     
    # Twitter API keys
    TWITTER_CONSUMER_KEY=your-twitter-consumer-key
    TWITTER_CONSUMER_SECRET=your-twitter-consumer-secret
    TWITTER_ACCESS_TOKEN_KEY=your-access-token-key
    TWITTER_ACCESS_TOKEN_SECRET=your-twitter-access-token-secret
     
    # OMDB API key
    OMDB_API_KEY=your-omdb-api-key
    

Usage & Commands

Liri example

my-tweets

Retrieve latest tweets from Twitter account

 $ node liri.js my-tweets

spotify-this-song <song name>

Retrieve track information from Spotify.

 $ node liri.js spotify-this-song "title"

movie-this <movie name>

Retrieve movie information from OMDB.

 $ node liri.js movie-this "title"

do-what-it-says

 $ node liri.js do-what-it-says

liri-node-app's People

Contributors

pat-knight avatar

Watchers

James Cloos 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.