Hi there,
Slightly confused at what the limit operation does.. I expected it to limit the number of records returned but it seams to be indicating how many records to query from the api , regardless of type.
eg.
from ring_doorbell import Ring
myring = Ring('xxxxx@gmail.com', 'yyyy')
print ("did we connect %s " % myring.is_connected)
for bells in list(myring.doorbells):
for event in bells.history(limit=15,kind='ding'):
print('ID: %s' % event['id'])
print('Kind: %s' % event['kind'])
print('Answered: %s' % event['answered'])
print('When: %s' % event['created_at'])
print('--' * 50)
I expected to return the last 15 "dings" but it returns nothing
if I change the limit to 1000 then I get a couple but not 5-10 or so..
Hi there,
Slightly confused at what the limit operation does.. I expected it to limit the number of records returned but it seams to be indicating how many records to query from the api , regardless of type.
eg.
I expected to return the last 15 "dings" but it returns nothing
if I change the limit to 1000 then I get a couple but not 5-10 or so..