Skip to content

point-source/dart_rentalworks

Repository files navigation

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);
  }
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

A dart library for interacting with the Rentalworks API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages