Method: HalcyonAPI::Client#telemetry

Defined in:
lib/halcyon_api/client.rb

#telemetry(url) ⇒ OpenStruct

Gets telemtry data from a specified URL

Examples:

Get telemetry data

client = VaingloryAPI::Client.new('API_KEY', 'na')
client.telemetry('TELEMETRY_URL')

Parameters:

  • url (String)

    the URL of the requested Telemetry data

Returns:

  • (OpenStruct)

    the response and metadata

See Also:



131
132
133
# File 'lib/halcyon_api/client.rb', line 131

def telemetry(url)
  get_request(URI(url), true, false)
end