3 releases

0.1.2 Dec 28, 2018
0.1.1 Dec 28, 2018
0.1.0 Dec 13, 2018

#320 in #api-wrapper

MIT license

7KB
122 lines

r2ch - a Rust client for The 2ch Web API

Disclaimer

  • now in development

Tasks

  • Add docs
  • Сaptcha
  • JSON impl (partly)
  • Add much more examples
  • Refactor

Examples

Building examples.

$ cd r2ch

then run

$ cargo run --example boards_all

How to use

use r2ch::client::TwoCH;

let _ = TwoCH::default().boards_all();

API Documentation

Not yet

you may find docs in sources

CHANGELOG

Please see the CHANGELOG for a release history.

Contribution

If you find any problem or have suggestions about this crate, please submit an issue. Moreover, any pull request ,code review and feedback are welcome.

License

MIT


lib.rs:

R2ch

The R2ch crate provides a simple twoch implementation

  • Uses reqwest crate for methods
  • Json

How to use

for get all boards, you can use boards_all() method.

use r2ch::client::TwoCH;

let _ = TwoCH::default().boards_all();

Dependencies

~19MB
~423K SLoC