Expand description
The SquareClient allows the user of the crate to use the Square API in an idiomatic way.
§Example: Creating a client
In order to create a client you will need your account access token that can be found in the Developer Apps page for the specific application you are wanting to use.
const ACCESS_TOKEN:&str = "your_square_access_token";
use square_ox::client::SquareClient;
let client = SquareClient::new(ACCESS_TOKEN);After creating a client you will be able to use all of the clients methods.
Structs§
- Square
Client - The SquareClient contains many useful methods allowing for convenient use of the Square API.