struct

Srcom::Platform

Inherits JSON::Serializable / Struct / Value / Object

Has shorthand methods to getting the resources that the Links in #links point to.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

games(page_size : Int32 = 20) : Srcom::Api::PageIterator(Game)

Gets all the Games playable on this Platform.

NOTE: Defaults to 20 results per page as otherwise the request might very well 503.

Source
id=(id : String)
Source
name
Source
name=(name : String)
Source
released
Source
released=(released : Int32)
Source
runs(page_size : Int32 = 200) : Srcom::Api::PageIterator(Run)

Gets all Runs completed while playing on this Platform.

NOTE: Depending on the Platform trying to get all Runs almost definitely crashes at some point.

Source