Sample Outputs from my webex API programs

1 webex-update-tokens.py ( to update envuserzp.py)

This program needs to be run before any other to set the proper credentials for all subsequent programs. webex-update-tokens.py asks you to enter the webex bearer token for your webex personal user id. This is retreived by first logging in to https://developer.webex.com/docs/api/getting-started Then copy the bearer code, and paste it into webex-update-tokens.py when prompted. This will then update the credentials module, envuserzp.py

All subsequent programs import this module (envuserzp.py) for credentials.

2 Update <2021-02-11 Thu>

  • env_user_zp.py is now setting the environment for many API environments. These include webex, meraki, dnac-sandbox, cml-local and others.
  • zp-update-tokens.py has taken over the function of webex-update-toekns.py
  • make-safe.py keeps the credentials safe by redacting the string in the above two files.
  • I use gpg to encrypt the un-redacted envuserzp.py~ script. That means that env_user_zp.py.gpg and env_usr_zp.py.asc are important files. I manually change them to read-only when I am done.