The documentation is available under [https://webarchiv.onb.ac.at/api.html#](https://webarchiv.onb.ac.at/api.html#).
%% Cell type:code id: tags:
``` python
API_KEY='wGdLmWMlaM2V6j73V9zS0KHqBgfG67vJ'
```
%% Cell type:markdown id: tags:
## Variant 1: Exploring the API manually
Take a look at [https://webarchiv.onb.ac.at/api.html#/](https://webarchiv.onb.ac.at/api.html#/) and try it out.
%% Cell type:code id: tags:
``` python
importrequests
BASE_URL='https://webarchiv.onb.ac.at/api'
```
%% Cell type:markdown id: tags:
Let's take a look at `/welcome`
%% Cell type:code id: tags:
``` python
r=requests.get(f'{BASE_URL}/welcome')
r.json()
```
%% Output
{'@context': 'http://schema.org/',
'@type': 'WebAPI',
'name': 'Webarchive Austria Search API',
'version': '0.1.0',
'description': 'The Webarchive Austria Search API lets you find archived webpages by Fulltext or URL. The API uses standard schema.org types and is compliant with the JSON-LD specification.',
| The current status of running queries can be read via status_open_queries().
|
| :param query_string: String to search for
| :param page_: The page number parameter works with the page size parameter to control the offset of the records returned in the results. Default value is 1
| :param pagesize_: The page size parameter works with the page number parameter to control the offset of the records returned in the results. It also controls how many results are returned with each request. Default value is 10
| The current status of running queries can be read via status_open_queries().
|
| :param query_string: String to search for
| :param page_: The page number parameter works with the page size parameter to control the offset of the records returned in the results. Default value is 1
| :param pagesize_: The page size parameter works with the page number parameter to control the offset of the records returned in the results. It also controls how many results are returned with each request. Default value is 10
| :return: result as json
|
| savePage(self, url)
|
| status_query(self, resp)
| this is the pollingrequest for the given typen of request