form_concierge_client 0.3.0 copy "form_concierge_client: ^0.3.0" to clipboard
form_concierge_client: ^0.3.0 copied to clipboard

REST client for Form Concierge Workers API.

form_concierge_client #

Dart REST client for the Form Concierge Workers API.

Installation #

dart pub add form_concierge_client

The package exposes survey, admin, anonymous-account, response, reply, and configuration endpoints for the Workers API.

Usage #

import 'package:form_concierge_client/form_concierge_client.dart';

Future<void> main() async {
  final client = Client('https://your-worker.example.com');
  try {
    final project = await client.survey.getProjectBySlug('demo-project');
    print(project?.project.name);
  } finally {
    client.close();
  }
}

Survey submissions accept optional DeviceInfo and metadata. Collect and store stable IDs or detailed device fields in the host app, then pass them to submitResponse(deviceInfo: ..., metadata: ...). Use metadata for app/user/session context such as authenticated uid, display name, tenant, plan, or feature flags.

0
likes
130
points
358
downloads

Documentation

API reference

Publisher

verified publisherzoome.co.jp

Weekly Downloads

REST client for Form Concierge Workers API.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

http, web

More

Packages that depend on form_concierge_client