## Shorebird CodePush Client The Shorebird CodePush Client is a Dart library which allows Dart applications to interact with the Shorebird CodePush API. ### Installing To get started, add the library to your `pubspec.yaml`: ```yaml dependencies: shorebird_code_push_client: git: url: https://github.com/shorebirdtech/shorebird path: packages/shorebird_code_push_client ``` ### Usage ```dart import 'package:shorebird_code_push_client/shorebird_code_push_client.dart'; Future main() async { final client = CodePushClient(apiKey: ''); // Download the latest engine revision. final engine = await client.downloadEngine('latest'); // Create a new Shorebird application. await client.createApp(appId: ''); // List all apps. final apps = await client.getApps(); // Create a new patch. await client.createPatch( artifactPath: '', // e.g. 'libapp.so' releaseVersion: '', // e.g. '1.0.0' appId: '', // e.g. 'shorebird-example' channel: '', // e.g. 'stable' ); // Close the client. client.close(); } ```