Home > meteofrance_api > getPlace
getPlace() function
Get place from name
Signature:
typescript
export declare function getPlace(place: string): Promise<Array<Place>>;
Parameters
Parameter | Type | Description |
---|---|---|
place | string | Name of place (ex: Paris) |
Promise<Array<Place>>
An array of places
Example
javascript
getPlace("Paris").then(console.log)