Crate square_rs[][src]

Expand description

This crate provides a high level wraper around the Square API.

Currently in an alpha stage this crate is maintained by Cybersaur as an Open Source Project, aimed to promote the use of Rust.

Usage This crate can be used by added it as a dependency in your

projects Cargo.toml.

[dependencies]
square-rs = "0.1.0"

Examples

For examples of how this library can be used, see the examples directory in the repository. The examples are a work in progress, although the payments_api example provides a good use case. It can be run with cargo run --example payments_api.

Modules

client

The SquareClient allows the user of the crate to use the Square API in an idiomatic way.

endpoint

The endpoints of the Square API.

error
money

Representation of Money for the crate.

payment

Payment functionality of the Square API.

response