Initial monorepo structure
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import json
|
||||
import requests
|
||||
|
||||
API_KEY = 'B3526FC8-82CB-4798-92C8-22AF05F9A49F'
|
||||
BASE_URL = 'https://support.atl-group.ru/api/v3'
|
||||
|
||||
import urllib3
|
||||
urllib3.disable_warnings()
|
||||
|
||||
# Get notification content
|
||||
url = f'{BASE_URL}/requests/24/notifications/323'
|
||||
params = {
|
||||
'TECHNICIAN_KEY': API_KEY,
|
||||
'INPUT_DATA': json.dumps({'type': 'conversation'})
|
||||
}
|
||||
|
||||
resp = requests.get(url, params=params, timeout=30, verify=False)
|
||||
data = resp.json()
|
||||
|
||||
print('Notification response:')
|
||||
print(json.dumps(data, indent=2, ensure_ascii=False)[:2000])
|
||||
Reference in New Issue
Block a user