Search code examples
pythonpython-3.xapizoom-sdkzoomus

How to have a Zoom API that shows my history


I would like to make a program that automatically fetches my Zoom history. To make this program so far I have used zoomus but I am stuck where on getting the API_KEY and API_SECRET. Does anyone know where to get/make this from?

# Documentation Sample Code

import json
from zoomus import ZoomClient

client = ZoomClient('API_KEY', 'API_SECRET') # This is where I am stuck

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))

Solution

  • You need to read Access Credentials by Zoom. Basically you have 2 options:

    1. Create SDK/JWT app, and provide the credentials of the app.
    2. Use your own credentials. You can fetch the User Tokens using the Users API