notion_api 1.0.0-beta2 copy "notion_api: ^1.0.0-beta2" to clipboard
notion_api: ^1.0.0-beta2 copied to clipboard

outdated

A wrapper for the public beta Notion API to manage it like a Notion SDK package for dart.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add notion_api

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  notion_api: ^1.0.0-beta2

Alternatively, your editor might support dart 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/notion.dart';
import 'package:notion_api/notion/blocks/block.dart';
import 'package:notion_api/notion/blocks/heading.dart';
import 'package:notion_api/notion/blocks/paragraph.dart';
import 'package:notion_api/notion/blocks/todo.dart';
import 'package:notion_api/notion/general/base_fields.dart';
import 'package:notion_api/notion/general/lists/children.dart';
import 'package:notion_api/notion/general/lists/pagination.dart';
import 'package:notion_api/notion/general/lists/properties.dart';
import 'package:notion_api/notion/general/property.dart';
import 'package:notion_api/notion/general/rich_text.dart';
import 'package:notion_api/notion/general/types/notion_types.dart';
import 'package:notion_api/notion/objects/database.dart';
import 'package:notion_api/notion/objects/pages.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/responses/notion_response.dart';
import 'package:notion_api/statics.dart';
import 'package:notion_api/utils/utils.dart';
27
likes
0
pub points
46%
popularity

Publisher

unverified uploader

A wrapper for the public beta Notion API to manage it like a Notion SDK package for dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http

More

Packages that depend on notion_api