Giter VIP home page Giter VIP logo

liri_node_app's Introduction

liri_node_app

Welcome to the LIRI app. This app is request-style app with 4 options.

my-tweets - select the my-tweets option and LIRI will reach out to the Twitter database and return my most recent tweets

spotify-this-song - select the spotify-this-song option and provide the name of a song you would like LIRI to look up. LIRI will return 5(if available) objects with that song name from the Spotify database and provide some basic information on those songs.

movie-this - select the movie-this option and provide the name of a movie you would like LIRI to look up. LIRI will reach out to the OMDB database and return some basic information for that particular movie. do-what-it-says - This will reach out to a text file(random.txt) and run the commands(one each of the above) with some pre-set look-up information.

This app works both with user input command line arguments and without. If the user does not input any arguments, the inquirer node package will be engaged and request which of the options they would like to select. If the particular option requires more information(my-tweets, spotify song name, or movie name), inquirer will then also ask for that information.

Dependencies required(included in package.json file): "inquirer": "^5.2.0", "node-spotify-api": "^1.0.7", "request": "^2.86.0", "twitter": "^1.7.1"

To start: Simply navigate to the directory you saved the app to. Enter "npm i" in the command line to retrieve the required dependencies. Type "node liri.js" and you will be directed to select which option you would like to try and a topic(if required). If you wish to go go directly into a command, type any of the below: twitter lookup - "node liri.js my-tweets 'topic to look up'" spotify a song - "node liri.js spotify-this-song 'song to look up'" movie lookup - "node liri.js movie-this 'movie to look up' " default lookup(one example of each of the above 3) - "node liri.js do-what-it-says"

In addition, all returned data will be saved in the log.txt file for future lookup if required.

liri_node_app's People

Contributors

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