Expand description
API Wrapper for the TASVideos API.
This crate provides synchronous functions for each supported endpoint of the API.
All requests can be used without an API key, however, the [USER_AGENT] string should be set
before making any requests.
Structs§
- Game
- Represents a TASVideos game.
- Game
Version - Represents a TASVideos game version (e.g. ROM).
- Publication
- Represents a TASVideos movie publication.
- Submission
- Represents a TASVideos movie submission.
- System
- Represents a gaming system (e.g. GBA, N64, Genesis, etc.) used by TASVideos.
- System
Frame Rate - Describes a possible framerate for a gaming system.
Enums§
Constants§
Functions§
- get
- Creates a GET request builder for the TASVideos API.
- get_
game - Executes a GET request to the
/Games/{id}endpoint to retrieve a specificgame. - get_
games - Executes a GET request to the
/Gamesendpoint to retrieve a list ofgames. - get_
games_ all - Executes one or more GET requests to the
/Gamesendpoint to retreive all availablegames. - get_
publication - Executes a GET request to the
/Publications/{id}endpoint to retrieve a specificpublication. - get_
publication_ movie - Attempts to download the publication’s movie file.
- get_
publications - Executes a GET request to the
/Publicationsendpoint to retrieve a list ofpublications. - get_
publications_ all - Executes one or more GET requests to the
/Publicationsendpoint to retreive all availablepublications. - get_
submission - Executes a GET request to the
/Submissions/{id}endpoint to retrieve a specificsubmission. - get_
submission_ movie - Attempts to download the submission’s movie file.
- get_
submissions - Executes a GET request to the
/Submissionsendpoint to retrieve a list ofsubmissions. - get_
submissions_ all - Executes one or more GET requests to the
/Submissionsendpoint to retreive all availablesubmissions. - get_
system - Executes a GET request to the
/Systems/{id}endpoint to retrieve a specificsystem. - get_
systems - Executes a GET request to the
/Systemsendpoint to retrieve a list of allsystems. - get_
userfile - Attempts to download a userfile.
- set_
user_ agent - Sets the
User-Agentheader used in all API requests.