[][src]Function grin_api::client::get

pub fn get<'a, T>(url: &'a str, api_secret: Option<String>) -> Result<T, Error> where
    T: Deserialize<'de>, 

Helper function to easily issue a HTTP GET request against a given URL that returns a JSON object. Handles request building, JSON deserialization and response code checking.