sellapp 0.1.0

Simple asynchronous wrapper for the Sell.App API.
Documentation
  • Coverage
  • 96.23%
    51 out of 53 items documented1 out of 52 items with examples
  • Size
  • Source code size: 41.37 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 833.98 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 48s Average build duration of successful builds.
  • all releases: 48s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • WhatYouThing/sellapp-rs
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • WhatYouThing

Sell.App API Wrapper for Rust

Simple asynchronous wrapper for the Sell.App API, using the reqwest crate under the hood.

Example Usage

use sellapp;
use serde_json::{self, Value};
use tokio;

#[tokio::main]
async fn main() {
    let api = sellapp::init("your_api_key", "");

    let res = api.invoices_list_all("?limit=25").await.unwrap();

    let text = res.text().await;
    let data: Value = serde_json::from_str(&text.unwrap()).unwrap();
    println!("The ID of the 4th invoice is: {}", data["data"][3]["id"]);
}