ผู้ใช้
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สำคัญ
เราจะหยุดรองรับ JSON API เวอร์ชัน 2.0 ในวันที่ 30 กันยายน 2024
โปรดอัปเดตแอปพลิเคชันที่อาศัย JSON API เวอร์ชัน 2.0 เป็น API เวอร์ชันล่าสุดเพื่อให้แอปพลิเคชันทำงานต่อไปได้ หากต้องการใช้เวอร์ชันล่าสุด ให้ใช้ลิงก์ในแถบนําทางด้านซ้าย
ผู้ใช้แสดงถึงผู้ใช้ Blogger
เมธอด
คุณสามารถดึงข้อมูลผู้ใช้ได้โดยใช้เมธอด blogger.users.get
- get
- ดึงข้อมูลผู้ใช้ 1 รายตามรหัสผู้ใช้
การนําเสนอทรัพยากร
{
"kind": "blogger#user",
"id": string,
"created": datetime,
"url": string,
"selfLink": string,
"blogs": {
"selfLink": string
},
"displayName": string,
"about": string,
"locale": {
"language": string,
"country": string,
"variant": string
}
}
ชื่อพร็อพเพอร์ตี้ |
ค่า |
คำอธิบาย |
หมายเหตุ |
kind |
string |
ประเภทของเอนทิตีนี้ blogger#user เสมอ |
|
id |
string |
ตัวระบุสําหรับผู้ใช้รายนี้ |
|
created |
datetime |
การประทับเวลาที่สร้างโปรไฟล์นี้ เป็นวินาทีนับตั้งแต่ Epoch |
|
url |
string |
หน้าโปรไฟล์ของผู้ใช้ |
|
selfLink |
string |
URL ของ REST API ที่จะดึงข้อมูลทรัพยากรนี้ |
|
blogs |
object |
คอนเทนเนอร์สำหรับบล็อกของผู้ใช้รายนี้ |
|
blogs.selfLink |
string |
URL ของบล็อกสําหรับผู้ใช้รายนี้ |
|
displayName |
string |
ชื่อที่แสดงของผู้ใช้ |
|
about |
string |
ข้อมูลสรุปโปรไฟล์ |
|
locale |
object |
ภาษาของผู้ใช้รายนี้ |
|
locale.language |
string |
การตั้งค่าภาษาของผู้ใช้ |
|
locale.country |
string |
การตั้งค่าประเทศของผู้ใช้ |
|
locale.variant |
string |
การตั้งค่าตัวแปรภาษาของผู้ใช้ |
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-21 UTC
[null,null,["อัปเดตล่าสุด 2024-12-21 UTC"],[[["\u003cp\u003eSupport for the v2.0 JSON API will be discontinued on September 30th, 2024, requiring applications to be updated to the latest API version.\u003c/p\u003e\n"],["\u003cp\u003eThe API allows retrieval of Blogger user information, represented as a \u003ccode\u003eUser\u003c/code\u003e resource, using the \u003ccode\u003eblogger.users.get\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eUser\u003c/code\u003e resource includes properties like user ID, creation timestamp, profile URL, display name, locale details, and blog information.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access the latest API version and documentation through the links provided in the left-side navbar of the webpage.\u003c/p\u003e\n"]]],[],null,["# Users\n\n**Important**:\nWe will discontinue support for the v2.0 JSON API on September 30th, 2024.\nTo ensure continued functionality, update your applications that rely on the v2.0 JSON API\nto the latest API version. For the latest version, use the links in the left-side navbar.\nA User represents a Blogger user.\n\nMethods\n-------\n\nYou can retrieve User information by using the [blogger.users.get](/blogger/docs/2.0/json/reference/users/get) method.\n\n[get](/blogger/docs/2.0/json/reference/users/get)\n: Retrieves one user by userId.\n\nResource Representations\n------------------------\n\n\u003cbr /\u003e\n\n```gdscript\n{\n \"kind\": \"blogger#user\",\n \"id\": string,\n \"created\": datetime,\n \"url\": string,\n \"selfLink\": string,\n \"blogs\": {\n \"selfLink\": string\n },\n \"displayName\": string,\n \"about\": string,\n \"locale\": {\n \"language\": string,\n \"country\": string,\n \"variant\": string\n }\n}\n```\n\n| Property Name | Value | Description | Notes |\n|-------------------|------------|-------------------------------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entity. Always `blogger#user`. | |\n| `id` | `string` | The identifier for this user. | |\n| `created` | `datetime` | The timestamp of when this profile was created, in seconds since epoch. | |\n| `url` | `string` | The user's profile page. | |\n| `selfLink` | `string` | The API REST URL to fetch this resource from. | |\n| `blogs` | `object` | The container for this user's blogs. | |\n| blogs.`selfLink` | `string` | The URL of the blogs for this user. | |\n| `displayName` | `string` | The user's display name. | |\n| `about` | `string` | Profile summary information. | |\n| `locale` | `object` | This user's locale. | |\n| locale.`language` | `string` | The user's language setting. | |\n| locale.`country` | `string` | The user's country setting. | |\n| locale.`variant` | `string` | The user's language variant setting. | |"]]