หากต้องการเรียกใช้บริการนี้ เราขอแนะนำให้คุณใช้คลังไลบรารีไคลเอ็นต์ที่ Google มีให้ หากแอปพลิเคชันของคุณต้องใช้ไลบรารีของคุณเองเพื่อเรียกใช้บริการนี้ ให้ใช้ข้อมูลต่อไปนี้เมื่อส่งคำขอ API
เอกสารการค้นพบ
เอกสาร Discovery คือข้อกำหนดเฉพาะที่เครื่องอ่านได้สำหรับอธิบายและใช้ REST API โดยใช้ในการสร้างไลบรารีของไคลเอ็นต์ ปลั๊กอิน IDE และเครื่องมืออื่นๆ ที่โต้ตอบกับ Google API บริการหนึ่งๆ อาจให้เอกสารการค้นพบได้หลายรายการ บริการนี้มีเอกสารการค้นพบต่อไปนี้
ปลายทางบริการคือ URL พื้นฐานที่ระบุที่อยู่เครือข่ายของบริการ API บริการหนึ่งๆ อาจมีปลายทางบริการหลายรายการ บริการนี้มีปลายทางบริการดังต่อไปนี้ และ URI ทั้งหมดด้านล่างจะเกี่ยวข้องกับปลายทางบริการนี้
[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2025-02-27 UTC"],[[["The Solar API provides access to solar information for buildings and regions, including the ability to find the closest building to a point and get solar data for a region."],["The Solar API offers REST resources for building insights, data layers, and GeoTIFF image retrieval."],["Developers can interact with the Solar API using Google-provided client libraries or their own libraries, utilizing the provided discovery document and service endpoint."],["The service endpoint for the Solar API is `https://solar.googleapis.com`, and all URIs are relative to this endpoint."]]],["The Solar API, accessible via `solar.googleapis.com`, offers three REST resources: `v1.buildingInsights`, `v1.dataLayers`, and `v1.geoTiff`. `v1.buildingInsights` uses the `findClosest` method to locate the nearest building to a specific point. `v1.dataLayers` utilizes the `get` method to retrieve solar information for a location's surrounding area. `v1.geoTiff` employs the `get` method to obtain an image by its unique ID. The API service endpoint is `https://solar.googleapis.com`.\n"]]