Để gọi dịch vụ này, bạn nên sử dụng thư viện ứng dụng do Google cung cấp. Nếu ứng dụng của bạn cần sử dụng thư viện của riêng mình để gọi dịch vụ này, hãy sử dụng thông tin sau khi bạn tạo yêu cầu API.
Tài liệu khám phá
Tài liệu khám phá là một bản đặc tả có thể đọc được bằng máy để mô tả và sử dụng các API REST. Thư viện này dùng để tạo thư viện ứng dụng, trình bổ trợ IDE và các công cụ khác tương tác với API của Google. Một dịch vụ có thể cung cấp nhiều tài liệu khám phá. Dịch vụ này cung cấp tài liệu khám phá sau:
Điểm cuối của dịch vụ là một URL cơ sở chỉ định địa chỉ mạng của một dịch vụ API. Một dịch vụ có thể có nhiều điểm cuối dịch vụ. Dịch vụ này có điểm cuối dịch vụ sau và tất cả URI dưới đây đều liên quan đến điểm cuối dịch vụ này:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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"]]