module MetofficeDatapoint::Api::StandaloneMapsMethods

Public: Wrapper class around the Met Office DataPoint API endpoints

Public Instance Methods

surface_pressure_map() click to toggle source

Public: Returns when the current surface pressure charts were issued, the time steps available, and the URIs of the surface pressure synoptic analysis and forecast charts in GIF format. API is updated twice daily.

Returns a Hash.

# File lib/metoffice_datapoint/api/standalone_maps_methods.rb, line 11
def surface_pressure_map
  query('image/wxfcs/surfacepressure/json/capabilities')
end

Private Instance Methods

query(path) click to toggle source
# File lib/metoffice_datapoint/api/standalone_maps_methods.rb, line 17
def query(path)
  Oj.load(get(path))
end