directus 0.0.4 copy "directus: ^0.0.4" to clipboard
directus: ^0.0.4 copied to clipboard

outdated

The unofficial SDK for Directus, with REST API and auth. Compatible with Flutter.

example/main.dart

import 'package:directus/directus.dart';
import 'package:directus/src/query/filter.dart';

void main() async {
  final sdk = DirectusSDK('http://example.com');

  await sdk.auth.login(email: 'admin@example.com', password: 'password');

  final items = await sdk.items('posts').readMany(
        query: Query(
          filter: Filters([
            Filter.eq('id', 5),
            Filter.neq('id', 6),
          ]),
        ),
      );
}
38
likes
0
pub points
80%
popularity

Publisher

verified publisherdirectus.io

The unofficial SDK for Directus, with REST API and auth. Compatible with Flutter.

Homepage

License

unknown (license)

Dependencies

dio, hive

More

Packages that depend on directus