看板
curl --request GET \
--url https://api.aisa.one/apis/v1/pinterest/board \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/pinterest/board"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/pinterest/board', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/pinterest/board",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/pinterest/board"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/pinterest/board")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/pinterest/board")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"pins": [
{
"id": "549579960798399243",
"link": "https://gekbuzz.com/crispy-air-fryer-pizza-rolls-recipe/",
"title": "Crispy Air Fryer Pizza Rolls Recipe -",
"board": {
"node_id": "Qm9hcmQ6NTQ5NTgwMDI5NDY3NTc3NDM2",
"followed_by_me": false,
"owner": {
"node_id": "VXNlcjo1NDk1ODAwOTgxODYwMzM3MzU=",
"image_small_url": "https://s.pinimg.com/images/user/default_30.png",
"is_primary_website_verified": true,
"is_verified_merchant": false,
"full_name": "Gekbuzz",
"username": "sharat24k",
"image_medium_url": "https://s.pinimg.com/images/user/default_75.png",
"id": "549580098186033735",
"verified_identity": {}
},
"privacy": "public",
"is_collaborative": false,
"url": "/sharat24k/pizza-recipes/",
"layout": "default",
"type": "board",
"name": "Pizza Recipes",
"id": "549580029467577436",
"collaborated_by_me": false
},
"unified_user_note": "Craving a quick snack that combines cheesy goodness and crispy texture? These air fryer pizza rolls are the answer! Perfect for movie nights, parties, or just a casual treat, they pack all the flavor of your favorite pizza into a bite-sized delight. Imagine biting into a perfectly golden roll where melty cheese and zesty sauce meld together. The air fryer gives these pizza rolls a satisfying crunch without the extra oil, making them a healthier option that doesn’t skimp on taste.",
"alt_text": "Crispy air fryer pizza rolls served with marinara sauce for dipping on a plate.",
"rich_summary": {
"actions": [],
"products": [],
"apple_touch_icon_link": null,
"type_name": "article",
"type": "richpingriddata",
"id": "5aa12f54bef882f6f3cdd77234027e25",
"favicon_link": "https://s.pinimg.com/images/default_rich_pin_favicon.png",
"url": "https://gekbuzz.com/crispy-air-fryer-pizza-rolls-recipe/",
"display_name": "Crispy Air Fryer Pizza Rolls Recipe -",
"favicon_images": {
"orig": "https://s.pinimg.com/images/default_rich_pin_favicon.png"
},
"display_description": "Craving a quick snack that combines cheesy goodness and crispy texture? These air fryer pizza rolls are the answer! Perfect for movie nights, parties, or just a casual treat, they pack all the flavor of your favorite pizza into a bite-sized delight. Imagine biting into a perfectly golden roll where melty cheese and zesty sauce […]",
"apple_touch_icon_images": null,
"site_name": "gekbuzz.com"
},
"reaction_counts": {},
"pinner": {
"node_id": "VXNlcjo1NDk1ODAwOTgxODYwMzM3MzU=",
"image_small_url": "https://s.pinimg.com/images/user/default_30.png",
"is_primary_website_verified": true,
"is_verified_merchant": false,
"full_name": "Gekbuzz",
"username": "sharat24k",
"image_medium_url": "https://s.pinimg.com/images/user/default_75.png",
"id": "549580098186033735",
"verified_identity": {}
},
"description": "Craving a quick snack that combines cheesy goodness and crispy texture? These air fryer pizza rolls are the answer! Perfect for movie nights, parties, or just a casual treat, they pack all the flavor of your favorite pizza into a bite-sized delight. Imagine biting into a perfectly golden roll where melty cheese and zesty sauce meld together. The air fryer gives these pizza rolls a satisfying crunch without the extra oil, making them a healthier option that doesn’t skimp on taste.",
"domain": "gekbuzz.com"
}
],
"cursor": "Y2JURlEwTVU1RWF6Rk9lbXMxV...."
}Pinterest API
看板
看板
GET
https://api.aisa.one/apis/v1
/
pinterest
/
board
看板
curl --request GET \
--url https://api.aisa.one/apis/v1/pinterest/board \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/pinterest/board"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/pinterest/board', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/pinterest/board",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/pinterest/board"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/pinterest/board")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/pinterest/board")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"pins": [
{
"id": "549579960798399243",
"link": "https://gekbuzz.com/crispy-air-fryer-pizza-rolls-recipe/",
"title": "Crispy Air Fryer Pizza Rolls Recipe -",
"board": {
"node_id": "Qm9hcmQ6NTQ5NTgwMDI5NDY3NTc3NDM2",
"followed_by_me": false,
"owner": {
"node_id": "VXNlcjo1NDk1ODAwOTgxODYwMzM3MzU=",
"image_small_url": "https://s.pinimg.com/images/user/default_30.png",
"is_primary_website_verified": true,
"is_verified_merchant": false,
"full_name": "Gekbuzz",
"username": "sharat24k",
"image_medium_url": "https://s.pinimg.com/images/user/default_75.png",
"id": "549580098186033735",
"verified_identity": {}
},
"privacy": "public",
"is_collaborative": false,
"url": "/sharat24k/pizza-recipes/",
"layout": "default",
"type": "board",
"name": "Pizza Recipes",
"id": "549580029467577436",
"collaborated_by_me": false
},
"unified_user_note": "Craving a quick snack that combines cheesy goodness and crispy texture? These air fryer pizza rolls are the answer! Perfect for movie nights, parties, or just a casual treat, they pack all the flavor of your favorite pizza into a bite-sized delight. Imagine biting into a perfectly golden roll where melty cheese and zesty sauce meld together. The air fryer gives these pizza rolls a satisfying crunch without the extra oil, making them a healthier option that doesn’t skimp on taste.",
"alt_text": "Crispy air fryer pizza rolls served with marinara sauce for dipping on a plate.",
"rich_summary": {
"actions": [],
"products": [],
"apple_touch_icon_link": null,
"type_name": "article",
"type": "richpingriddata",
"id": "5aa12f54bef882f6f3cdd77234027e25",
"favicon_link": "https://s.pinimg.com/images/default_rich_pin_favicon.png",
"url": "https://gekbuzz.com/crispy-air-fryer-pizza-rolls-recipe/",
"display_name": "Crispy Air Fryer Pizza Rolls Recipe -",
"favicon_images": {
"orig": "https://s.pinimg.com/images/default_rich_pin_favicon.png"
},
"display_description": "Craving a quick snack that combines cheesy goodness and crispy texture? These air fryer pizza rolls are the answer! Perfect for movie nights, parties, or just a casual treat, they pack all the flavor of your favorite pizza into a bite-sized delight. Imagine biting into a perfectly golden roll where melty cheese and zesty sauce […]",
"apple_touch_icon_images": null,
"site_name": "gekbuzz.com"
},
"reaction_counts": {},
"pinner": {
"node_id": "VXNlcjo1NDk1ODAwOTgxODYwMzM3MzU=",
"image_small_url": "https://s.pinimg.com/images/user/default_30.png",
"is_primary_website_verified": true,
"is_verified_merchant": false,
"full_name": "Gekbuzz",
"username": "sharat24k",
"image_medium_url": "https://s.pinimg.com/images/user/default_75.png",
"id": "549580098186033735",
"verified_identity": {}
},
"description": "Craving a quick snack that combines cheesy goodness and crispy texture? These air fryer pizza rolls are the answer! Perfect for movie nights, parties, or just a casual treat, they pack all the flavor of your favorite pizza into a bite-sized delight. Imagine biting into a perfectly golden roll where melty cheese and zesty sauce meld together. The air fryer gives these pizza rolls a satisfying crunch without the extra oil, making them a healthier option that doesn’t skimp on taste.",
"domain": "gekbuzz.com"
}
],
"cursor": "Y2JURlEwTVU1RWF6Rk9lbXMxV...."
}通过画板 URL 获取画板中包含的 Pin。
示例
curl "https://api.aisa.one/apis/v1/pinterest/board?url=VALUE" \
-H "Authorization: Bearer YOUR_API_KEY"
⌘I