docs.rs failed to build annis-0.0.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
annis-0.0.6
annict-rs
Annict API client library for Rust.
Annict is a web service to make and manage watching anime life.
Usage
Add this to your Cargo.toml
:
[]
= "0.0.2"
and this to your crate root:
extern crate annis;
Here is a example code that the process from obtaining access_token
until making a request for /v1/works.
extern crate annis;
use ;
Auth Requests were made two ways that methods or creating struct.
extern crate annis;
use ;
let auth = client_id;
// Get Authorize URL
let instant = auth.authorize_url.build;
let manual = AuthorizeUrl.build;
assert_eq!;
// Get AccessToken
let instant = auth
.access_token
.client_secret
.code
.build;
let manual = AccessToken.build;
assert_eq!;
Parameter arguments accept &str, String and Enum.
extern crate annis;
use ;
let use_enum = works.params;
let use_string = works.params;
assert_eq!;
License
MIT license
http://opensource.org/licenses/mit-license.php