Skip to content

Commit

Permalink
generateReadme: Refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 8, 2023
1 parent 2eede8b commit dc26728
Show file tree
Hide file tree
Showing 5 changed files with 146 additions and 86 deletions.
48 changes: 24 additions & 24 deletions .github/push_templates_to_algolia.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"id": "aa0e3e6f-1260-4452-8abf-7c084e26c8a4",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-08T13:44:24.921732Z",
"iopub.status.busy": "2023-12-08T13:44:24.921540Z",
"iopub.status.idle": "2023-12-08T13:44:24.967892Z",
"shell.execute_reply": "2023-12-08T13:44:24.967307Z"
"iopub.execute_input": "2023-12-08T14:00:08.722050Z",
"iopub.status.busy": "2023-12-08T14:00:08.721859Z",
"iopub.status.idle": "2023-12-08T14:00:08.768267Z",
"shell.execute_reply": "2023-12-08T14:00:08.767641Z"
},
"papermill": {},
"tags": []
Expand Down Expand Up @@ -95,10 +95,10 @@
"id": "cfa97168-63eb-4e8c-89c3-0a5d26f47740",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-08T13:44:24.970852Z",
"iopub.status.busy": "2023-12-08T13:44:24.970454Z",
"iopub.status.idle": "2023-12-08T13:44:24.973836Z",
"shell.execute_reply": "2023-12-08T13:44:24.973302Z"
"iopub.execute_input": "2023-12-08T14:00:08.770894Z",
"iopub.status.busy": "2023-12-08T14:00:08.770556Z",
"iopub.status.idle": "2023-12-08T14:00:08.773886Z",
"shell.execute_reply": "2023-12-08T14:00:08.773283Z"
},
"papermill": {},
"tags": []
Expand Down Expand Up @@ -141,10 +141,10 @@
"id": "7a9c86c2-931d-4113-abbc-31b3f517b6c4",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-08T13:44:24.976388Z",
"iopub.status.busy": "2023-12-08T13:44:24.976011Z",
"iopub.status.idle": "2023-12-08T13:44:24.989322Z",
"shell.execute_reply": "2023-12-08T13:44:24.988713Z"
"iopub.execute_input": "2023-12-08T14:00:08.776346Z",
"iopub.status.busy": "2023-12-08T14:00:08.776010Z",
"iopub.status.idle": "2023-12-08T14:00:08.789425Z",
"shell.execute_reply": "2023-12-08T14:00:08.788807Z"
},
"tags": []
},
Expand Down Expand Up @@ -178,10 +178,10 @@
"id": "c50e96b2-4403-413c-a99a-9243be0c0a04",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-08T13:44:24.991829Z",
"iopub.status.busy": "2023-12-08T13:44:24.991470Z",
"iopub.status.idle": "2023-12-08T13:44:25.355529Z",
"shell.execute_reply": "2023-12-08T13:44:25.354827Z"
"iopub.execute_input": "2023-12-08T14:00:08.792070Z",
"iopub.status.busy": "2023-12-08T14:00:08.791619Z",
"iopub.status.idle": "2023-12-08T14:00:09.587176Z",
"shell.execute_reply": "2023-12-08T14:00:09.586488Z"
},
"tags": []
},
Expand Down Expand Up @@ -230,10 +230,10 @@
"id": "da661ba3-fd15-4abc-bd4f-d13ae77b82b0",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-08T13:44:25.358453Z",
"iopub.status.busy": "2023-12-08T13:44:25.358049Z",
"iopub.status.idle": "2023-12-08T13:44:25.835875Z",
"shell.execute_reply": "2023-12-08T13:44:25.835177Z"
"iopub.execute_input": "2023-12-08T14:00:09.589902Z",
"iopub.status.busy": "2023-12-08T14:00:09.589695Z",
"iopub.status.idle": "2023-12-08T14:00:10.535535Z",
"shell.execute_reply": "2023-12-08T14:00:10.534847Z"
},
"tags": []
},
Expand All @@ -260,10 +260,10 @@
"id": "f1482a8f-4ce5-4e04-93c8-ddd883375d67",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-08T13:44:25.838546Z",
"iopub.status.busy": "2023-12-08T13:44:25.838348Z",
"iopub.status.idle": "2023-12-08T13:44:25.854466Z",
"shell.execute_reply": "2023-12-08T13:44:25.853825Z"
"iopub.execute_input": "2023-12-08T14:00:10.538200Z",
"iopub.status.busy": "2023-12-08T14:00:10.537844Z",
"iopub.status.idle": "2023-12-08T14:00:10.553781Z",
"shell.execute_reply": "2023-12-08T14:00:10.553162Z"
},
"tags": []
},
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1507,6 +1507,7 @@ We are committed to sharing templates and giving shout outs to the contributors
* [Get Album](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Spotify/Spotify_Get_Album.ipynb)
* [Get Album Tracks](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Spotify/Spotify_Get_Album_Tracks.ipynb)
* [Get Artist](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Spotify/Spotify_Get_Artist.ipynb)
* [Get Artist](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Spotify/Spotify_Get_Artist_Albums.ipynb)
* [Get New Releases](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Spotify/Spotify_Get_New_Releases.ipynb)
* [Get Recently Played Tracks](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Spotify/Spotify_Get_Recently_Played_Tracks.ipynb)
* [Search for Item](https://github.com/jupyter-naas/awesome-notebooks/blob/master/Spotify/Spotify_Search_for_Item.ipynb)
Expand Down
93 changes: 76 additions & 17 deletions Spotify/Spotify_Get_Artist_Albums.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,56 +3,77 @@
{
"cell_type": "markdown",
"id": "9f3f5a8d-95e3-46c0-b3c8-bb1b0c809638",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"<img width=\"8%\" alt=\"Spotify.png\" src=\"https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/.github/assets/logos/Spotify.png\" style=\"border-radius: 15%\">"
]
},
{
"cell_type": "markdown",
"id": "4410e0c8-671d-4c57-9e45-def69095174c",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"# Spotify - Get Artist\n",
"<a href=\"https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Spotify/Spotify_Get_Artist_Albums.ipynb\" target=\"_parent\"><img src=\"https://naasai-public.s3.eu-west-3.amazonaws.com/Open_in_Naas_Lab.svg\"/></a><br><br><a href=\"https://bit.ly/3JyWIk6\">Give Feedback</a> | <a href=\"https://github.com/jupyter-naas/awesome-notebooks/issues/new?assignees=&labels=bug&template=bug_report.md&title=Spotify+-+Get+Artist+Albums:+Error+short+description\">Bug report</a>"
"<a href=\"https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Spotify/Spotify_Get_Artist_Albums.ipynb\" target=\"_parent\"><img src=\"https://naasai-public.s3.eu-west-3.amazonaws.com/Open_in_Naas_Lab.svg\"/></a><br><br><a href=\"https://bit.ly/3JyWIk6\">Give Feedback</a> | <a href=\"https://github.com/jupyter-naas/awesome-notebooks/issues/new?assignees=&labels=bug&template=bug_report.md&title=Spotify+-+Get+Artist:+Error+short+description\">Bug report</a>"
]
},
{
"cell_type": "markdown",
"id": "7b682aed-0b32-4cda-8b16-4c91199f4d73",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"**Tags:** #spotify #api #getartistalbums #webapi #reference #uniqueid #snippet"
]
},
{
"cell_type": "markdown",
"id": "1fdbd058-a8d5-48cd-a240-90d25991d07d",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"**Author:** [Alton Liew](https://www.linkedin.com/in/alton-liew-749944182/)"
]
},
{
"cell_type": "markdown",
"id": "feb06ea5-17c3-4fd8-a136-28a81fef5579",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"**Last update:** 2023-12-08 (Created: 2023-12-08)"
]
},
{
"cell_type": "markdown",
"id": "90899fa6-ef05-4fda-90e2-a882e177ecd3",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"**Description:** This notebook retrieves Spotify catalog information on albums for a single artist identified by their unique Spotify ID."
]
},
{
"cell_type": "markdown",
"id": "4dfa12bb-eba4-44e7-a76b-49ffa550dc3e",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"**References:**\n",
"- [Spotify Web API Reference - Get an Artist Albums](https://developer.spotify.com/documentation/web-api/reference/get-an-artists-albums)\n",
Expand All @@ -62,15 +83,21 @@
{
"cell_type": "markdown",
"id": "260192a0-4a6f-4e7b-ab9a-2b6425844e96",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"## Input"
]
},
{
"cell_type": "markdown",
"id": "9eb3c64e-bcca-4cd5-a0cd-e3d546222c83",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Import libraries"
]
Expand All @@ -80,6 +107,7 @@
"execution_count": null,
"id": "4e8b5680-d730-4e3c-9e9d-de079f8ed705",
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
Expand All @@ -98,7 +126,10 @@
{
"cell_type": "markdown",
"id": "77734f90-6d8d-45a7-b027-1c00044f7489",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Setup variables\n",
"- `client_id`: Your Spotify API client ID. [Get your client ID](https://developer.spotify.com/documentation/general/guides/app-settings/#register-your-app)\n",
Expand All @@ -111,6 +142,7 @@
"execution_count": null,
"id": "a7f9bb35-3349-4ae3-83a8-5e55bf0631b3",
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
Expand All @@ -123,15 +155,21 @@
{
"cell_type": "markdown",
"id": "6b99c9e3-5a3d-4b54-8f2b-106a4b1d453c",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"## Model"
]
},
{
"cell_type": "markdown",
"id": "1fde5d5b-59e1-407f-bc5d-a1cee4136845",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Get artist albums\n",
"* Retrieve Spotify catalog information on all albums by an artist identified by their unique Spotify ID.\n",
Expand All @@ -144,6 +182,7 @@
"execution_count": null,
"id": "9f28e7ac-d5f6-44cf-a1bf-4c9aa80f5153",
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
Expand All @@ -164,15 +203,21 @@
{
"cell_type": "markdown",
"id": "292c70c5-20e7-4939-be6f-113280253c4d",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"## Output"
]
},
{
"cell_type": "markdown",
"id": "e5d289c3-c4e9-4fce-a59e-43fd72ab9a08",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Display result\n",
"If artist information is available, this will print out the required information."
Expand All @@ -183,6 +228,7 @@
"execution_count": null,
"id": "acb13385-2511-49d4-8b15-270b5acb51d9",
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -214,7 +260,10 @@
"cell_type": "code",
"execution_count": null,
"id": "91a59eaf-9f21-40e0-a59b-10e0e8200eeb",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
"source": []
}
Expand All @@ -236,8 +285,18 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.6"
},
"naas": {
"notebook_id": "0487ce04d4b246c7d9faf68875ff17576266baadba38c2405193005cdf583629",
"notebook_path": "Spotify/Spotify_Get_Artist_Albums.ipynb"
},
"papermill": {
"default_parameters": {},
"environment_variables": {},
"parameters": {},
"version": "2.5.0"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Loading

0 comments on commit dc26728

Please sign in to comment.