1.2.5 • Published 6 years ago

@nikochaffin/pge-data v1.2.5

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

PG&E Data Scraper

Opens the PG&E account login via a PhantomJS instance, navigates to the appropriate page containing usage chart data, then makes AJAX requests for all electricity usage data that can be returned.

CLI Usage

ArgumentShorthandDescription
creds-filerA credentials file to use for authentication. Must be a JSON file with "username" and "password" keys. Can be used instead of the --username and --password options.
to-filetThe file path to save the resulting usage data to. Data is saved in JSON format.
usernameuUsername to user for authentication. Must be used with the --password option.
passwordpPassword to user for authentication. Must be used with the --username option.
helphPrint this usage guide.