xero-rs

Crates.ioxero-rs
lib.rsxero-rs
version0.0.4-alpha.2
sourcesrc
created_at2021-07-26 09:49:50.885332
updated_at2024-11-25 02:57:52.652609
descriptionA Xero API client library for Rust
homepage
repositoryhttps://github.com/slickbench/xero-rs
max_upload_size
id427361
size110,499
Oscar Rainford (fourbytes)

documentation

README

xero-rs

Crates.io Documentation MIT licensed Build Status Coverage

Description

A Xero API client library for Rust. This library is in very early days and the API is not stable, it may change without notice.

This was put together as part of the requirements for a private project so I will be implementing features as-needed, but all contributions are welcome.

Features

  • Client credential & code flow authorization support
  • Generic GET, PUT, and POST methods for custom requests
  • Uses rust_decimal for storing prices/decimal values
  • Well tested (that's the goal, at least)

Currently Implemented

This has been implemented so far:

  • OAuth2 Authentication (Client Credentials, Authorization Code Flow)
  • List authorized connections (tennants)
  • Quotes
    • List
    • Get by ID
  • Invoices
    • List
    • Get by ID
  • Purchase Orders
    • List
    • Get by ID
    • Create
  • Contacts
    • List
Commit count: 42

cargo fmt