Trait dvb::prelude::APIEndPoint [] [src]

pub trait APIEndPoint {
    fn url(&self) -> String;

    fn get_raw(&self) -> Result<String> { ... }
    fn get(&self) -> Result<JsonValue> { ... }
}

Commonalities of all API endpoints.

Required Methods

Provided Methods

Returns the content of the API endpoints response.

Returns the content of the API endpoints response parsed as JsonValue.

Implementors