Skip to content

Commit

Permalink
feat: add missing markdown and update variables
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentLvr committed Nov 10, 2023
1 parent 7091f89 commit 6d51df9
Showing 1 changed file with 64 additions and 7 deletions.
71 changes: 64 additions & 7 deletions Spotify/Spotify_Get_Recently_Played_Tracks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@
"tags": []
},
"source": [
"**References:**\n- [Spotify Web API Reference - Get Recently Played Tracks](https://developer.spotify.com/documentation/web-api/reference/get-recently-played)\n- [Spotify Authorization Guide](https://developer.spotify.com/documentation/general/guides/authorization-guide/)"
"**References:**\n",
"- [Spotify Web API Reference - Get Recently Played Tracks](https://developer.spotify.com/documentation/web-api/reference/get-recently-played)\n",
"- [Spotify Authorization Guide](https://developer.spotify.com/documentation/general/guides/authorization-guide/)"
]
},
{
Expand Down Expand Up @@ -107,8 +109,11 @@
"papermill": {},
"tags": []
},
"source": "import requests\nimport json",
"outputs": []
"outputs": [],
"source": [
"import requests\n",
"import json"
]
},
{
"cell_type": "markdown",
Expand All @@ -118,7 +123,8 @@
"tags": []
},
"source": [
"### Setup variables\n- **token**: Access token to be used for authorization. [Follow this guide to get the token](https://developer.spotify.com/documentation/general/guides/authorization-guide/)"
"### Setup variables\n",
"- **token**: Access token to be used for authorization. [Follow this guide to get the token](https://developer.spotify.com/documentation/general/guides/authorization-guide/)"
]
},
{
Expand All @@ -129,8 +135,59 @@
"papermill": {},
"tags": []
},
"source": "token = \"BQD_YjyVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX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3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3yVX3yV_3y",
"outputs": []
"outputs": [],
"source": [
"token = \"\"\n",
"limit = 10"
]
},
{
"cell_type": "markdown",
"id": "3abae558-7ddd-476f-9116-f62aa1396dc8",
"metadata": {},
"source": [
"## Model"
]
},
{
"cell_type": "markdown",
"id": "21f1e2a3-35dd-4a95-ae44-6ab5bebaf29d",
"metadata": {},
"source": [
"### Get Recently Played Tracks"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "81dfb3ae-61c9-4098-a390-8c2db0fb4950",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"id": "399a05c3-9180-49d3-8041-43facb9ca38e",
"metadata": {},
"source": [
"### Output"
]
},
{
"cell_type": "markdown",
"id": "05c038d8-04a0-4b6f-87f6-c9825e05ae88",
"metadata": {},
"source": [
"### Display result"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "8913840c-1192-4335-8a11-5e9c1c513915",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down Expand Up @@ -161,4 +218,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}

0 comments on commit 6d51df9

Please sign in to comment.