Skip to content

Commit

Permalink
Update 01. Setup And Authentication.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed May 1, 2024
1 parent 7aa030a commit 0d898b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions APSToolkitPython/Tutorials/01. Setup And Authentication.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@
"Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests->aps-toolkit) (2024.2.2)\n",
"Requirement already satisfied: six>=1.5 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from python-dateutil>=2.8.1->pandas->aps-toolkit) (1.16.0)\n",
"Downloading aps_toolkit-0.5.3-py3-none-any.whl (55 kB)\n",
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m55.7/55.7 kB\u001b[0m \u001b[31m496.4 kB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n",
"\u001b[?25hInstalling collected packages: aps-toolkit\n",
"\u001B[2K \u001B[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001B[0m \u001B[32m55.7/55.7 kB\u001B[0m \u001B[31m496.4 kB/s\u001B[0m eta \u001B[36m0:00:00\u001B[0ma \u001B[36m0:00:01\u001B[0m\n",
"\u001B[?25hInstalling collected packages: aps-toolkit\n",
" Attempting uninstall: aps-toolkit\n",
" Found existing installation: aps-toolkit 0.5.1\n",
" Uninstalling aps-toolkit-0.5.1:\n",
Expand Down Expand Up @@ -220,6 +220,7 @@
"outputs": [],
"source": [
"import os\n",
"\n",
"client_id = os.environ.get('APS_CLIENT_ID')\n",
"client_secret = os.environ.get('APS_CLIENT_SECRET')\n",
"auth = Auth(client_id, client_secret)\n"
Expand Down

0 comments on commit 0d898b5

Please sign in to comment.