siapla-open-holidays-api 0.2.1

A simple agile planning tool
Documentation

Rust API client for siapla-open-holidays-api

Open Data API for public and school holidays

For more information, please visit https://www.openholidaysapi.org

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: v1
  • Package version: 0.1.0
  • Generator version: 7.13.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named siapla-open-holidays-api and add the following to Cargo.toml under [dependencies]:

siapla-open-holidays-api = { path = "./siapla-open-holidays-api" }

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
HolidaysApi public_holidays_by_date_get GET /PublicHolidaysByDate Returns a list of public holidays from all countries for a given date.
HolidaysApi public_holidays_get GET /PublicHolidays Returns list of public holidays for a given country
HolidaysApi school_holidays_by_date_get GET /SchoolHolidaysByDate Returns a list of school holidays from all countries for a given date.
HolidaysApi school_holidays_get GET /SchoolHolidays Returns list of official school holidays for a given country
RegionalApi countries_get GET /Countries Returns a list of all supported countries
RegionalApi languages_get GET /Languages Returns a list of all used languages
RegionalApi subdivisions_get GET /Subdivisions Returns a list of relevant subdivisions for a supported country (if any)
StatisticsApi statistics_public_holidays_get GET /Statistics/PublicHolidays Returns statistical data about public holidays for a given country.
StatisticsApi statistics_school_holidays_get GET /Statistics/SchoolHolidays Returns statistical data about school holidays for a given country

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author