Skip to content

Language Interpretation and Recognition Interface

Notifications You must be signed in to change notification settings

warnerjc/liri-node-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIRI

Language Interpretation and Recognition Interface

LIRI is like iPhone's SIRI. However, while SIRI is a Speech Interpretation and Recognition Interface, LIRI is a Language Interpretation and Recognition Interface. LIRI is a command line node app that takes in parameters and gives you back data.

User must provide own API keys for application to function properly

Language(s)

  1. JavaScript & Node.JS - code for command line LIRI application

Required Packages & Files

  1. .env - environment file holding user's own API keys (Spotify & Twitter)
  2. dotenv - node npm package for environment files npm install dotenv --save
  3. node-spotify-api - node npm package for Spotify requests npm install --save node-spotify-api
  4. twitter - node npm package for Twitter requests npm install twitter
  5. request - node npm package for http(s) requests npm install request
  6. fs - node npm package for file system functionality

LIRI Bot Commands - Current as of 4/12/2018

LIRI currently accepts the following commands

  • my-tweets user-name ( Will return 20 most recent user Twitter tweets if username is valid )
  • spotify-this-song song-title ( Will return best match on Spotify if the song title is valid )
  • movie-this movie-title ( Will return best match on OMDB if the movie title is valid )
  • do-what-it-says ( Will read action from random.txt and execute proper action block )

Log File - In Progress

  • Added a log file to record all user action when using the LIRI application
  • Current functionality only extended to my-tweets

Copyright (c) Jason Warner 2018

About

Language Interpretation and Recognition Interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published