Rust API wrapper crate for the redesigned TASVideos website (Swagger Docs).
Implementation note: Different endpoints provide a various set of optional filters. For now, this is handled by an enum containing a variant for every filter type. This design is a little clunky to use, but it works. If you provide a filter that's not supported by the endpoint, it will be quietly ignored.
GET /api/v1/Games/{id}
GET /api/v1/Games
GET /api/v1/Publications/{id}
GET /api/v1/Publications
GET /api/v1/Submissions/{id}
GET /api/v1/Submissions
GET /api/v1/Systems/{id}
GET /api/v1/Systems
Movie downloads are also supported for publications, submissions, and userfiles.
It's highly recommended that you set a user-agent. A default user-agent will not be provided in any requests unless you set one:
Rust
tasvideos_api_rs::set_user_agent("John Smith (johnsmith@gmail.com)");
If you wish to build from source, for your own system, Rust is integrated with the cargo
build system. To install Rust and cargo
, just follow these instructions. Once installed, while in the project directory, run cargo build --release
to build.