हमारा सुझाव है कि इस सेवा को कॉल करने के लिए, Google की दी गई क्लाइंट लाइब्रेरी का इस्तेमाल करें. अगर आपके ऐप्लिकेशन को इस सेवा को कॉल करने के लिए, अपनी लाइब्रेरी का इस्तेमाल करना है, तो एपीआई अनुरोध करते समय नीचे दी गई जानकारी का इस्तेमाल करें.
डिस्कवरी दस्तावेज़
डिस्कवरी दस्तावेज़, मशीन से पढ़ा जा सकने वाला एक दस्तावेज़ होता है. इसमें REST API के बारे में जानकारी दी जाती है और उन्हें इस्तेमाल करने का तरीका बताया जाता है. इसका इस्तेमाल, Google API के साथ इंटरैक्ट करने वाली क्लाइंट लाइब्रेरी, आईडीई प्लग इन, और अन्य टूल बनाने के लिए किया जाता है. एक सेवा, कई डिस्कवरी दस्तावेज़ उपलब्ध करा सकती है. यह सेवा, एपीआई के बारे में ज़रूरी जानकारी देने वाला यह दस्तावेज़ उपलब्ध कराती है:
सेवा एंडपॉइंट एक बेस यूआरएल होता है, जो किसी एपीआई सेवा का नेटवर्क पता बताता है. किसी सेवा में कई सेवा एंडपॉइंट हो सकते हैं. इस सेवा का यह सेवा एंडपॉइंट है. यहां दिए गए सभी यूआरआई, इस सेवा एंडपॉइंट से जुड़े हैं:
[[["समझने में आसान है","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"]],["आखिरी बार 2024-12-21 (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"]]