Class: Astroapi::Categories::Glossary

Inherits:
BaseCategory show all
Defined in:
lib/astroapi/categories/glossary.rb

Overview

Glossary category client for reference data and lookups

Instance Attribute Summary

Attributes inherited from BaseCategory

#http

Instance Method Summary collapse

Methods inherited from BaseCategory

#initialize

Constructor Details

This class inherits a constructor from Astroapi::Categories::BaseCategory

Instance Method Details

#get_active_points(params = {}) ⇒ Hash

Get all active points

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    All astrological points



12
13
14
# File 'lib/astroapi/categories/glossary.rb', line 12

def get_active_points(params = {})
  http.get(build_url('active-points'), params: params)
end

#get_cities(params = {}) ⇒ Hash

Get cities

Parameters:

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

    Query parameters for search

Returns:

  • (Hash)

    City search results (paginated)



26
27
28
# File 'lib/astroapi/categories/glossary.rb', line 26

def get_cities(params = {})
  http.get(build_url('cities'), params: params)
end

#get_countries(params = {}) ⇒ Hash

Get countries

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    ISO country codes



33
34
35
# File 'lib/astroapi/categories/glossary.rb', line 33

def get_countries(params = {})
  http.get(build_url('countries'), params: params)
end

#get_elements(params = {}) ⇒ Hash

Get elements

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    Fire, Earth, Air, Water



40
41
42
# File 'lib/astroapi/categories/glossary.rb', line 40

def get_elements(params = {})
  http.get(build_url('elements'), params: params)
end

#get_fixed_stars(params = {}) ⇒ Hash

Get fixed stars

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    Fixed star catalog



47
48
49
# File 'lib/astroapi/categories/glossary.rb', line 47

def get_fixed_stars(params = {})
  http.get(build_url('fixed-stars'), params: params)
end

#get_horary_categories(params = {}) ⇒ Hash

Get horary categories

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    Horary question categories



103
104
105
# File 'lib/astroapi/categories/glossary.rb', line 103

def get_horary_categories(params = {})
  http.get(build_url('horary-categories'), params: params)
end

#get_house_systems(params = {}) ⇒ Hash

Get house systems

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    Placidus, Whole Sign, etc.



54
55
56
# File 'lib/astroapi/categories/glossary.rb', line 54

def get_house_systems(params = {})
  http.get(build_url('house-systems'), params: params)
end

#get_houses(params = {}) ⇒ Hash

Get houses

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    House meanings



61
62
63
# File 'lib/astroapi/categories/glossary.rb', line 61

def get_houses(params = {})
  http.get(build_url('houses'), params: params)
end

#get_keywords(params = {}) ⇒ Hash

Get keywords

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    Astrological keywords



68
69
70
# File 'lib/astroapi/categories/glossary.rb', line 68

def get_keywords(params = {})
  http.get(build_url('keywords'), params: params)
end

#get_languages(params = {}) ⇒ Hash

Get supported languages

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    Supported languages



75
76
77
# File 'lib/astroapi/categories/glossary.rb', line 75

def get_languages(params = {})
  http.get(build_url('languages'), params: params)
end

#get_life_areas(params = {}) ⇒ Hash

Get life areas

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    Life area descriptions



82
83
84
# File 'lib/astroapi/categories/glossary.rb', line 82

def get_life_areas(params = {})
  http.get(build_url('life-areas'), params: params)
end

#get_primary_active_points(params = {}) ⇒ Hash

Get primary active points

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    Main planets



19
20
21
# File 'lib/astroapi/categories/glossary.rb', line 19

def get_primary_active_points(params = {})
  http.get(build_url('active-points', 'primary'), params: params)
end

#get_themes(params = {}) ⇒ Hash

Get themes

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    Chart styling themes



89
90
91
# File 'lib/astroapi/categories/glossary.rb', line 89

def get_themes(params = {})
  http.get(build_url('themes'), params: params)
end

#get_zodiac_types(params = {}) ⇒ Hash

Get zodiac types

Parameters:

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

    Query parameters

Returns:

  • (Hash)

    Tropical, Sidereal



96
97
98
# File 'lib/astroapi/categories/glossary.rb', line 96

def get_zodiac_types(params = {})
  http.get(build_url('zodiac-types'), params: params)
end