Good afternoon, I want to get information about the conference participants, for this I decided to use the zoomus for python library.
But when I have done everything, I get an error:
<Response [401]>
CODE
I use this code:
import json
from zoomus import ZoomClient
client = ZoomClient('API_KEY', 'API_SECRET')
print(client)
user_list_response = client.user.list()
user_list = json.loads(user_list_response.content)
for user in user_list['users']:
user_id = user['id']
print(json.loads(client.meeting.list(user_id=user_id).content))
API_KEY and API_SECRET i get from my JWT
I created the JWT in advance and activated it.
I was trying this code, but i have the same problem.
import json
from zoomus import ZoomClient
client = ZoomClient('---', '---')
user_list_response = client.user.list()
user_list = json.loads(user_list_response.content)
print(user_list)
OUTPUT
{‘code’: 124, ‘message’: ‘Invalid access token.’}
I would be glad if you could help me with this.