jobcelis 1.0.1 copy "jobcelis: ^1.0.1" to clipboard
jobcelis: ^1.0.1 copied to clipboard

Official Dart/Flutter SDK for the Jobcelis Event Infrastructure Platform. Full API coverage (84+ routes).

example/example.dart

import 'package:jobcelis/jobcelis.dart';

void main() async {
  // Create a client -- connects to https://jobcelis.com automatically
  final client = JobcelisClient(apiKey: 'your_api_key');

  try {
    // Send an event
    final event = await client.sendEvent('order.created', {
      'order_id': '123',
      'amount': 99.99,
    });
    print('Event sent: $event');

    // List webhooks
    final webhooks = await client.listWebhooks();
    print('Webhooks: $webhooks');

    // Verify a webhook signature
    const body = '{"topic":"order.created"}';
    const signature = 'abc123...';
    final isValid = WebhookVerifier.verify('your_secret', body, signature);
    print('Signature valid: $isValid');
  } on JobcelisException catch (e) {
    print('API error ${e.statusCode}: ${e.detail}');
  } finally {
    client.close();
  }
}
1
likes
0
points
246
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Official Dart/Flutter SDK for the Jobcelis Event Infrastructure Platform. Full API coverage (84+ routes).

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

crypto, http

More

Packages that depend on jobcelis