Skip to content

wweaver/movie-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Node.js application to look up information about a movie

To run this application check it out:

$ git clone [email protected]:wweaver/movie-info.git

Then run the following to install the dependencies:

$ npm install

Then create a lib/credentials.json file with your rotten tomatoes and twitter api credentials in the following form:

{
    "twitter": {
        "consumer_key": "<CONSUMER KEY>",
        "consumer_secret": "<CONSUMER SECRET>",
        "access_token_key": "<ACCESS TOKEN KEY>",
        "access_token_secret": "<ACCESS TOKEN SECRET>"
    },
    "rotten": {
        "api_key": "<API KEY>"
    }
}

Lastly you should just be able to start the service by running:

$ node lib/index.js

To test it you can go into a browser at http://localhost:8000/ and submit a request for a movie. There are I'm sure some bugs but for most cases it should work for you.

The responses will contain 10 result from twitter that contain the movie title and all results from rotten tomatoes with that title.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published