Module: Booru::API::Favorite

Included in:
Client
Defined in:
lib/booru/api/favorite.rb

Instance Method Summary collapse

Instance Method Details

#list_favorites(options = {}) ⇒ Object Also known as: post_favorites

List Users: This action retrieves a list of users who have ‘favorited’ the post specified

options - The Hash used to refine the selection (default: {}):

:id - The post id.

There is no XML API for this action.



12
13
14
15
16
# File 'lib/booru/api/favorite.rb', line 12

def list_favorites(options = {})
  base_url = 'favorite/list_users.xml'
  query = query_string(base_url, options, formatted = true)
  parse(get(query))
end