sweetiQ API consumer in python