class

Srcom::Api::Genres

Inherits Reference / Object

Constants

Log = Srcom::Log.for("genres")

Class methods

find_by_id(id : String) : Srcom::Genre

Gets a Genre by their id.

Source
get(sort_direction : String | Nil = nil, page_size : Int32 = 200) : PageIterator(Genre)

Gets all genres.

Possible values for sort_direction: "desc" or "asc", with "asc" being the default.

Source