Skip to content

A Reddit bot that makes requests to Netflix for users (finding movies, directors, actors on streaming).

Notifications You must be signed in to change notification settings

alanwright/NetflixBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Description

NetflixBot is designed to be a bot that listens for mentions and when called upon (correctly) replies with whether a movie is currently streamable on Netflix (in the US). You can now also ask for a list of movies starring any actor or directed by any director on Netflix instant.

Image of sample response

How to Call NetflixBot

Calling NetflixBot is simple, but if you enter an incorrect character (as of now) it may return inaccurate information, OR may not recognize a call. The proper call syntax is:

Movies

For a single movie:

/u/netflixbot movie1

For a list of movies:

/u/netflixbot movie1,movie2,movie3

OR...

/u/netflixbot movie1, movie2, movie3

If a title has comma in it, you should specify the title in quotes:

/u/netflixbot Breaking Bad, "Lock, Stock and Two Smoking Barrels", Don Jon

Directors

For a list of movies directed by a director:

/u/netflixbot Director: Quentin Tarantino

Actors

For a list of movies starring an actor:

/u/netflixbot Actor: Bruce Willis

Making Multiple Calls

To make multiple calls (of any type) in one comment:

/u/netflixbot Pulp Fiction, Breaking Bad

/u/netflixbot Director: David Fincher

/u/netflixbot Actor: Ben Stiller

Important Notes

  • It must be "/u/netflixbot" with both '/' on all call lines
  • All calls must be on their own line
  • Capitlization does not matter
  • Title must match exactly; this causes problems for some things like "The Office" which is "The Office (U.S.)" on Netflix
  • There can be spaces between items in a list
  • You can put any amount of text before the line where you call /u/netflixbot or after (careful of bullet 3)

How to Clone and Run NetflixBot

NetflixBot was written to run in Python 2.7 and you will need the following packages:

  • PRAW (Reddit Python API)
  • NetflixRouletteAPI (For new features you will need NetflixRoulettePython)
  • enum34 for enum support

Instructions:

Then run the following commands:

$ pip install praw

$ pip install NetflixRouletteAPI

$ pip install enum34
$ python NetflixBot.py

##Additional Notes Why is it US only? Reddit is an international community!

Right now the NetflixRouletteAPI only supports the US, and since I use this API, I can currently only support US accuracy. There are updates in the works to support this so stay tuned! :)

Alan Wright

About

A Reddit bot that makes requests to Netflix for users (finding movies, directors, actors on streaming).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages