Skip to main content

varsom-avalanche-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: v5.0.1
  • 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_avalanche_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_avalanche_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import varsom_avalanche_client
from varsom_avalanche_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = varsom_avalanche_client.ArchiveApi(varsom_avalanche_client.ApiClient(configuration))
langkey = 56 # int | 
startdate = '2013-10-20T19:20:30+01:00' # datetime | 
enddate = '2013-10-20T19:20:30+01:00' # datetime | 
format = 'format_example' # str | 

try:
    api_response = api_instance.archive_all(langkey, startdate, enddate, format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ArchiveApi->archive_all: %s\n" % e)

# create an instance of the API class
api_instance = varsom_avalanche_client.ArchiveApi(varsom_avalanche_client.ApiClient(configuration))
id = 56 # int | 
langkey = 56 # int | 
startdate = '2013-10-20T19:20:30+01:00' # datetime | 
enddate = '2013-10-20T19:20:30+01:00' # datetime | 
format = 'format_example' # str | 

try:
    api_response = api_instance.archive_region_id(id, langkey, startdate, enddate, format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ArchiveApi->archive_region_id: %s\n" % e)

# create an instance of the API class
api_instance = varsom_avalanche_client.ArchiveApi(varsom_avalanche_client.ApiClient(configuration))
format = 'format_example' # str | 

try:
    api_response = api_instance.archive_regions(format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ArchiveApi->archive_regions: %s\n" % e)

# create an instance of the API class
api_instance = varsom_avalanche_client.ArchiveApi(varsom_avalanche_client.ApiClient(configuration))
id = 56 # int | 
langkey = 56 # int | 
format = 'format_example' # str | 

try:
    api_response = api_instance.archive_warning_id(id, langkey, format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ArchiveApi->archive_warning_id: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api01.nve.no/hydrology/forecast/avalanche/v5.0.1

Class Method HTTP request Description
ArchiveApi archive_all GET /api/Archive/Warning/All/{langkey}/{startdate}/{enddate}/{format}
ArchiveApi archive_region_id GET /api/Archive/Warning/Region/{id}/{langkey}/{startdate}/{enddate}/{format}
ArchiveApi archive_regions GET /api/Archive/Region/{format}
ArchiveApi archive_warning_id GET /api/Archive/Warning/Id/{id}/{langkey}/{format}
AvalancheWarningByCoordinatesApi avalanche_warning_by_coordinates_detail GET /api/AvalancheWarningByCoordinates/Detail/{x}/{y}/{langkey}/{startdate}/{enddate}
AvalancheWarningByCoordinatesApi avalanche_warning_by_coordinates_obs GET /api/AvalancheWarningByCoordinates/Obs/{x}/{y}/{langkey}/{startdate}/{enddate}
AvalancheWarningByCoordinatesApi avalanche_warning_by_coordinates_simple GET /api/AvalancheWarningByCoordinates/Simple/{x}/{y}/{langkey}/{startdate}/{enddate}
AvalancheWarningByRegionApi avalanche_warning_by_region_detail GET /api/AvalancheWarningByRegion/Detail/{regionid}/{langkey}/{startdate}/{enddate}
AvalancheWarningByRegionApi avalanche_warning_by_region_obs GET /api/AvalancheWarningByRegion/Obs/{regionid}/{langkey}/{startdate}/{enddate}
AvalancheWarningByRegionApi avalanche_warning_by_region_simple GET /api/AvalancheWarningByRegion/Simple/{regionid}/{langkey}/{startdate}/{enddate}
CapApi cap_feed GET /api/Cap/Feed/{startdate}/{enddate}
CapApi cap_id GET /api/Cap/Id/{id}
RegionApi region_all POST /api/Region/{regionTypeId}
RegionApi region_get GET /api/Region/{regionTypeId}
RegionSummaryApi region_summary_detail GET /api/RegionSummary/Detail/{langkey}/{startdate}/{enddate}
RegionSummaryApi region_summary_obs GET /api/RegionSummary/Obs/{langkey}/{startdate}/{enddate}
RegionSummaryApi region_summary_simple GET /api/RegionSummary/Simple/{langkey}/{startdate}/{enddate}
RegionSummaryApi region_summary_summary GET /api/RegionSummary/Summary/{langkey}/{startdate}/{enddate}
WarningApi warning_all GET /api/Warning/All/{langkey}/{startdate}/{enddate}
WarningApi warning_id GET /api/Warning/Id/{id}/{langkey}
WarningApi warning_region GET /api/Warning/Region/{id}/{langkey}/{startdate}/{enddate}

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

Metadata

Release files for varsom-avalanche-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)

Source distribution for varsom-avalanche-client 1.0.0
File Size Uploaded Provenance
varsom-avalanche-client-1.0.0.tar.gz 40.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for varsom-avalanche-client 1.0.0
File Interpreter ABI Platform
varsom_avalanche_client-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 150.0 kB

Release files / varsom-avalanche-client-1.0.0.tar.gz

Download URL varsom-avalanche-client-1.0.0.tar.gz
Size 40.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9aa98ffe10708f5d6760c658e08a75c7acec5f23970b149d0401b7ee24dde13b
BLAKE2b-256 checksum
How to use checksums
beae175ac8f8a982c296ddc0fc5bf25d6c0e88337748b4048490d3cc16ddd158
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_avalanche_client-1.0.0-py3-none-any.whl

Download URL varsom_avalanche_client-1.0.0-py3-none-any.whl
Size 109.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73533a58c121da78d761b5959069f7ab1aebb1ad741f9d974190947722bfd207
BLAKE2b-256 checksum
How to use checksums
ef69e875c30f903f02fe9faa361cfc43f52065e6576c720241f6867806faf46b
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

Security for varsom-avalanche-client 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page