Skip to content

Commit

Permalink
Merge pull request #536 from OpenEnergyPlatform/feature-532-broken-li…
Browse files Browse the repository at this point in the history
…nk-in-docs

Feature 532 broken link in docs
  • Loading branch information
FlorianK13 authored Jun 6, 2024
2 parents a2689a1 + 78f456d commit 4f99ced
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and the versioning aims to respect [Semantic Versioning](http://semver.org/spec/
- Change License identifier for pypi [#525](https://github.com/OpenEnergyPlatform/open-MaStR/pull/525)
- Change header to identify as open-mastr during http request [#526](https://github.com/OpenEnergyPlatform/open-MaStR/pull/526)
- Fixed missing call to gen_url in case first bulk download fails as xml file for today is not yet available [#534](https://github.com/OpenEnergyPlatform/open-MaStR/pull/534)
- Repair links in the documentation page [#536](https://github.com/OpenEnergyPlatform/open-MaStR/pull/536)
### Removed

## [v0.14.3] Fix Pypi Release - 2024-04-24
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ If needed, the tables in the database can be obtained as csv files. Those files

For downloading data from the
[Marktstammdatenregister (MaStR) database](https://www.marktstammdatenregister.de/MaStR)
via its API a [registration](https://www.marktstammdatenregister.de/MaStRHilfe/files/regHilfen/201108_Handbuch%20f%C3%BCr%20Registrierungen%20durch%20Dienstleister.pdf) is mandatory.
via its API a [registration](https://www.marktstammdatenregister.de/MaStRHilfe/files/regHilfen/Handbuch_fuer_Registrierungen_durch_Dienstleister.pdf) is mandatory.

To download data from the MaStR API using the `open-MaStR`, the credentials (MaStR user and token) need to be provided in a certain way. Three options exist:

Expand Down
8 changes: 5 additions & 3 deletions open_mastr/soap_api/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ class MaStRAPI(object):
mastr_api = MaStRAPI()
```
Now, you can use the MaStR API instance to call [pre-defined SOAP API
queries](https://www.marktstammdatenregister.de/MaStRHilfe/files/webdienst/Funktionen_MaStR_Webdienste_V1.2.39.html)
via the class' methods.
Now, you can use the MaStR API instance to call pre-defined SOAP API
queries via the class' methods. A documentation of all API methods
is available at the
[BNetzA website](https://www.marktstammdatenregister.de/MaStRHilfe/subpages/webdienst.html)
within the downloadable zip folder `Dienstbeschreibung Produktion Version X.X.X`
For example, get a list of units limited to two entries.
```python
Expand Down

0 comments on commit 4f99ced

Please sign in to comment.