Module: Shikimori::API::V1::Achievements
- Included in:
- Shikimori::API::V1
- Defined in:
- lib/shikimori/api/v1/achievements.rb
Overview
Methods for the Achievements API
Instance Method Summary collapse
-
#achievements(user_id:, headers: nil, **query) ⇒ Array<Hash>
Get list of Achievements.
Instance Method Details
#achievements(user_id:, headers: nil, **query) ⇒ Array<Hash>
Get list of Achievements
26 27 28 |
# File 'lib/shikimori/api/v1/achievements.rb', line 26 def achievements(user_id:, headers: nil, **query) rest.get base_url.join('achievements').url, headers: headers, query: { user_id: user_id }.merge(query) end |