PHP code example of 64robots / php-notion
1. Go to this page and download the library: Download 64robots/php-notion library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
64robots / php-notion example snippets
use R64\PhpNotion\Notion;
$notion = new Notion('secret_access_token');
$database = $notion->databases()->retrieve('a65b5216-46cb-479b-961e-67cc7b05a56d');
$database = $notion->databases()->retrieve('a65b5216-46cb-479b-961e-67cc7b05a56d');
bash
composer