Module: FREDAPI::Client::Series::Updates

Included in:
FREDAPI::Client::Series
Defined in:
lib/fredapi/client/series/updates.rb

Overview

Updates module for fred/series/updates endpoint

Instance Method Summary collapse

Instance Method Details

#series_updates(opts = {}) ⇒ Hashie::Mash

Get economic data series sorted by when observations were updated on the FREDĀ® server

Parameters:

  • opts (Hash) (defaults to: {})

    options hash of parameters

Options Hash (opts):

  • api_key (Integer)

    32 character alpha-numeric lowercase string

  • file_type (String)

    A key or file extension that indicates the type of file to send

  • realtime_start (String)

    The start of the real-time period

  • realtime_end (String)

    The end of the real-time period

  • limit (Integer)

    The maximum number of results to return

  • offset (Integer)

    Non-negative integer

  • filter_value (String)

    The attribute to filter results by

Returns:

  • (Hashie::Mash)

    Hash containing the results



19
20
21
# File 'lib/fredapi/client/series/updates.rb', line 19

def series_updates opts={}
  get "fred/series/updates", opts
end