Top Level Namespace

Defined in:

Constant Summary

HTML_REPLACEMENTS = {"ä" => "ä", "Ä" => "Ä", "ö" => "ö", "Ö" => "Ö", "ü" => "ü", "Ü" => "Ü", "ß" => "ß"}
PATH_REPLACEMENTS = {"ä" => "ae", "Ä" => "ae", "ö" => "oe", "Ö" => "oe", "ü" => "ue", "Ü" => "ue", "ß" => "ss"}

Method Summary

Method Detail

def generate_cookie(name : String, value : String) : HTTP::Cookie #

[View source]
def get_country_code_from_header(languages : Array(ObsLanguageQ) | Nil, default : String) : String #

[View source]
def get_lake(lake : ApiLake, precision = 1, formatRegion = nil) : Lake #

[View source]
def get_lake_by_uuid(uuid : String, precision = 1, formatRegion = nil) : Lake #

[View source]
def get_lakes : Response #

[View source]
def get_language_from_header(languages : Array(ObsLanguageQ) | Nil, default : String) : String #

[View source]
def get_tides_by_uuid(uuid : String) : Array(Tide) #

[View source]
def initial_lake_uuid_cookie(uuid : String) : HTTP::Cookie #

[View source]
def parse_accept_language_header(accept_language_value : String | Nil) : Array(ObsLanguageQ) | Nil #

see https://github.com/woog-life/api/issues/50


[View source]
def uuid_has_feature(lakes : Array(LakeItem), uuid : String, feature : String) #

[View source]