Last updated:
0 purchases
rentalworks
A RentalWorks API library for Dart developers.
Created from templates made available by Stagehand under a BSD-style
license.
Code generated with swagger_dart_code_generator
Usage #
A simple usage example:
import 'package:rentalworks/rentalworks.dart';
void main() async {
var rw = RentalWorks.withCredentials(
'https://example.my-rentalworks.com/api/v1',
'my-username',
'my-password');
var deals = await rw.home.dealGet(pageno: 1, pagesize: 25);
if (!deals.isSuccessful) {
print('${deals.statusCode}: ${deals.base.reasonPhrase}');
}
for (var d in deals.body?.items ?? []) {
print(d.dealNumber);
}
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.