Srcom::Api
Setting the #backoff_time determines how much longer (in seconds) than absolutely necessary the
RateLimiter waits until it allows new requests. This defaults to 1 second.
Constants
Instance methods
Makes a request to the given url using the given method with the given headers and body, returning both the relevant data if the request is successful and the link to the next page if the resource requested is paginated and has a next page.
NOTE: endpoint and page are only used for logging purposes.
NOTE: It is not recommended to use this method directly.
Makes a request to the given url using the given method with the given headers and body,
with the difference to .request being that only a single item is returned from the API, which is
formatted slightly different by speedrun.com.
NOTE: endpoint is just used for logging purposes.
NOTE: It is not recommended to use this method directly.
Nested types
- Srcom::Api::Categories
- Srcom::Api::Developers
- Srcom::Api::Engines
- Srcom::Api::Games
- Srcom::Api::Gametypes
- Srcom::Api::Genres
- Srcom::Api::Guests
- Srcom::Api::Leaderboards
- Srcom::Api::Levels
- Srcom::Api::Notifications
- Srcom::Api::PageIterator(T)
- Srcom::Api::Platforms
- Srcom::Api::Profile
- Srcom::Api::Publishers
- Srcom::Api::Regions
- Srcom::Api::Runs
- Srcom::Api::Series
- Srcom::Api::Users
- Srcom::Api::Variables