5 unstable releases

0.3.0 May 23, 2024
0.2.2 Aug 21, 2023
0.2.1 Aug 20, 2023
0.2.0 Mar 17, 2023
0.1.0 Oct 22, 2022

#2302 in Parser implementations

Download history 2/week @ 2024-09-22 1/week @ 2024-09-29

317 downloads per month

MIT license

23KB
354 lines

License: MIT Crates.io Documentation

Description

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.

Supported Endpoints

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.

Building

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.

Dependencies

~5–11MB
~123K SLoC