Giter Club home page Giter Club logo

liri-node-app's Introduction

LIRI BOT

Overview

The challenge was to use Node JS to create a LIRI bot, like iPhone's SIRI, but takes in command through Language vs. Speech. LIRI is a command line node app that takes in parameters and returns data based on one of four commands:

my-tweets

spotify-this-song

movie-this

do-what-it-says

The application also logs every command response to the log.txt file to record user search results.

Getting Started

Clone down repo. Run command 'npm install' in Terminal or GitBash Run command 'node liri.js' or one of the commands below.

liri

Commands

node liri.js my-tweets Displays my last 20 tweets and when they were created in terminal/bash window

tweet

node liri.js spotify-this-song Shows the following information about the song in terminal/bash window. Artist(s) The song's name A preview link of the song from Spotify The album that the song is from Or if no song is passed through, it will default to *"Forgot About Dre" by Dr. Dre

spotify

node liri.js movie-this Shows the following information in terminal/bash. Title of the movie. Year the movie came out. IMDB Rating of the movie. Country where the movie was produced. Language of the movie. Plot of the movie. Actors in the movie. Rotten Tomatoes Rating. Rotten Tomatoes URL. Or if no movie is passed through, it will default to "Mr. Nobody"

movie

node liri.js do-what-it-says

Takes the text from random.txt and runs the song through spotify-this-song command

do

Technologies

Node.js Javascript Twitter NPM Package - https://www.npmjs.com/package/twitter Spotify NPM Package - https://www.npmjs.com/package/spotify Request NPM Package - https://www.npmjs.com/package/request

liri-node-app's People

Contributors

ppreyer 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.