import requests
import json
import os
token = 'AQAAAAA1ZV4rAAT7ozFhxJ47VUYgkXM9IImE1zk'
url = 'https://dialogs.yandex.net/api/v1/status'
headers = {'Host': 'https://dialogs.yandex.net/api/v1/status',
    f'Authorization': f'OAuth {token}'}
response = requests.get(url, headers=headers)
print(response.text)

7b53ceb25c9606816b65a6830c2deac95af5816c
<mask token>

<mask token>
print(response.text)

<mask token>
token = 'AQAAAAA1ZV4rAAT7ozFhxJ47VUYgkXM9IImE1zk'
url = 'https://dialogs.yandex.net/api/v1/status'
headers = {'Host': 'https://dialogs.yandex.net/api/v1/status',
    f'Authorization': f'OAuth {token}'}
response = requests.get(url, headers=headers)
print(response.text)

import requests
import json
import os
token = 'AQAAAAA1ZV4rAAT7ozFhxJ47VUYgkXM9IImE1zk'
url = 'https://dialogs.yandex.net/api/v1/status'
headers = {'Host': 'https://dialogs.yandex.net/api/v1/status',
    f'Authorization': f'OAuth {token}'}
response = requests.get(url, headers=headers)
print(response.text)
