Skip to content

kqdreger/statflix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Statflix.rb

A small Ruby script to aggregate your Netflix Recently Watched (RW) history. I've always wondered why Netflix didn't include a personal "account statistics" section, but this was my first attempt at rolling my own.

How to use

Just put your Netflix email and password into the appropriate fields and then run ruby statflix.rb. The script will print out everything that you've watched today and add together the sum of the time spent watching.

JSON data

If you want some data to test locally, log in to you Netflix account in any browser and navigate to https://api-global.netflix.com/desktop/account/viewinghistory. This will return a JSON file of your RW history.

Possible use

Personally, I wrote this script as a way to generate a report that I will then send in a daily email. Other uses could be:

  • Daily backup of RW history
  • Pipe the data to Google Charts and create sweet data-driven info-graphs!
  • NRWHAASA (Netflix Recently Watched History As A Service)

Contributions

Pull requests are welcome.

About

🍿 Aggregating data from your Netflix recently watched history

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages