Skip to main content

apiverve_crongenerator 1.2.3 copy "apiverve_crongenerator: ^1.2.3" to clipboard
apiverve_crongenerator: ^1.2.3 copied to clipboard

Cron Expression Generator converts natural language schedule text into standard five-field cron expressions. Submit phrases up to 200 characters to receive the matching cron syntax, with paid plans ad [...]

Cron Expression Generator API - Dart/Flutter Client #

Cron Expression Generator converts natural language schedule text into standard five-field cron expressions. Submit phrases up to 200 characters to receive the matching cron syntax, with paid plans adding written explanations.

pub package License: MIT

This is the Dart/Flutter client for the Cron Expression Generator API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_crongenerator: ^1.2.3

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_crongenerator/apiverve_crongenerator.dart';

void main() async {
  final client = CrongeneratorClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'schedule': 'every weekday at 9am'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "schedule": "every weekday at 9am",
    "expression": "0 9 * * 1-5",
    "description": "Runs every weekday at 9:00 AM."
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
130
points
109
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Cron Expression Generator converts natural language schedule text into standard five-field cron expressions. Submit phrases up to 200 characters to receive the matching cron syntax, with paid plans adding written explanations.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_crongenerator