Skip to content

MercatiEnergetici

mercati_energetici.energy_markets.MercatiEnergetici dataclass

Base class for handling connections with the GME APP API.

get_general_conditions(language='EN') async

Get general usage conditions.

Parameters:

Name Type Description Default
language str

'EN' or 'IT'

'EN'

Returns:

Type Description
dict

A Python dictionary like: {id: ..., lingua: ..., testo: ..., ultimoAggiornamento: ..., tipo: 'CG'}

get_disclaimer(language='EN') async

Get disclaimer.

Parameters:

Name Type Description Default
language str

'EN' or 'IT'

'EN'

Returns:

Type Description
dict

A Python dictionary like: {id: ..., lingua: ..., testo: ..., ultimoAggiornamento: ..., tipo: 'DI'}

close() async

Close client session.