Jantman Xfinity Usage Versions Save

Python/selenium script to get Xfinity bandwidth usage

3.0.3

5 years ago
  • Updated README with information about usage in Docker & kubernetes

3.0.2

5 years ago
  • New maintainer: @billimek

3.0.1

5 years ago
  • I'm canceling my Xfinity service and switching to AT&T Fiber. Updated README stating that I'm looking for a new maintainer for the project.

3.0.0

6 years ago
  • Get raw JSON data from the https://customer.xfinity.com/apis/services/internet/usage endpoint.
  • If the above succeeds, use this for data source instead of screen-scraping the page.
  • Add raw JSON data from above to output in "raw" key.
  • Add scrape time to JSON output in "data_timestamp" key.

2.0.2

6 years ago
  • Fix run() method exception handler calling .quit() on missing browser attribute when get_browser() raises an exception, causing a confusing traceback.
  • Fix issue where remember_me checkbox is not clickable using Chrome Headless, resulting in "Element is not clickable" / "Other element would receive the click" error.

2.0.1

6 years ago
  • Update README.rst with example of Python usage.
  • Fix CHANGELOG formatting

2.0.0

6 years ago
  • Package as a real Python package and upload to PyPI; this changes the layout of the repository, but if you want to use the previous script unmodified you can now do so via pip install xfinity-usage instead of having to git clone.
  • Add support for unit tests, but no real tests yet
  • Add support for optionally sending metrics to a Graphite <https://graphiteapp.org/>_ instance.

1.2.0

6 years ago

Update for redesign that removed ng-if="device.usage" element.

1.1.0

6 years ago
  • Merge PR #6 from ericzinnikas to handle reporting used amount even if it is over data cap.

1.0.0

6 years ago

1.0.0 2017-11-06 Jason Antman [email protected]

  • Added VERSION constant and began tagging git repo for releases
  • Updated User-Agent string to latest chrome, with "xfinity-usage/VERSION" appended.
  • Exposed browser_name parameter on class and as command line argument to allow use with browsers other than phantomjs.
  • Added headless chromedriver browser option.
  • Set window size to 1024x768 for all browser types.