varsom-landslide-client
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This Python package is automatically generated by the Swagger Codegen project:
- API version: v1.0.6
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import varsom_landslide_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import varsom_landslide_client
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import varsom_landslide_client
from varsom_landslide_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = varsom_landslide_client.CapApi(varsom_landslide_client.ApiClient(configuration))
startdate = '2013-10-20T19:20:30+01:00' # datetime |
enddate = '2013-10-20T19:20:30+01:00' # datetime |
try:
api_response = api_instance.cap_feed(startdate, enddate)
pprint(api_response)
except ApiException as e:
print("Exception when calling CapApi->cap_feed: %s\n" % e)
# create an instance of the API class
api_instance = varsom_landslide_client.CapApi(varsom_landslide_client.ApiClient(configuration))
id = 'id_example' # str |
try:
api_response = api_instance.cap_id(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CapApi->cap_id: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api01.nve.no/hydrology/forecast/landslide/v1.0.6
| Class | Method | HTTP request | Description |
|---|---|---|---|
| CapApi | cap_feed | GET /api/Cap/Feed/{startdate}/{enddate} | |
| CapApi | cap_id | GET /api/Cap/Id/{id} | |
| RegionApi | region_get | GET /api/Region/{countyId} | |
| WarningApi | warning_all | GET /api/Warning/All/{langkey}/{startdate}/{enddate} | |
| WarningApi | warning_county | GET /api/Warning/County/{county}/{langkey}/{startdate}/{enddate} | |
| WarningApi | warning_get | GET /api/Warning/{langkey}/{startdate}/{enddate} | |
| WarningApi | warning_municipality | GET /api/Warning/Municipality/{municipality}/{langkey}/{startdate}/{enddate} |
Documentation For Models
- Alert
- AlertInfo
- AlertInfoArea
- AlertInfoAreaGeocode
- AlertInfoEventCode
- AlertInfoParameter
- AlertInfoResource
- Cause
- CodePageDataItem
- County
- DecoderFallback
- EncoderFallback
- Encoding
- FormattedContentResultAlert
- FormattedContentResultListAlert
- IRequiredMemberSelector
- MediaTypeFormatter
- MediaTypeHeaderValue
- MediaTypeMapping
- MicroBlogPost
- Municipality
- NameValueHeaderValue
- Station
- Warning
Documentation For Authorization
All endpoints do not require authorization.
Author
Metadata
Release files for varsom-landslide-client 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| varsom-landslide-client-1.0.0.tar.gz | 32.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| varsom_landslide_client-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 112.0 kB
Release files / varsom-landslide-client-1.0.0.tar.gz
| Download URL | varsom-landslide-client-1.0.0.tar.gz |
|---|---|
| Size | 32.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c20f5f1cf9f6e3ae507deeefd4d6b0531eb2d27864aa24bc0ecf01b1f59c1fa
|
|
BLAKE2b-256 checksum How to use checksums |
d6fb42a697c2976d840630cea2f0cec38540873aa329eecfc20cc91ee0c46dec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|
Release files / varsom_landslide_client-1.0.0-py3-none-any.whl
| Download URL | varsom_landslide_client-1.0.0-py3-none-any.whl |
|---|---|
| Size | 79.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
485c14d7940451752a6bd77db6a46fe3fb57b37cdcb6b9d2fbe62ac95f253734
|
|
BLAKE2b-256 checksum How to use checksums |
da140a5b381ccfbdb2a77d71d4a3335c5daecbacdd8ccc473350dc0a07607cd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|