使用者
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
重要事項:我們將在 2024 年 9 月 30 日停止支援 JSON API 2.0 版。為確保相關功能持續運作,請將使用 v2.0 JSON API 的應用程式更新為最新的 API 版本。如要使用最新版本,請使用左側的水平列連結。
資源表示法
{
"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 |
這個使用者的 ID。 |
|
created |
datetime |
建立此個人資料的時間戳記,以秒為單位 (自 Epoch 起算)。 |
|
url |
string |
使用者的個人資料頁面。 |
|
selfLink |
string |
要擷取這項資源的 API REST 網址。 |
|
blogs |
object |
這個使用者的網誌容器。 |
|
blogs.selfLink |
string |
這位使用者網誌的網址。 |
|
displayName |
string |
使用者的顯示名稱。 |
|
about |
string |
設定檔摘要資訊。 |
|
locale |
object |
使用者的語言代碼。 |
|
locale.language |
string |
使用者的語言設定。 |
|
locale.country |
string |
使用者的國家/地區設定。 |
|
locale.variant |
string |
使用者的語言變體設定。 |
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-21 (世界標準時間)。
[null,null,["上次更新時間:2024-12-21 (世界標準時間)。"],[[["\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. | |"]]