Skip to content

Dephilia/rust-plurk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-plurk

License codecov

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.

  1. HMAC-SHA1
  2. OAuth 1.0
  3. With timestamp & nonce

Usage

Example

[dependencies]
rust-plurk = { git = https://github.com/Dephilia/rust-plurk.git }

TBD

Test app

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"

License

Distributed under the Apache-2.0 License. See LICENSE for more information.

About

Plurk API 2.0 + Oauth1 Library in Rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages