You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require __DIR__ . '/vendor/autoload.php';
use Trello\Client;
use Trello\Manager;
$api_key = "xxx";
$token = "xxx";
$client = new Client();
$client->authenticate($api_key, $token, Client::AUTH_URL_CLIENT_ID);
$manager = new Manager($client);
$card = $manager->getCard();
$card
->setName('Test card')
// Go to you board in browser add ".json" at the end of the URL and search for the ID of the list you wont...
->setListId('5a4e2ab9ed0724e270f109d8')
->setDescription('Test description')
->save();```
how can i create new card under defined list in the existing board?
The text was updated successfully, but these errors were encountered: