Skip to content

Commit

Permalink
Merge pull request #872 from microbiomedata/868b-clarify-access-token…
Browse files Browse the repository at this point in the history
…-explanation-in-docs-notebook

Clarify explanation of `access_token` property in Python notebook (in `docs/nb`)
  • Loading branch information
eecavanna authored Jan 20, 2025
2 parents 1334a6f + ab7d9d6 commit a557d5b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/nb/api_access_via_python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,7 @@
"id": "ddeba883",
"metadata": {},
"source": [
"The API response will contain several properties (you can list them via `response.json().keys()`). One of them is named `access_token`.\n",
"\n",
"The `access_token` property contains a string you can use to access \"private\" API endpoints. That string is the access token (hence, the name of the property).\n",
"The API response will contain several properties (you can list them via `response.json().keys()`). One of them is named `access_token`. Its value is an access token; i.e., a string you can use to access \"private\" API endpoints.\n",
"\n",
"I recommend storing that access token in a Python variable for future reference. You can do that by running this cell:"
]
Expand Down

0 comments on commit a557d5b

Please sign in to comment.