dogehouse-api

Crates.iodogehouse-api
lib.rsdogehouse-api
version0.1.1
sourcesrc
created_at2021-05-10 08:38:50.920466
updated_at2021-05-10 11:45:22.921775
descriptionAPI Wrapper for Dogegarden's API v1
homepagehttps://api.dogegarden.net
repositoryhttps://github.com/dtomvan/dogehouse-api/
max_upload_size
id395457
size15,940
Tom van Dijk (dtomvan)

documentation

https://docs.rs/dogehouse_api/

README

dogehouse-api

Dogehouse-api

This is a work-in-progress crate to interact with the dogehouse API. Note that the API's documentation isn't complete yet, and so is the API itself. This uses reqwest and serde-json. I don't know if libraries should use something different from reqwest. If so, please file an issue on GitHub.

Current features:

  • Get a list of popular rooms
  • Get a list of upcoming rooms
  • Get a list of bots
  • Get basic statistics
  • Get individual users by username.

Caveats:

  • The API is changing by the minute at the current stage, and this can break this crate.
  • JavaScript and by that JSON uses 64-bit numbers, so all numbers in this crate have to be either u64's or i64's

Usage:

This crate consists of Endpoint's and Query's. Endpoints are just the simple API endpoints, which does not take any arguments. Queries are API endpoints, which take one or more arguments, such as "/search/some_username".

Commit count: 10

cargo fmt