influxdb_client 2.11.0 influxdb_client: ^2.11.0 copied to clipboard
A client library for querying, writing and managing InfluxDB 2.x
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add influxdb_client
With Flutter:
$ flutter pub add influxdb_client
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
influxdb_client: ^2.11.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:influxdb_client/api.dart';
import 'package:influxdb_client/api/authorizations_api.dart';
import 'package:influxdb_client/api/buckets_api.dart';
import 'package:influxdb_client/api/dbrps_api.dart';
import 'package:influxdb_client/api/delete_api.dart';
import 'package:influxdb_client/api/health_api.dart';
import 'package:influxdb_client/api/invokable_scripts_api.dart';
import 'package:influxdb_client/api/labels_api.dart';
import 'package:influxdb_client/api/organizations_api.dart';
import 'package:influxdb_client/api/ping_api.dart';
import 'package:influxdb_client/api/query_api.dart';
import 'package:influxdb_client/api/ready_api.dart';
import 'package:influxdb_client/api/secrets_api.dart';
import 'package:influxdb_client/api/setup_api.dart';
import 'package:influxdb_client/api/tasks_api.dart';
import 'package:influxdb_client/api/users_api.dart';
import 'package:influxdb_client/api/variables_api.dart';
import 'package:influxdb_client/api/write_api.dart';
import 'package:influxdb_client/api_client.dart';
import 'package:influxdb_client/api_exception.dart';
import 'package:influxdb_client/api_helper.dart';
import 'package:influxdb_client/auth/api_key_auth.dart';
import 'package:influxdb_client/auth/authentication.dart';
import 'package:influxdb_client/auth/http_basic_auth.dart';
import 'package:influxdb_client/auth/http_bearer_auth.dart';
import 'package:influxdb_client/auth/oauth.dart';
import 'package:influxdb_client/client/delete_service.dart';
import 'package:influxdb_client/client/error.dart';
import 'package:influxdb_client/client/flux_table.dart';
import 'package:influxdb_client/client/flux_transformer.dart';
import 'package:influxdb_client/client/influxdb_client.dart';
import 'package:influxdb_client/client/invokable_scripts_service.dart';
import 'package:influxdb_client/client/options.dart';
import 'package:influxdb_client/client/point.dart';
import 'package:influxdb_client/client/query_service.dart';
import 'package:influxdb_client/client/retry.dart';
import 'package:influxdb_client/client/write_service.dart';
import 'package:influxdb_client/model/add_resource_member_request_body.dart';
import 'package:influxdb_client/model/authorization.dart';
import 'package:influxdb_client/model/authorization_all_of.dart';
import 'package:influxdb_client/model/authorization_all_of_links.dart';
import 'package:influxdb_client/model/authorization_post_request.dart';
import 'package:influxdb_client/model/authorization_update_request.dart';
import 'package:influxdb_client/model/authorizations.dart';
import 'package:influxdb_client/model/bucket.dart';
import 'package:influxdb_client/model/bucket_links.dart';
import 'package:influxdb_client/model/buckets.dart';
import 'package:influxdb_client/model/dbrp.dart';
import 'package:influxdb_client/model/dbrp_create.dart';
import 'package:influxdb_client/model/dbrp_get.dart';
import 'package:influxdb_client/model/dbrp_update.dart';
import 'package:influxdb_client/model/dbrps.dart';
import 'package:influxdb_client/model/delete_predicate_request.dart';
import 'package:influxdb_client/model/dialect.dart';
import 'package:influxdb_client/model/health_check.dart';
import 'package:influxdb_client/model/is_onboarding.dart';
import 'package:influxdb_client/model/label.dart';
import 'package:influxdb_client/model/label_create_request.dart';
import 'package:influxdb_client/model/label_mapping.dart';
import 'package:influxdb_client/model/label_response.dart';
import 'package:influxdb_client/model/label_update.dart';
import 'package:influxdb_client/model/labels_response.dart';
import 'package:influxdb_client/model/links.dart';
import 'package:influxdb_client/model/log_event.dart';
import 'package:influxdb_client/model/logs.dart';
import 'package:influxdb_client/model/onboarding_request.dart';
import 'package:influxdb_client/model/onboarding_response.dart';
import 'package:influxdb_client/model/organization.dart';
import 'package:influxdb_client/model/organization_links.dart';
import 'package:influxdb_client/model/organizations.dart';
import 'package:influxdb_client/model/password_reset_body.dart';
import 'package:influxdb_client/model/patch_bucket_request.dart';
import 'package:influxdb_client/model/patch_organization_request.dart';
import 'package:influxdb_client/model/patch_retention_rule.dart';
import 'package:influxdb_client/model/permission.dart';
import 'package:influxdb_client/model/post_bucket_request.dart';
import 'package:influxdb_client/model/post_organization_request.dart';
import 'package:influxdb_client/model/query.dart';
import 'package:influxdb_client/model/ready.dart';
import 'package:influxdb_client/model/resource.dart';
import 'package:influxdb_client/model/resource_member.dart';
import 'package:influxdb_client/model/resource_member_all_of.dart';
import 'package:influxdb_client/model/resource_members.dart';
import 'package:influxdb_client/model/resource_members_links.dart';
import 'package:influxdb_client/model/resource_owner.dart';
import 'package:influxdb_client/model/resource_owner_all_of.dart';
import 'package:influxdb_client/model/resource_owners.dart';
import 'package:influxdb_client/model/retention_rule.dart';
import 'package:influxdb_client/model/run.dart';
import 'package:influxdb_client/model/run_links.dart';
import 'package:influxdb_client/model/run_manually.dart';
import 'package:influxdb_client/model/runs.dart';
import 'package:influxdb_client/model/schema_type.dart';
import 'package:influxdb_client/model/script.dart';
import 'package:influxdb_client/model/script_create_request.dart';
import 'package:influxdb_client/model/script_invocation_params.dart';
import 'package:influxdb_client/model/script_language.dart';
import 'package:influxdb_client/model/script_update_request.dart';
import 'package:influxdb_client/model/scripts.dart';
import 'package:influxdb_client/model/secret_keys.dart';
import 'package:influxdb_client/model/secret_keys_response.dart';
import 'package:influxdb_client/model/secret_keys_response_all_of.dart';
import 'package:influxdb_client/model/secret_keys_response_all_of_links.dart';
import 'package:influxdb_client/model/task.dart';
import 'package:influxdb_client/model/task_create_request.dart';
import 'package:influxdb_client/model/task_links.dart';
import 'package:influxdb_client/model/task_status_type.dart';
import 'package:influxdb_client/model/task_update_request.dart';
import 'package:influxdb_client/model/tasks.dart';
import 'package:influxdb_client/model/user.dart';
import 'package:influxdb_client/model/user_response.dart';
import 'package:influxdb_client/model/user_response_links.dart';
import 'package:influxdb_client/model/users.dart';
import 'package:influxdb_client/model/variable.dart';
import 'package:influxdb_client/model/variable_links.dart';
import 'package:influxdb_client/model/variable_properties.dart';
import 'package:influxdb_client/model/variables.dart';
import 'package:influxdb_client/model/write_precision.dart';