Open3

Notion API のパブリックベータが公開されたので、各言語の Notion API Client を漁ってみる

serimaserima

もともとリバースエンジニアリングして API Client としていたものは除き、あくまで今回公開されたオフィシャルな API の Client が対象です。
また、現在(2020/05/16) 時点で README がそれなりに整備されているものに限ります。

JavaScript

公式が提供している唯一の SDK。

https://github.com/makenotion/notion-sdk-js

Go

https://github.com/dstotijn/go-notion
https://github.com/ketion-so/go-notion
https://github.com/sorcererxw/go-notion
https://github.com/mkfsn/notion-go

Python

https://github.com/ramnes/notion-sdk-py

PHP

https://github.com/5am-code/laravel-notion-api
https://github.com/64robots/php-notion

Ruby

https://github.com/mgmarlow/notion-sdk-ruby

serimaserima

もともとリバースエンジニアリングして API Client としていたもの

一応こっちも紹介しておくと、これで有名なのは Python と Go の Client。スター数はどちらも 1,000 を超えてていて、利用しているユーザもそれなりにいるような気もする。

https://github.com/jamalex/notion-py
https://github.com/kjk/notionapi

こちらが公式の API に対応するかどうかはまだ不明。
とはいえ、現実装から大幅に変えないといけないはずだし、公式 API で非対応な操作もたくさんあるので追従はあまり現実的でない気がしている。