Meters

class effipy.meters.Meters(parent, object_id=None)

Bases: effipy.resource.EffiPeopleResource

Permite gestionar los contadores que realizan las medidas

create(dict)

Create a new invoice with a dict that will be converted to JSON.

Parameters:dict (dict) – A dictionary with invoice data like the following:
{
  "id": "sample string 1",
  "usagePointId": "sample string 2"
}
add_filter(filter_function)
apply_filters(request)
delete(*args, **kwargs)

Delete this resource.

filters = ()
get(*args, **kwargs)
get()
`get()` method for all the EffiPeople resources.
Parameters:
  • start (int) – Start of the results
  • limit (int) – Limit of the results
get_url()

Get the URL for the endpoint.

In our case, we replace ‘/’ for ‘-‘ for the object identifier.

list_methods()
list_resources()
parent = None
path = 'meters'
reading(reading_datetime, period=None)
readings()
require(condition)
require_collection()
require_item()
update(*args, **kwargs)
wrap_object(obj)