Module: FREDAPI::Client::Series::Tags

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

Overview

Tags module for fred/series/tags endpoint

Instance Method Summary collapse

Instance Method Details

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

Get the tags for an economic data series

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

  • series_id (Integer)

    The id for a series

  • realtime_start (String)

    The start of the real-time period

  • realtime_end (String)

    The end of the real-time period

  • order_by (String)

    Order results by values of the specified attribute

  • sort_order (String)

    Sort results is ascending or descending order for attribute values specified by order_by

Returns:

  • (Hashie::Mash)

    Hash containing the results



18
19
20
# File 'lib/fredapi/client/series/tags.rb', line 18

def series_tags opts={}
  get "fred/series/tags", opts
end