資料庫與範例
    
    
      
    
    
      
      透過集合功能整理內容
    
    
      
      你可以依據偏好儲存及分類內容。
    
  
    
  
      
    
  
  
  
  
  
    
    
    
Google API 用戶端程式庫支援多種常用的程式設計語言,可讓您輕鬆使用 Google 網站驗證 API。
下表的第一欄顯示各程式庫的開發階段 (請注意,部分程式庫仍處於早期階段),以及程式庫的說明文件連結。第二欄會連結至每個程式庫的可用範例。
也可以使用下列早期階段的程式庫:
這個 API 的精選範例
通常要瞭解如何使用 API,最簡單的方法就是參考程式碼範例。上表提供各語言的基本範例連結。本節將特別介紹 Google 網站驗證 API 的有趣範例。
  
  
  | 語言 | 精選範例 | API 版本 | 
  
    | PHP | 
        網站驗證 WordPress 外掛程式
          (來源)
        這個 WordPress 外掛程式會使用 Google Site Verification API 驗證網誌。示範如何使用 PHP 程式庫發出 API 呼叫,以及如何透過 OAuth 進行驗證。外掛程式 ZIP 檔案包含未編譯和未混淆的 PHP 程式碼,可用做範例程式碼。
 
 為符合 WordPress 的法律規定,這個外掛程式是依據 GPLv2 授權;PHP 用戶端程式庫也可供下載,並適用限制較少的 Apache 2.0 授權條款。
 | 1.0 | 
  
  
  
  
 
  
    
    
    
  
  
  
  
  
    
      [[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],[],[],["Google API client libraries simplify the use of the Google Site Verification API across multiple programming languages.  Documentation and sample code are provided for Java, JavaScript, .NET, Objective-C, PHP, and Python. Early-stage support includes Dart, Go, Node.js, and Ruby.  Featured samples are available, including a WordPress plugin that demonstrates the PHP library and OAuth authentication for the API's version 1.0. Sample code allows users to see working examples.\n"]]