8 releases

0.0.4-alpha.2 Nov 25, 2024
0.0.4-alpha.1 Nov 22, 2024
0.0.1 Nov 23, 2022
0.0.1-alpha.2 Jul 29, 2021

#100 in Finance

Download history 9/week @ 2024-09-20 2/week @ 2024-09-27 1/week @ 2024-10-04 486/week @ 2024-11-22 69/week @ 2024-11-29 10/week @ 2024-12-06

565 downloads per month

Custom license

39KB
1K SLoC

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

Dependencies

~7–22MB
~337K SLoC