4doom4 / python-voipms

Python client for v1 of voip.ms REST API
MIT License
25 stars 13 forks source link

client.voicemail.get.voicemail_messages(mailbox, **kwargs) complains when attempting to pass kwargs #8

Open ddrg opened 2 years ago

ddrg commented 2 years ago

When you get a chance, can you verify that kwargs can be passed? I want to filter between from_date and to_date like you can for client.calls.get.cdr().

Thanks for your great work!

ddrg commented 2 years ago

Turns out that your client.calls.get.cdr() function uses 'from_date' and 'to_date' while your client.voicemail.get.voicemail_messages() function uses 'date_from' and 'date_to'. It would be helpful to use the same naming for dates for all functions.