Eco-Counter: Eco-Visio-API
Project description
EcoVisio
API zum Eco-Visio-Dashboard von Eco-Counter. Eco-Counter ist ein Technologieunternehmen mit Hauptsitz in Lannion, in der Bretagne. Zum Unternehmen zählen Filialen in Montreal (Kanada) und in Köln. Das Untenehmen betreibt u.a. Fahrrad- und Fußgängerzähler in unterschiedlichen Ländern, die in zahlreichen deutschen Städten z.B. Angaben wie "Radfahrende heute" oder "Radfahrende dieses Jahr" ausweisen. Teilweise sind die Zähler auch vollständig unterirdisch verlegt worden (z.B. zahlreiche Fahrradzählstellen in Hessen, vgl. https://data.eco-counter.com/ParcPublic/?id=8080).
Generell findet man in Deutschland überwiegend Fahrradzähler. In Rostock gibt es daneben auch Fußgängerzähler (https://data.eco-counter.com/ParcPublic/?id=888), ebenso in Schwerin (https://data.eco-counter.com/ParcPublic/?id=6116), in Greifswald (https://data.eco-counter.com/ParcPublic/?id=6997) oder in Böblingen (https://data.eco-counter.com/ParcPublic/?id=6811). In Ludwigsburg gibt es sogar separat ausgewiesene Autozähler von Eco-Counter (https://data.eco-counter.com/ParcPublic/?id=6011).
Eco-Visio ist ein Analysetool zur Auswertung der Daten. Auf dem Dashboard können die Zahlen unterschiedlicher Zähler eingesehen und verglichen werden.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Package version: 0.1.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python >= 3.6
Installation & Usage
pip install
pip install deutschland[EcoVisio]
poetry install
poetry add deutschland -E EcoVisio
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Usage
Import the package:
from deutschland import EcoVisio
Getting Started
Please follow the installation procedure and then run the following:
import time
from deutschland import EcoVisio
from pprint import pprint
from deutschland.EcoVisio.api import default_api
from deutschland.EcoVisio.model.all_counter import AllCounter
# Defining the host is optional and defaults to https://www.eco-visio.net/api/aladdin/1.0.0
# See configuration.py for a list of all supported configuration parameters.
configuration = EcoVisio.Configuration(
host = "https://www.eco-visio.net/api/aladdin/1.0.0"
)
# Enter a context with an instance of the API client
with EcoVisio.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = default_api.DefaultApi(api_client)
id_organisme = 4586 # int | Träger ID (default to 4586)
with_null = True # bool | Parameter ohne bekannten/dokumentierten Effekt. (optional)
end = "26/05/2022" # str | Spätestes interessierendes Datum (z.B. 26/05/2022). (optional)
begin = "01/01/2021" # str | Frühestes interessierendes Datum (z.B. 01/01/2021). (optional)
pratique = 1 # int | pratique i.S.v. interessierende Zählerart (z.B. 1=Fußgänger,2=Fahrräder, oder 12=Sternchen) (optional)
try:
# Zähler
api_response = api_instance.zaehler(id_organisme, with_null=with_null, end=end, begin=begin, pratique=pratique)
pprint(api_response)
except EcoVisio.ApiException as e:
print("Exception when calling DefaultApi->zaehler: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://www.eco-visio.net/api/aladdin/1.0.0
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | zaehler | GET /pbl/publicwebpageplus/{idOrganisme} | Zähler |
DefaultApi | zaehlerdaten | GET /pbl/publicwebpageplus/data/1 | Zählerdaten |
Documentation For Models
Documentation For Authorization
All endpoints do not require authorization.
Author
Notes for Large OpenAPI documents
If the OpenAPI document is large, imports in EcoVisio.apis and EcoVisio.models may fail with a RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:
Solution 1: Use specific imports for apis and models like:
from deutschland.EcoVisio.api.default_api import DefaultApi
from deutschland.EcoVisio.model.pet import Pet
Solution 2: Before importing the package, adjust the maximum recursion limit as shown below:
import sys
sys.setrecursionlimit(1500)
from deutschland import EcoVisio
from deutschland.EcoVisio.apis import *
from deutschland.EcoVisio.models import *
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file de-EcoVisio-0.1.0.tar.gz
.
File metadata
- Download URL: de-EcoVisio-0.1.0.tar.gz
- Upload date:
- Size: 45.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7e6946f6dbc2efea3dade0357a2589153d84395219bbef8b12d912fc663dcf3 |
|
MD5 | 9a87c4cfa7dbacd5315d85bccb511c93 |
|
BLAKE2b-256 | cebc93fedd4b263c0c20fd954fc330b64453dc8712ef9173aa1fef8a69bc95fa |
File details
Details for the file de_ecovisio-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: de_ecovisio-0.1.0-py3-none-any.whl
- Upload date:
- Size: 62.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c7dcebec81caa88d0a0f13a63faeceaeec0d16f3445ebc82b96e05d22fd422f |
|
MD5 | ddddfc9aa429064d9c0d135a0fe9e944 |
|
BLAKE2b-256 | e94cc37ce98b5560248a5f4be2efa8729d703f425bf0651b807d7e94c2e6f9b7 |
File details
Details for the file de_EcoVisio-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: de_EcoVisio-0.1.0-py3-none-any.whl
- Upload date:
- Size: 62.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c07e7622f530956c7e72b95cc66d74e426a0b1ffbc8816fe6c2d579e86e54f3 |
|
MD5 | 64243197bab45bd21d62e388a256288e |
|
BLAKE2b-256 | 237b5d226a4c63a91d60c7e5482dd6699c79347cedab9f157683c6f82500bfe4 |