Skip to content

scrape your electrical energy usage data from portaledistributore.edyna.net

Notifications You must be signed in to change notification settings

schgab/goenergy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goenergy

goenergy is a tool designed to scrape your electrical energy usage data from the portaledistributore.edyna.net website, as they do not provide a public API.

Installation

Download the prebuilt binary from releases or compile it yourself:

  1. Clone the repository:
    git clone https://github.com/schgab/goenergy.git
  2. Navigate to the project directory:
    cd goenergy
  3. Install dependencies:
    go mod tidy

Usage

To use goenergy, you need an account on portaledistributore.edyna.net. Run the following command, replacing <username>, <password>, and <codice_misuratore> with your actual credentials:

./goenergy -u <username> -p <password> -d <codice_misuratore>

To output the data to a CSV file, you can use the -o flag. The filename will follow the pattern <codice_misuratore>_<year>_<month>.csv. Here is an example command:

./goenergy -u <username> -p <password> -d <codice_misuratore> -o

For additional options and help, you can print the help message:

./goenergy --help

Disclaimer

This project is not affiliated with or endorsed by portaledistributore.edyna.net.

About

scrape your electrical energy usage data from portaledistributore.edyna.net

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages