lfbn/dynalist-php-client

Dynalist API 的 PHP 客户端

v1.0.2 2021-04-07 22:02 UTC

This package is not auto-updated.

Last update: 2024-09-19 14:11:56 UTC


README

PHP Dynalist 客户端,用于与 Dynalist API 交互。

使用 Composer 安装

composer require lfbn/dynalist-client

快速查看

<?php

$dynalist = DynalistApi('your-api-key');

// get all documents from a file
$fileId = 'the-file-id';
$response = $dynalist->getDocumentContent($fileId);

var_dump($response);

// send something to inbox
$response = $dynalist->sendToInbox(0, 'hi to everyone!');

var_dump($response);