Sep 20, 2024
Insights API client
The Insights API client is part of the algoliasearch
package.
To install this package, run:
Copy
1
dart pub add algoliasearch
To use the Insights client, add this import to your files:
Copy
1
import 'package:algolia_client_insights/algolia_client_insights.dart';
To create an instance of the client:
Copy
1
2
3
4
final client = InsightsClient(
appId: 'ALGOLIA_APPLICATION_ID',
apiKey: 'ALGOLIA_API_KEY',
region: 'ALGOLIA_APPLICATION_REGION');
List of methods
Each method makes one request to the Insights API.
Events
client.pushEvents | Send events |
User tokens
client.deleteUserToken | Delete user token |
Did you find this page helpful?