Skip to main content

RegObs API

Project description

## Introduction RegObs is a tool for collecting observations and events related to natural hazards. It is currently used by the Norwegian flood, landslide and avalanche warning service in Norway, but the data is openly available for anyone through this API. Regobs has been developed by the Norwegian Water resources and Energy Directorate (NVE), in collaboration with the Norwegian Meteorological Institute (MET) and the Norwegian Public Roads Administration (NPRA). You can check out our representation of the data at [regobs.no](http://regobs.no). ## Authentication Some endpoints require an api key. You can get an API key by sending an email to [raek@nve.no](mailto:raek@nve.no?subject=RegObs%20API%20Key). To use the api key with the swagger ui, fill in the api_key input above. It should then be included with every request in the `regObs_apptoken` header. ## Getting started Get the last 10 observations using python: ```python import requests r = requests.post('https://api.regobs.no/v4/Search', data={'NumberOfRecords': 10}, headers={'Content-Type': 'application/json'} ) data = r.json() print(len(data)) # 10 ``` # noqa: E501

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

varsom-regobs-client-1.0.0.tar.gz (113.9 kB view details)

Uploaded Source

Built Distribution

varsom_regobs_client-1.0.0-py3-none-any.whl (445.0 kB view details)

Uploaded Python 3

File details

Details for the file varsom-regobs-client-1.0.0.tar.gz.

File metadata

  • Download URL: varsom-regobs-client-1.0.0.tar.gz
  • Upload date:
  • Size: 113.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for varsom-regobs-client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 802e0993bd628adcb1ff58d1f1e09ed542da7b530810d409d6a401448375566b
MD5 e0084a8a6e5a263764c466f17366f57a
BLAKE2b-256 d8e2a5ba4a4bd9047902db21461cbf8bbb6576574d956f94dc67b38f30fc8ed0

See more details on using hashes here.

File details

Details for the file varsom_regobs_client-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: varsom_regobs_client-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 445.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for varsom_regobs_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd71e5d8c1826ab8c5a701d2ac0b095a687b63b6d20c93246b196e98ec80997e
MD5 2ff6d654d77ed5c2417f96130d047efb
BLAKE2b-256 a20416fbdc8aef402d3b4ef1cd83f4957b6ff7a3830715656c0366e87f3b26cf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page