Crates.io | tasvideos-api-rs |
lib.rs | tasvideos-api-rs |
version | 0.3.0 |
source | src |
created_at | 2022-10-22 16:12:11.097529 |
updated_at | 2024-05-23 04:32:46.919049 |
description | Blocking API wrapper for TASVideos.org. |
homepage | |
repository | https://github.com/bigbass1997/tasvideos-api-rs |
max_upload_size | |
id | 694599 |
size | 30,812 |
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.
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.