Expand description
Grammarly crate - check your sentence for grammar.
This crate uses official API of the grammarly service.
The service has rate limits: As of this moment:
- 250 requests/day (~7500/mo) with an API key,
- 100 per day per IP address (~3000/mo) without an API key.
§Usage
fn main() {
let string = "Hello this grammarly world!";
let mut r = grammarly::Request::from(string);
// With an API key:
println!("Response: {:#?}", r.api_key("99999999").send());
// Without an API key:
println!("Response: {:#?}", r.send());
}
Re-exports§
pub use request::HttpRequest;
pub use request::Request;
pub use response::Response;