Module: Shikimori::API::V1::Stats
- Included in:
- Shikimori::API::V1
- Defined in:
- lib/shikimori/api/v1/stats.rb
Overview
Methods for the Stats API
Instance Method Summary collapse
-
#active_users(headers: nil, **query) ⇒ Array<Integer>
Get list of active users.
Instance Method Details
#active_users(headers: nil, **query) ⇒ Array<Integer>
Get list of active users
25 26 27 |
# File 'lib/shikimori/api/v1/stats.rb', line 25 def active_users(headers: nil, **query) rest.get base_url.join('stats', 'active_users').url, headers: headers, query: query end |