Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 591 Bytes

File metadata and controls

32 lines (21 loc) · 591 Bytes

Gridproxy Client

This is a dart client to communicate with GridProxy based on the network.

Install Dependencies

dart pub get

Generate Reflectable code

dart run build_runner build

Usage

  • Ensure that initializeReflectable() is called at the beginning of your main

  • Example usage:

 import 'gridproxy_client.reflectable.dart';

 initializeReflectable();

 GridProxyClient client = GridProxyClient('https://gridproxy.dev.grid.tf');
 final farms =
      await client.farms.list(ListFarmsQueryParameters(page: 1, size: 20));
 print(farms);