Skip to content

Commit

Permalink
Edited example content
Browse files Browse the repository at this point in the history
  • Loading branch information
sri0606 committed Sep 8, 2023
1 parent 5dc22f2 commit 0684619
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from src import pyorcid\n",
"orcid_id = '0009-0005-8629-1578'\n",
"access_token = \"asasfasfasxxxxxxxxxxxx\"\n",
"access_token = \"xxxx-xxx-x-x-x-xxxxxx\"\n",
"orcid = pyorcid.Orcid(orcid_id=orcid_id,orcid_access_token=access_token)\n",
"# orcid.__dir__()"
]
Expand Down Expand Up @@ -86,8 +86,7 @@
"metadata": {},
"outputs": [],
"source": [
"for key,value in works_data.items():\n",
" print(key,value)"
"orcid.activities()"
]
},
{
Expand All @@ -96,24 +95,27 @@
"metadata": {},
"outputs": [],
"source": [
"orcid.record_summary()"
"for key,value in works_data.items():\n",
" print(key,value)"
]
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"orcid.generate_markdown_file(\"md_generator_example.md\")"
"orcid.record_summary()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
"source": [
"orcid.generate_markdown_file(\"md_generator_example.md\")"
]
}
],
"metadata": {
Expand Down

0 comments on commit 0684619

Please sign in to comment.