notion_api 0.0.1-prealpha1 notion_api: ^0.0.1-prealpha1 copied to clipboard
Notion API client for dart.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add notion_api
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
notion_api: ^0.0.1-prealpha1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:notion_api/client.dart';
import 'package:notion_api/models/objects.dart';
import 'package:notion_api/models/pages.dart';
import 'package:notion_api/models/rich_text.dart';
import 'package:notion_api/models/users.dart';