Skip to content

Instantly share code, notes, and snippets.

@stefanw
Last active June 13, 2018 14:41
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save stefanw/6624093 to your computer and use it in GitHub Desktop.
Save stefanw/6624093 to your computer and use it in GitHub Desktop.
Bundestag XML API description

Bundestag XML API

The German parliament iPhone app "Bundestag" uses XML endpoints at bundestag.de to get fresh data. This guide lists them.

Authentication

Since version 4.2 the iPhone app requires an HTTP basic auth header for new endpoints. For backwards compatibility some old endpoints don't require authentication.

The authentication credentials are:

For version 4.2:

Username: IOS_APP_v4.2.0

Password: 4vbw*x4t9waefhCtzxlJCQ*

User-Agent: Bundestag 4.2 rv:310 (iPhone; iPhone OS 6.1.3; de_DE)

For version 4.2.1:

Username: IOS_APP_v4.2.1

Password: RjKtvXnR6EhX8/xqJGRvQcFGDFWoGGTD

User-Agent: Bundestag 4.2.1 rv:327 (iPhone; iPhone OS 7.0.2; de_DE)

The User-Agent header is not checked.

Endpoints that don't require authentication

https://www.bundestag.de/xml/plenum/index.xml

https://www.bundestag.de/xml/besuche/aktuell/index.xml

https://www.bundestag.de/xml/besuche/index.xml

https://www.bundestag.de/xml/impressum/index.xml

https://www.bundestag.de/includes/datasources/tv.xml

https://www.bundestag.de/includes/datasources/tv2.xml

Example of a biography:

http://www.bundestag.de/xml/mdb/biografien/F/flosbach_klaus_peter.xml

Endpoints that require authentication

https://www.bundestag.de/xml/aktuell/index.xml

https://www.bundestag.de/xml/ausschuesse/index.xml

https://www.bundestag.de/xml/mdb/index.xml

https://www.bundestag.de/xml/mdb/mdbteaser/index.xml

@jamagara
Copy link

Die Credentials sind seit dem letzten Update der Bundestags-App leider nicht mehr gültig. Kennt jemand die neuen Zugangsdaten?

@stefanw
Copy link
Author

stefanw commented Oct 21, 2013

I updated the credentials for 4.2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment