Crate tasvideos_api_rs
source ·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§
- Represents a TASVideos game.
- Represents a TASVideos game version (e.g. ROM).
- Represents a TASVideos movie publication.
- Represents a TASVideos movie submission.
- Represents a gaming system (e.g. GBA, N64, Genesis, etc.) used by TASVideos.
- Describes a possible framerate for a gaming system.
Enums§
- Some endpoints can use these filters to refine what data is returned.
Constants§
Functions§
- Creates a GET request builder for the TASVideos API.
- Executes a GET request to the
/Games/{id}
endpoint to retrieve a specificgame
. - Executes a GET request to the
/Games
endpoint to retrieve a list ofgames
. - Executes one or more GET requests to the
/Games
endpoint to retreive all availablegames
. - Executes a GET request to the
/Publications/{id}
endpoint to retrieve a specificpublication
. - Attempts to download the publication’s movie file.
- Executes a GET request to the
/Publications
endpoint to retrieve a list ofpublications
. - Executes one or more GET requests to the
/Publications
endpoint to retreive all availablepublications
. - Executes a GET request to the
/Submissions/{id}
endpoint to retrieve a specificsubmission
. - Attempts to download the submission’s movie file.
- Executes a GET request to the
/Submissions
endpoint to retrieve a list ofsubmissions
. - Executes one or more GET requests to the
/Submissions
endpoint to retreive all availablesubmissions
. - Executes a GET request to the
/Systems/{id}
endpoint to retrieve a specificsystem
. - Executes a GET request to the
/Systems
endpoint to retrieve a list of allsystems
. - Attempts to download a userfile.
- Sets the
User-Agent
header used in all API requests.