# Pastebin Rust Api
A Rust wrapper for the Pastebin Api
### Installation
Add this to your Cargo.toml pastebin_rust_api = "0.2.11"
under [dependencies]
## Getting started
Simple usage of Paster
:
```Rust extern crate pastebinrustapi; use pastebinrustapi::{Paster, Access, Format, Expiration};
fn main() {
// I recommend to put your dev key into an environment variable called PASTEBIN_DEVELOPER_TOKEN
.
let parser = Paster::new(Some("
```
If you want to see examples for all methods, check the test folder.