Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Solar

import { Solar } from "https://googleapis.deno.dev/v1/solar:v1.ts";

Solar API.

class Solar {
constructor(client?: CredentialsClient, baseUrl?: string);
async buildingInsightsFindClosest(opts?: BuildingInsightsFindClosestOptions): Promise<BuildingInsights>;
async dataLayersGet(opts?: DataLayersGetOptions): Promise<DataLayers>;
async geoTiffGet(opts?: GeoTiffGetOptions): Promise<HttpBody>;
}

§Constructors

§
new Solar(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
buildingInsightsFindClosest(opts?: BuildingInsightsFindClosestOptions): Promise<BuildingInsights>
[src]

Locates the closest building to a query point. Returns an error with code NOT_FOUND if there are no buildings within approximately 50m of the query point.

§
dataLayersGet(opts?: DataLayersGetOptions): Promise<DataLayers>
[src]

Gets solar information for a region surrounding a location. Returns an error with code NOT_FOUND if the location is outside the coverage area.

§
geoTiffGet(opts?: GeoTiffGetOptions): Promise<HttpBody>
[src]

Returns an image by its ID.