https://github.com/bundesapi/rigoletto-api
rigoletto app api
https://github.com/bundesapi/rigoletto-api
Last synced: 9 days ago
JSON representation
rigoletto app api
- Host: GitHub
- URL: https://github.com/bundesapi/rigoletto-api
- Owner: bundesAPI
- Created: 2022-10-21T12:50:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-17T16:18:41.000Z (over 2 years ago)
- Last Synced: 2025-04-23T06:48:44.054Z (9 days ago)
- Language: Python
- Homepage: https://rigoletto.uba.api.bund.dev
- Size: 60.5 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[[DE]](README.md)/[[EN]](README_en.md)
# [_TEMPLATE_]
## Quickstart
- Add openAPI spec in German to _openapi.yml_
- Add openAPI spec in English to _openapi_en.yml_ (or remove _openapi_en.yml_ )
- Update _index.html_ (insert the API-name in the title)
- Update _generator_config.yaml_ (Update all values surrounded with <>)
- Update the url in _CNAME_ once the api has its own subdomain
- Replace the content of README.md with a German description of the API
- Fill (or remove) README_en.md or add README-files in other languages.## Add Library to deutschland package
Fork the [deutschland](https://github.com/bundesAPI/deutschland) package:
1. In the `pyproject.toml` of the [deutschland-package](https://github.com/bundesAPI/deutschland/blob/main/pyproject.toml) add a entry in the dependency section. The values for `` and `` must match with the values in `generator_config.yaml`
For Example:```de-`` = {version= "^``", optional = true}```
2. Under the ```[tool.poetry.extras]``` section add the following
```` =["de-``"]```
Also add de-name in the all list:
```
all = ["de-bundestag-lobbyregister","de-dip-bundestag","de-pegel-online","de-ausbildungssuche",
"de-berufssprachkurssuche","de-coachingangebote","de-dip-bundestag","de-entgeltatlas",
"de-hochwasserzentralen","de-pflanzenschutzmittelzulassung","de-studiensuche",
"de-tagesschau", "de-weiterbildungssuche","de-feiertage",...,"de-``"]
```3. Add apis into [test_imports.py](https://github.com/bundesAPI/deutschland/blob/main/tests/test_imports.py)
```
from deutschland..apis import DefaultApi
```4. Open a [merge request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request).