https://github.com/ingran/raijin
Consulting service for the timezone of your electric rate
https://github.com/ingran/raijin
rest-api restful-api web-services
Last synced: over 1 year ago
JSON representation
Consulting service for the timezone of your electric rate
- Host: GitHub
- URL: https://github.com/ingran/raijin
- Owner: ingran
- License: agpl-3.0
- Created: 2018-02-04T16:17:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-05T16:21:04.000Z (over 6 years ago)
- Last Synced: 2025-01-24T12:45:52.184Z (over 1 year ago)
- Topics: rest-api, restful-api, web-services
- Language: Python
- Size: 33.2 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raijin
Consulting service for the timezone of your electric rate
### Installation
You can install from source with:
```
$ git clone https://github.com/ingran/raijin.git --recursive
$ cd raijin
$ pip install -r requirements.txt
```
### Configuration
#### Holidays
The file `holidays.json` in folder `config` contains the oficial holidays marked by [OMIE](http://www.omel.es/inicio/mercados-y-productos/mercado-electricidad/calendarios-y-periodos)
The structure of the file is one entry with the year as property name and array of 12 arrays. Each array represents one month and the values os the array of each month reprents a holiday. You can use `holidays_scheme.json` to create new holidays file for custom service.
#### Tariffs
The file `tariffs.json` in flder `config` contains the timezones of the different tariffs.
The structure of the file is one property with name ***tariffs***, wich contains an array of tariff objects.
You can use `tariffs_scheme.json` to create new tariffs file for custom service.