Plurk API 2.0 + Oauth1 Library in Rust
The library has its own OAuth 1.0 implementation for Plurk API 2.0 usage.
The OAuth implementation is limited to, and will not implement other feature in OAuth 1.0 specification.
- HMAC-SHA1
- OAuth 1.0
- With timestamp & nonce
[dependencies]
rust-plurk = { git = https://github.com/Dephilia/rust-plurk.git }
TBD
Current, the library has a console test app.
cargo build --features build-binary --release
# For help
./target/release/plurk -h
# Call API with key file
./target/release/plurk -t "key.toml" -i "/APP/Users/me"
The key file should be in the format:
[consumer]
key = "aabbcc"
secret = "112233"
[token]
key = "ddeeff"
secret = "445566"
Distributed under the Apache-2.0 License. See LICENSE for more information.