Add more parameters to WHERE expression
Posted: Sun Jul 17, 2016 8:23 pm
I'm trying to get the calls for a specific number. However I want to extend that but getting the calls between an interval of dates. How can I accomplish that? (I'm using Python)
The code below just retrieves the first 10 records for that number. I would like to add more parameters to the WHERE expression.
The code below just retrieves the first 10 records for that number. I would like to add more parameters to the WHERE expression.
Code: Select all
url = SS_PROVISIONING_URL + 'cdr/get?where=FromUser="%s"&count=10' % (q.strip(),)
r = requests.get(url, headers={'apikey':SS_API_KEY})
result = r.json()
records = r.json()['Result']