Initial import from local backup (Documents-Playground/pakerpale)

This commit is contained in:
jeonghwa
2026-07-03 05:27:35 +09:00
commit d641ec3923
2315 changed files with 250301 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
'use strict';
var userToken = process.env.PINTEREST_USER_TOKEN;
var pinterest = require('../../../lib')(userToken);
var boardsRequest = async function () {
/**
* passing parameters
* -------------------
*
* board (The board name in the format: <username>/<board_name>)
* name
* description
*
* (optional)
* fields (counts, created_at, creator, description, id, image, name, privacy, reason, url)
*/
var data = {
name: 'Board 11',
description: 'it\'s a board no 11.'
};
var board = 'pideveloper/test-board';
try {
var response = await pinterest.boards.updateBoard(board, data);
} catch (error) {
return;
}
};
boardsRequest();