Package: varsom-avalanche-client
varsom-avalanche-clientNo description provided (generated by Swagger Codegenhttps://github.com/swagger-api/swagger-codegen)This Python package is automatically generated by theSwagger Codegenproject:API version: v5.0.1Package version: 1.0.0Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importvarsom_avalanche_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importvarsom_avalanche_clientGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportvarsom_avalanche_clientfromvarsom_avalanche_client.restimportApiExceptionfrompprintimportpprint# create an instance of the API classapi_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)exceptApiExceptionase:print("Exception when calling ArchiveApi->archive_all:%s\n"%e)# create an instance of the API classapi_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)exceptApiExceptionase:print("Exception when calling ArchiveApi->archive_region_id:%s\n"%e)# create an instance of the API classapi_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)exceptApiExceptionase:print("Exception when calling ArchiveApi->archive_regions:%s\n"%e)# create an instance of the API classapi_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)exceptApiExceptionase:print("Exception when calling ArchiveApi->archive_warning_id:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api01.nve.no/hydrology/forecast/avalanche/v5.0.1ClassMethodHTTP requestDescriptionArchiveApiarchive_allGET/api/Archive/Warning/All/{langkey}/{startdate}/{enddate}/{format}ArchiveApiarchive_region_idGET/api/Archive/Warning/Region/{id}/{langkey}/{startdate}/{enddate}/{format}ArchiveApiarchive_regionsGET/api/Archive/Region/{format}ArchiveApiarchive_warning_idGET/api/Archive/Warning/Id/{id}/{langkey}/{format}AvalancheWarningByCoordinatesApiavalanche_warning_by_coordinates_detailGET/api/AvalancheWarningByCoordinates/Detail/{x}/{y}/{langkey}/{startdate}/{enddate}AvalancheWarningByCoordinatesApiavalanche_warning_by_coordinates_obsGET/api/AvalancheWarningByCoordinates/Obs/{x}/{y}/{langkey}/{startdate}/{enddate}AvalancheWarningByCoordinatesApiavalanche_warning_by_coordinates_simpleGET/api/AvalancheWarningByCoordinates/Simple/{x}/{y}/{langkey}/{startdate}/{enddate}AvalancheWarningByRegionApiavalanche_warning_by_region_detailGET/api/AvalancheWarningByRegion/Detail/{regionid}/{langkey}/{startdate}/{enddate}AvalancheWarningByRegionApiavalanche_warning_by_region_obsGET/api/AvalancheWarningByRegion/Obs/{regionid}/{langkey}/{startdate}/{enddate}AvalancheWarningByRegionApiavalanche_warning_by_region_simpleGET/api/AvalancheWarningByRegion/Simple/{regionid}/{langkey}/{startdate}/{enddate}CapApicap_feedGET/api/Cap/Feed/{startdate}/{enddate}CapApicap_idGET/api/Cap/Id/{id}RegionApiregion_allPOST/api/Region/{regionTypeId}RegionApiregion_getGET/api/Region/{regionTypeId}RegionSummaryApiregion_summary_detailGET/api/RegionSummary/Detail/{langkey}/{startdate}/{enddate}RegionSummaryApiregion_summary_obsGET/api/RegionSummary/Obs/{langkey}/{startdate}/{enddate}RegionSummaryApiregion_summary_simpleGET/api/RegionSummary/Simple/{langkey}/{startdate}/{enddate}RegionSummaryApiregion_summary_summaryGET/api/RegionSummary/Summary/{langkey}/{startdate}/{enddate}WarningApiwarning_allGET/api/Warning/All/{langkey}/{startdate}/{enddate}WarningApiwarning_idGET/api/Warning/Id/{id}/{langkey}WarningApiwarning_regionGET/api/Warning/Region/{id}/{langkey}/{startdate}/{enddate}Documentation For ModelsAdviceAlertAlertInfoAlertInfoAreaAlertInfoAreaGeocodeAlertInfoEventCodeAlertInfoParameterAlertInfoResourceAvalancheProblemAvalancheWarningDetailAvalancheWarningSimpleCodePageDataItemCountyDecoderFallbackEncoderFallbackEncodingFormattedContentResultAlertFormattedContentResultListAlertIRequiredMemberSelectorMeasurementSubTypeMeasurementTypeMediaTypeFormatterMediaTypeHeaderValueMediaTypeMappingMountainWeatherMunicipalityNameValueHeaderValueObsWarningRegionRegionSummaryRegionSummaryObsSummaryDocumentation For AuthorizationAll endpoints do not require authorization.Author