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
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);
}
}
Please file feature requests and bugs at the issue tracker.