Github repository for datagaz.fr. This repository contains the necessary source code to fetch data and run data gaz website
In this folder, you will find utility scripts you can use to fetch and update data.
- Install Python dependencies (tested with Python 3.8 & 3.9)
pip install -r requirements.txt
- Fetch data from sources (AGSI and ENTSOG):
python3 update_data.py
- Upload data to Github (create file used by the website):
python3 upload_data.py
In this folder, you will find source code for the website datagaz.fr
- Install node dependencies:
npm install
- Start the development server (Open http://localhost:3000 to view it in your browser.):
npm start
- Build the app for production:
npm run build
Data comes from two providers:
- AGSI: For storage data. Note that you will need an api key to request this API
(you should provide it in
backend/config.py
, fieldx-key
). You can get an api (for free) by creating an account on the platform - ENTSOG: For consumption and flow data. You don't need any account to query the API
Feel free to open issues or pull request if you find bugs or want to add some improvements to the code base.
If you want to contact me for other purpose (non-tech), you can use the contact link on the website.
Future development will focus on adding more useful data on the website.
Licence Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License (see Licence)
Copyright (c) 2022 Nicolas MAUTI