Skip to content
On this page

Home > meteofrance_api > Place

Place class ​

Signature:

typescript
export declare class Place

Constructors ​

Constructor

Modifiers

Description

(constructor)(response)

Constructs a new instance of the Place class

Properties ​

Property

Modifiers

Type

Description

contry_code

string

Code of the country (FR)

coords

Coords

Coordinates of the place

cp

number

Postal code of the place

department_code

string

Code of the department

department_name

string

Name of the department

insee

number

Insee code of the place

name

string

Name of the place or the city

Methods ​

Method

Modifiers

Description

getNextRain()

Get the next rain for this place

getWeather()

Get the weather for this place