Crate grammarbot_io[−][src]
GrammarBot crate - check your sentence for grammar.
This crate uses official API of the GrammarBot 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 GrammarBot world!"; let mut r = grammarbot_io::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; |
Modules
client | The client feature implementation. |
request | The request structures. The grammarly request. |
response | The response structures. Response module contains all the structures necessary for doing all the interesting stuff. |