Skip to content
On this page

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)

**Returns:**

Promise<Array<Place>>

An array of places

Example ​

javascript
getPlace("Paris").then(console.log)