square-ox
A crate for accessing the Square API Rest endpoint in an idiomatic manner. Using this crate you are able to formulate standard queries to the Square API without worrying about the underlying workflows and specific JSON schemas. A square-rs fork
Examples
Setup and Authentication with the API
use SquareClient;
let client = new;
Sending Requests
// listing all locations
let locations = client.locations.list.await?;
// retrieving the count of an item in the inventory
let count = client.inventory
.retrieve_count
.await?;
// registering a new booking
client.bookings.create.await?;