squareapi 0.2.0+1 copy "squareapi: ^0.2.0+1" to clipboard
squareapi: ^0.2.0+1 copied to clipboard

A dart implementation of the Square API.

example/main.dart

import 'package:squareapi/squareapi.dart';

void main() async {
  final token = 'sandbox-sq0atb-idIVNrpqYfdY1Dz8IInnYA';
  final api = ConnectApi(token);

  final result = await api.locations.listLocations();
  print(result.body.locations);
}
0
likes
25
pub points
0%
popularity

Publisher

unverified uploader

A dart implementation of the Square API.

Homepage

License

MIT (LICENSE)

Dependencies

http, json_annotation, reflutter

More

Packages that depend on squareapi