freshworks / fresh-samples

Samples of code created by freshdesk
184 stars 181 forks source link

Inconsistent api endpoint in code #46

Open jayangshu84 opened 6 years ago

jayangshu84 commented 6 years ago

There is an in consistency in the api endpoint as the end point doesn't match with the documentation https://developer.freshdesk.com/api/#filter_tickets

r = requests.get("https://"+ domain +".freshdesk.com/api/v2/tickets?filter=new_and_my_open", auth = (api_key, password))