notion_api 0.0.1 copy "notion_api: ^0.0.1" to clipboard
notion_api: ^0.0.1 copied to clipboard

A client for the public beta of the Notion API

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

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/models/blocks/heading.dart';
import 'package:notion_api/models/blocks/paragraph.dart';
import 'package:notion_api/models/blocks/text.dart';
import 'package:notion_api/models/blocks/todo.dart';
import 'package:notion_api/models/children.dart';
import 'package:notion_api/models/pages.dart';
import 'package:notion_api/models/rich_text/colors.dart';
import 'package:notion_api/models/rich_text/notion_types.dart';
import 'package:notion_api/notion.dart';
import 'package:notion_api/notion_blocks.dart';
import 'package:notion_api/notion_databases.dart';
import 'package:notion_api/notion_pages.dart';
import 'package:notion_api/statics.dart';
27
likes
120
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A client for the public beta of the Notion API

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, http

More

Packages that depend on notion_api