Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Accounting for updated API key
  • Loading branch information
jschibberges authored May 31, 2024
1 parent 199a538 commit 4fe7249
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The official information on the API can be found here: [Bundestag.de](https://di
### Pip install (recommended)

```
$ pip3 install bundestag_api
$ pip install bundestag_api
```

### Install from source
Expand All @@ -27,7 +27,7 @@ $ pip install -r requirements.txt
The API requires a key to authenticate requests. Personal key can be requested from the [Bundestag administration](mailto:[email protected]). However a general API key has been published that is valid until May 31st 2024. This key is automatically used until that date when no other key is supplied by the user.

## Usage
To save your API key create a connection-object, that you can then pass to the search functions. It will save you time, should you have to change API keys at a later date. If you don't supply an API key, the official API key will be used until 31st of May 2024.
To save your API key create a connection-object, that you can then pass to the search functions. It will save you time, should you have to change API keys at a later date. If you don't supply an API key, the official API key will be used until 31st of May 2025.
```
import bundestag_api
bta = bundestag_api.btaConnection() #if you want to use your own API key, supply it via "apikey="XXX")
Expand Down

0 comments on commit 4fe7249

Please sign in to comment.