up osm cal extractor
This commit is contained in:
parent
8613d218cd
commit
6df72c46b8
2 changed files with 15 additions and 3 deletions
|
@ -5,7 +5,7 @@ SNCF Travaux Extractor for the OpenEventDatabase.
|
|||
This script fetches railway work schedules from the SNCF open data API
|
||||
and adds them to the OpenEventDatabase.
|
||||
|
||||
API URL: https://data.sncf.com/api/explore/v2.1/catalog/datasets/interceptions-programmees-sur-ligne/records?limit=200
|
||||
API URL: https://data.sncf.com/api/explore/v2.1/catalog/datasets/interceptions-programmees-sur-ligne/records?limit=100
|
||||
|
||||
Example data format:
|
||||
{
|
||||
|
@ -42,7 +42,7 @@ from oedb.utils.db import db_connect
|
|||
from oedb.utils.logging import logger
|
||||
|
||||
# API URL for SNCF open data
|
||||
API_URL = "https://data.sncf.com/api/explore/v2.1/catalog/datasets/interceptions-programmees-sur-ligne/records?limit=200"
|
||||
API_URL = "https://data.sncf.com/api/explore/v2.1/catalog/datasets/interceptions-programmees-sur-ligne/records?limit=100"
|
||||
|
||||
def fetch_sncf_data():
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue