diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f37df40 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +# Build stage +FROM maven:3.9.8-eclipse-temurin-17 AS build +WORKDIR /app + +COPY pom.xml . +COPY src ./src + + +RUN mvn clean package -DskipTests + + +FROM eclipse-temurin:17-jre +WORKDIR /app + + +COPY --from=build /app/target/*.jar app.jar + + +ENTRYPOINT ["java", "-jar", "app.jar"] \ No newline at end of file diff --git a/README.md b/README.md index 4f40a75..e71d279 100644 --- a/README.md +++ b/README.md @@ -265,3 +265,19 @@ This is the most recent coverage in the repository. The marked endpoints may not - - [x] Get a User's Profile +# 🐳 Docker Setup Guide + +This project supports Docker, allowing the Java application to run in a containerized environment. + +--- + +## 📩 1. Build the Docker Image +docker build -t spotify-web-api-wrapper . + +## 🚀 2. Run the Docker Container +docker run -it --rm -p 8080:8080 spotify-web-api-wrapper + +## 🐳 3. Optional: Using Docker Compose +docker compose up --build +## 🐳 4.Stop the application: +docker compose down \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..95c0ae5 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +version: "3.8" +services: + app: + build: . + container_name: spotify-wrapper + ports: + - "8080:8080" + environment: + - JAVA_OPTS=-Xms512m -Xmx1g \ No newline at end of file diff --git a/target/classes/log4j.properties b/target/classes/log4j.properties new file mode 100644 index 0000000..43b4055 --- /dev/null +++ b/target/classes/log4j.properties @@ -0,0 +1,8 @@ +log4j.rootLogger=TRACE, A1 + +log4j.appender.A1=org.apache.log4j.ConsoleAppender + +log4j.appender.A1.layout=org.apache.log4j.PatternLayout +log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n + +log4j.logger.spotify=INFO \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/authorization/auth-invalid-client.json b/target/test-classes/fixtures/responses/authorization/auth-invalid-client.json new file mode 100644 index 0000000..22809cc --- /dev/null +++ b/target/test-classes/fixtures/responses/authorization/auth-invalid-client.json @@ -0,0 +1,4 @@ +{ + "error": "invalid_client", + "error_description": "Invalid client" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/authorization/authorization_code/AuthorizationCode.json b/target/test-classes/fixtures/responses/authorization/authorization_code/AuthorizationCode.json new file mode 100644 index 0000000..1764a4a --- /dev/null +++ b/target/test-classes/fixtures/responses/authorization/authorization_code/AuthorizationCode.json @@ -0,0 +1,7 @@ +{ + "access_token": "taHZ2SdB-bPA3FsK3D7ZN5npZS47cMy-IEySVEGttOhXmqaVAIo0ESvTCLjLBifhHOHOIuhFUKPW1WMDP7w6dj3MAZdWT8CLI2MkZaXbYLTeoDvXesf2eeiLYPBGdx8tIwQJKgV8XdnzH_DONk", + "token_type": "Bearer", + "scope": "user-read-birthdate user-read-email", + "expires_in": 3600, + "refresh_token": "b0KuPuLw77Z0hQhCsK-GTHoEx_kethtn357V7iqwEpCTIsLgqbBC_vQBTGC6M5rINl0FrqHK-D3cbOsMOlfyVKuQPvpyGcLcxAoLOTpYXc28nVwB7iBq2oKj9G9lHkFOUKn" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/authorization/authorization_code/AuthorizationCodeRefresh.json b/target/test-classes/fixtures/responses/authorization/authorization_code/AuthorizationCodeRefresh.json new file mode 100644 index 0000000..2446350 --- /dev/null +++ b/target/test-classes/fixtures/responses/authorization/authorization_code/AuthorizationCodeRefresh.json @@ -0,0 +1,6 @@ +{ + "access_token": "taHZ2SdB-bPA3FsK3D7ZN5npZS47cMy-IEySVEGttOhXmqaVAIo0ESvTCLjLBifhHOHOIuhFUKPW1WMDP7w6dj3MAZdWT8CLI2MkZaXbYLTeoDvXesf2eeiLYPBGdx8tIwQJKgV8XdnzH_DONk", + "token_type": "Bearer", + "scope": "user-read-birthdate user-read-email", + "expires_in": 3600 +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/authorization/authorization_code/pkce/AuthorizationCodePKCERefresh.json b/target/test-classes/fixtures/responses/authorization/authorization_code/pkce/AuthorizationCodePKCERefresh.json new file mode 100644 index 0000000..fc07d18 --- /dev/null +++ b/target/test-classes/fixtures/responses/authorization/authorization_code/pkce/AuthorizationCodePKCERefresh.json @@ -0,0 +1,7 @@ +{ + "access_token": "9Cysa896KySJLrEcasloD1Gufy9iSq7Wa-K2SbSKwK3rXfizi4GwIS2RCrBmCMsKfkTDm82ez9m47WZ8egFCuRPs4BgEHw", + "token_type": "Bearer", + "expires_in": 3600, + "refresh_token": "PoO04alC_uRJoyd2MLhN53hHv2-sDAJs5mULPPzLW0lgdXXAvZAWEJrBqqd6NfCE4FZo7TcuKXp4grmE-9fKyMaP6zl6g", + "scope": "user-follow-modify" +} diff --git a/target/test-classes/fixtures/responses/authorization/client_credentials/ClientCredentials.json b/target/test-classes/fixtures/responses/authorization/client_credentials/ClientCredentials.json new file mode 100644 index 0000000..44e1e38 --- /dev/null +++ b/target/test-classes/fixtures/responses/authorization/client_credentials/ClientCredentials.json @@ -0,0 +1,5 @@ +{ + "access_token": "taHZ2SdB-bPA3FsK3D7ZN5npZS47cMy-IEySVEGttOhXmqaVAIo0ESvTCLjLBifhHOHOIuhFUKPW1WMDP7w6dj3MAZdWT8CLI2MkZaXbYLTeoDvXesf2eeiLYPBGdx8tIwQJKgV8XdnzH_DONk", + "token_type": "Bearer", + "expires_in": 3600 +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/albums/GetAlbumRequest.json b/target/test-classes/fixtures/responses/data/albums/GetAlbumRequest.json new file mode 100644 index 0000000..ca33ce8 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/albums/GetAlbumRequest.json @@ -0,0 +1,208 @@ +{ + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2BTZIqw0ntH9MvilQ3ewNY" + }, + "href": "https://api.spotify.com/v1/artists/2BTZIqw0ntH9MvilQ3ewNY", + "id": "2BTZIqw0ntH9MvilQ3ewNY", + "name": "Cyndi Lauper", + "type": "artist", + "uri": "spotify:artist:2BTZIqw0ntH9MvilQ3ewNY" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "IE", + "IS", + "IT", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PT", + "PY", + "RO", + "SE", + "SG", + "SI", + "SK", + "SV", + "TW", + "UY" + ], + "copyrights": [ + { + "text": "(P) 2000 Sony Music Entertainment Inc.", + "type": "P" + } + ], + "external_ids": { + "upc": "5099749994324" + }, + "external_urls": { + "spotify": "https://open.spotify.com/album/0sNOF9WDwhWunNAHPD3Baj" + }, + "genres": [], + "href": "https://api.spotify.com/v1/albums/0sNOF9WDwhWunNAHPD3Baj", + "id": "0sNOF9WDwhWunNAHPD3Baj", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/07c323340e03e25a8e5dd5b9a8ec72b69c50089d", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/8b662d81966a0ec40dc10563807696a8479cd48b", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/54b3222c8aaa77890d1ac37b3aaaa1fc9ba630ae", + "width": 64 + } + ], + "name": "She's So Unusual", + "popularity": 39, + "release_date": "1983", + "release_date_precision": "year", + "tracks": { + "href": "https://api.spotify.com/v1/albums/0sNOF9WDwhWunNAHPD3Baj/tracks?offset=0&limit=50", + "items": [ + { + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2BTZIqw0ntH9MvilQ3ewNY" + }, + "href": "https://api.spotify.com/v1/artists/2BTZIqw0ntH9MvilQ3ewNY", + "id": "2BTZIqw0ntH9MvilQ3ewNY", + "name": "Cyndi Lauper", + "type": "artist", + "uri": "spotify:artist:2BTZIqw0ntH9MvilQ3ewNY" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "IE", + "IS", + "IT", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PT", + "PY", + "RO", + "SE", + "SG", + "SI", + "SK", + "SV", + "TW", + "UY" + ], + "disc_number": 1, + "duration_ms": 305560, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/track/3f9zqUnrnIq0LANhmnaF0V" + }, + "href": "https://api.spotify.com/v1/tracks/3f9zqUnrnIq0LANhmnaF0V", + "id": "3f9zqUnrnIq0LANhmnaF0V", + "name": "Money Changes Everything", + "preview_url": "https://p.scdn.co/mp3-preview/01bb2a6c9a89c05a4300aea427241b1719a26b06", + "track_number": 1, + "type": "track", + "uri": "spotify:track:3f9zqUnrnIq0LANhmnaF0V" + } + ], + "limit": 50, + "next": null, + "offset": 0, + "previous": null, + "total": 13 + }, + "type": "album", + "uri": "spotify:album:0sNOF9WDwhWunNAHPD3Baj" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/albums/GetAlbumsTracksRequest.json b/target/test-classes/fixtures/responses/data/albums/GetAlbumsTracksRequest.json new file mode 100644 index 0000000..31fbfb7 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/albums/GetAlbumsTracksRequest.json @@ -0,0 +1,188 @@ +{ + "href": "https://api.spotify.com/v1/albums/6akEvsycLGftJxYudPjmqK/tracks?offset=0&limit=2", + "items": [ + { + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/08td7MxkoHQkXnWAYD8d6Q" + }, + "href": "https://api.spotify.com/v1/artists/08td7MxkoHQkXnWAYD8d6Q", + "id": "08td7MxkoHQkXnWAYD8d6Q", + "name": "Tania Bowra", + "type": "artist", + "uri": "spotify:artist:08td7MxkoHQkXnWAYD8d6Q" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "IE", + "IS", + "IT", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "RO", + "SE", + "SG", + "SI", + "SK", + "SV", + "TR", + "TW", + "US", + "UY" + ], + "disc_number": 1, + "duration_ms": 276773, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/track/2TpxZ7JUBn3uw46aR7qd6V" + }, + "href": "https://api.spotify.com/v1/tracks/2TpxZ7JUBn3uw46aR7qd6V", + "id": "2TpxZ7JUBn3uw46aR7qd6V", + "name": "All I Want", + "preview_url": "https://p.scdn.co/mp3-preview/6d00206e32194d15df329d4770e4fa1f2ced3f57", + "track_number": 1, + "type": "track", + "uri": "spotify:track:2TpxZ7JUBn3uw46aR7qd6V" + }, + { + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/08td7MxkoHQkXnWAYD8d6Q" + }, + "href": "https://api.spotify.com/v1/artists/08td7MxkoHQkXnWAYD8d6Q", + "id": "08td7MxkoHQkXnWAYD8d6Q", + "name": "Tania Bowra", + "type": "artist", + "uri": "spotify:artist:08td7MxkoHQkXnWAYD8d6Q" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "IE", + "IS", + "IT", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "RO", + "SE", + "SG", + "SI", + "SK", + "SV", + "TR", + "TW", + "US", + "UY" + ], + "disc_number": 1, + "duration_ms": 247680, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/track/4PjcfyZZVE10TFd9EKA72r" + }, + "href": "https://api.spotify.com/v1/tracks/4PjcfyZZVE10TFd9EKA72r", + "id": "4PjcfyZZVE10TFd9EKA72r", + "name": "Someday", + "preview_url": "https://p.scdn.co/mp3-preview/2b15de922bf4f4b8cfe09c8448079b8ff7a45a5f", + "track_number": 2, + "type": "track", + "uri": "spotify:track:4PjcfyZZVE10TFd9EKA72r" + } + ], + "limit": 2, + "next": "https://api.spotify.com/v1/albums/6akEvsycLGftJxYudPjmqK/tracks?offset=2&limit=2", + "offset": 0, + "previous": null, + "total": 11 +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/albums/GetSeveralAlbumsRequest.json b/target/test-classes/fixtures/responses/data/albums/GetSeveralAlbumsRequest.json new file mode 100644 index 0000000..931d6b3 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/albums/GetSeveralAlbumsRequest.json @@ -0,0 +1,302 @@ +{ + "albums": [ + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/53A0W3U0s8diEn9RhXQhVz" + }, + "href": "https://api.spotify.com/v1/artists/53A0W3U0s8diEn9RhXQhVz", + "id": "53A0W3U0s8diEn9RhXQhVz", + "name": "Keane", + "type": "artist", + "uri": "spotify:artist:53A0W3U0s8diEn9RhXQhVz" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "IE", + "IS", + "IT", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "RO", + "SE", + "SG", + "SI", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "copyrights": [ + { + "text": "(C) 2013 Universal Island Records, a division of Universal Music Operations Limited", + "type": "C" + }, + { + "text": "(P) 2013 Universal Island Records, a division of Universal Music Operations Limited", + "type": "P" + } + ], + "external_ids": { + "upc": "00602537518357" + }, + "external_urls": { + "spotify": "https://open.spotify.com/album/41MnTivkwTO3UUJ8DrqEJJ" + }, + "genres": [], + "href": "https://api.spotify.com/v1/albums/41MnTivkwTO3UUJ8DrqEJJ", + "id": "41MnTivkwTO3UUJ8DrqEJJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/89b92c6b59131776c0cd8e5df46301ffcf36ed69", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/eb6f0b2594d81f8d9dced193f3e9a3bc4318aedc", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/21e1ebcd7ebd3b679d9d5084bba1e163638b103a", + "width": 64 + } + ], + "name": "The Best Of Keane (Deluxe Edition)", + "popularity": 65, + "release_date": "2013-11-08", + "release_date_precision": "day", + "tracks": { + "href": "https://api.spotify.com/v1/albums/41MnTivkwTO3UUJ8DrqEJJ/tracks?offset=0&limit=50", + "items": [ + { + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/53A0W3U0s8diEn9RhXQhVz" + }, + "href": "https://api.spotify.com/v1/artists/53A0W3U0s8diEn9RhXQhVz", + "id": "53A0W3U0s8diEn9RhXQhVz", + "name": "Keane", + "type": "artist", + "uri": "spotify:artist:53A0W3U0s8diEn9RhXQhVz" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "IE", + "IS", + "IT", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "RO", + "SE", + "SG", + "SI", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "disc_number": 1, + "duration_ms": 215986, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/track/4r9PmSmbAOOWqaGWLf6M9Q" + }, + "href": "https://api.spotify.com/v1/tracks/4r9PmSmbAOOWqaGWLf6M9Q", + "id": "4r9PmSmbAOOWqaGWLf6M9Q", + "name": "Everybody's Changing", + "preview_url": "https://p.scdn.co/mp3-preview/641fd877ee0f42f3713d1649e20a9734cc64b8f9", + "track_number": 1, + "type": "track", + "uri": "spotify:track:4r9PmSmbAOOWqaGWLf6M9Q" + }, + { + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/53A0W3U0s8diEn9RhXQhVz" + }, + "href": "https://api.spotify.com/v1/artists/53A0W3U0s8diEn9RhXQhVz", + "id": "53A0W3U0s8diEn9RhXQhVz", + "name": "Keane", + "type": "artist", + "uri": "spotify:artist:53A0W3U0s8diEn9RhXQhVz" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "IE", + "IS", + "IT", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "RO", + "SE", + "SG", + "SI", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "disc_number": 1, + "duration_ms": 235880, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/track/0HJQD8uqX2Bq5HVdLnd3ep" + }, + "href": "https://api.spotify.com/v1/tracks/0HJQD8uqX2Bq5HVdLnd3ep", + "id": "0HJQD8uqX2Bq5HVdLnd3ep", + "name": "Somewhere Only We Know", + "preview_url": "https://p.scdn.co/mp3-preview/e001676375ea2b4807cee2f98b51f2f3fe0d109b", + "track_number": 2, + "type": "track", + "uri": "spotify:track:0HJQD8uqX2Bq5HVdLnd3ep" + } + ], + "limit": 50, + "next": null, + "offset": 0, + "previous": null, + "total": 9 + }, + "type": "album", + "uri": "spotify:album:6UXCm6bOO4gFlDQZV5yL37" + } + ] +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/albums/GetSeveralAlbumsRequest_None.json b/target/test-classes/fixtures/responses/data/albums/GetSeveralAlbumsRequest_None.json new file mode 100644 index 0000000..b5c63d7 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/albums/GetSeveralAlbumsRequest_None.json @@ -0,0 +1,3 @@ +{ + "albums": [] +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/artists/GetArtistRequest.json b/target/test-classes/fixtures/responses/data/artists/GetArtistRequest.json new file mode 100644 index 0000000..188a71e --- /dev/null +++ b/target/test-classes/fixtures/responses/data/artists/GetArtistRequest.json @@ -0,0 +1,41 @@ +{ + "external_urls": { + "spotify": "https://open.spotify.com/artist/0OdUWJ0sBjDrqHygGUXeCF" + }, + "followers": { + "href": null, + "total": 306565 + }, + "genres": [ + "indie folk", + "indie pop" + ], + "href": "https://api.spotify.com/v1/artists/0OdUWJ0sBjDrqHygGUXeCF", + "id": "0OdUWJ0sBjDrqHygGUXeCF", + "images": [ + { + "height": 816, + "url": "https://i.scdn.co/image/eb266625dab075341e8c4378a177a27370f91903", + "width": 1000 + }, + { + "height": 522, + "url": "https://i.scdn.co/image/2f91c3cace3c5a6a48f3d0e2fd21364d4911b332", + "width": 640 + }, + { + "height": 163, + "url": "https://i.scdn.co/image/2efc93d7ee88435116093274980f04ebceb7b527", + "width": 200 + }, + { + "height": 52, + "url": "https://i.scdn.co/image/4f25297750dfa4051195c36809a9049f6b841a23", + "width": 64 + } + ], + "name": "Band of Horses", + "popularity": 59, + "type": "artist", + "uri": "spotify:artist:0OdUWJ0sBjDrqHygGUXeCF" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/artists/GetArtistsAlbumsRequest.json b/target/test-classes/fixtures/responses/data/artists/GetArtistsAlbumsRequest.json new file mode 100644 index 0000000..3bded30 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/artists/GetArtistsAlbumsRequest.json @@ -0,0 +1,118 @@ +{ + "href": "https://api.spotify.com/v1/artists/1vCWHaC5f2uS3yhpwWbIA6/albums?offset=0&limit=2&include_groups=single&market=ES", + "items": [ + { + "album_group": "single", + "album_type": "single", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1vCWHaC5f2uS3yhpwWbIA6" + }, + "href": "https://api.spotify.com/v1/artists/1vCWHaC5f2uS3yhpwWbIA6", + "id": "1vCWHaC5f2uS3yhpwWbIA6", + "name": "Avicii", + "type": "artist", + "uri": "spotify:artist:1vCWHaC5f2uS3yhpwWbIA6" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1Cs0zKBU1kc0i8ypK3B9ai" + }, + "href": "https://api.spotify.com/v1/artists/1Cs0zKBU1kc0i8ypK3B9ai", + "id": "1Cs0zKBU1kc0i8ypK3B9ai", + "name": "David Guetta", + "type": "artist", + "uri": "spotify:artist:1Cs0zKBU1kc0i8ypK3B9ai" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/19HFRWmRCl27kTk6LeqAO8" + }, + "href": "https://api.spotify.com/v1/artists/19HFRWmRCl27kTk6LeqAO8", + "id": "19HFRWmRCl27kTk6LeqAO8", + "name": "MORTEN", + "type": "artist", + "uri": "spotify:artist:19HFRWmRCl27kTk6LeqAO8" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/37bCTD5iLWMpDcBanNkkXB" + }, + "href": "https://api.spotify.com/v1/albums/37bCTD5iLWMpDcBanNkkXB", + "id": "37bCTD5iLWMpDcBanNkkXB", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/5eeb367a91e7abb76ae6cb15ada77dde636ef740", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/a014dbaab6a1d4ae99ff83d523d4696c307b4009", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/606f0bba8e6949a341c4718dbbdf4acd0595b073", + "width": 64 + } + ], + "name": "Heaven (David Guetta & MORTEN Remix)", + "release_date": "2019-08-23", + "release_date_precision": "day", + "total_tracks": 2, + "type": "album", + "uri": "spotify:album:37bCTD5iLWMpDcBanNkkXB" + }, + { + "album_group": "single", + "album_type": "single", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1vCWHaC5f2uS3yhpwWbIA6" + }, + "href": "https://api.spotify.com/v1/artists/1vCWHaC5f2uS3yhpwWbIA6", + "id": "1vCWHaC5f2uS3yhpwWbIA6", + "name": "Avicii", + "type": "artist", + "uri": "spotify:artist:1vCWHaC5f2uS3yhpwWbIA6" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/7CvAfGvq4RlIwEbT9o8Iav" + }, + "href": "https://api.spotify.com/v1/albums/7CvAfGvq4RlIwEbT9o8Iav", + "id": "7CvAfGvq4RlIwEbT9o8Iav", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/fc52325821e3626ab74ee873aa5add2f61f73fd6", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/cbb2827b08a0c7b20b97075bb959c0ed58fb5bbd", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/f40615b03aa4d64b71ffddb83e4cb0e762a80774", + "width": 64 + } + ], + "name": "Tough Love (TiĂ«sto Remix)", + "release_date": "2019-06-14", + "release_date_precision": "day", + "total_tracks": 2, + "type": "album", + "uri": "spotify:album:7CvAfGvq4RlIwEbT9o8Iav" + } + ], + "limit": 2, + "next": "https://api.spotify.com/v1/artists/1vCWHaC5f2uS3yhpwWbIA6/albums?offset=2&limit=2&include_groups=single&market=ES", + "offset": 0, + "previous": null, + "total": 64 +} diff --git a/target/test-classes/fixtures/responses/data/artists/GetArtistsRelatedArtistsRequest.json b/target/test-classes/fixtures/responses/data/artists/GetArtistsRelatedArtistsRequest.json new file mode 100644 index 0000000..fcce47e --- /dev/null +++ b/target/test-classes/fixtures/responses/data/artists/GetArtistsRelatedArtistsRequest.json @@ -0,0 +1,44 @@ +{ + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/5ZKMPRDHc7qElVJFh3uRqB" + }, + "followers": { + "href": null, + "total": 18108 + }, + "genres": [ + "rockabilly" + ], + "href": "https://api.spotify.com/v1/artists/5ZKMPRDHc7qElVJFh3uRqB", + "id": "5ZKMPRDHc7qElVJFh3uRqB", + "images": [ + { + "height": 997, + "url": "https://i.scdn.co/image/beff5827580bcc4d129cbc0872768095eeba8c14", + "width": 1000 + }, + { + "height": 638, + "url": "https://i.scdn.co/image/dbabf703779789917c4dd1c0e54da62c7a45ce92", + "width": 640 + }, + { + "height": 199, + "url": "https://i.scdn.co/image/74761c343bec27c814b8e44e4bc095cbf1b674bb", + "width": 200 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/0c30af5647c74fee14fb97981c23b336abbc9f21", + "width": 64 + } + ], + "name": "Wanda Jackson", + "popularity": 59, + "type": "artist", + "uri": "spotify:artist:5ZKMPRDHc7qElVJFh3uRqB" + } + ] +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/artists/GetArtistsTopTracksRequest.json b/target/test-classes/fixtures/responses/data/artists/GetArtistsTopTracksRequest.json new file mode 100644 index 0000000..dca621c --- /dev/null +++ b/target/test-classes/fixtures/responses/data/artists/GetArtistsTopTracksRequest.json @@ -0,0 +1,199 @@ +{ + "tracks": [ + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/43ZHCT0cAZBISjO8DG9PnE" + }, + "href": "https://api.spotify.com/v1/artists/43ZHCT0cAZBISjO8DG9PnE", + "id": "43ZHCT0cAZBISjO8DG9PnE", + "name": "Elvis Presley", + "type": "artist", + "uri": "spotify:artist:43ZHCT0cAZBISjO8DG9PnE" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "US", + "UY" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/7xe8VI48TxUpU1IIo0RfGi" + }, + "href": "https://api.spotify.com/v1/albums/7xe8VI48TxUpU1IIo0RfGi", + "id": "7xe8VI48TxUpU1IIo0RfGi", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/4295b5ff74d4f944367144acbe616b6f62d20b17", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/203104e5843248c700b078f391d4bc759c5d7f47", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/0c0a172373b0211c590b241270d05b70889075a1", + "width": 64 + } + ], + "name": "Blue Hawaii", + "type": "album", + "uri": "spotify:album:7xe8VI48TxUpU1IIo0RfGi" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/43ZHCT0cAZBISjO8DG9PnE" + }, + "href": "https://api.spotify.com/v1/artists/43ZHCT0cAZBISjO8DG9PnE", + "id": "43ZHCT0cAZBISjO8DG9PnE", + "name": "Elvis Presley", + "type": "artist", + "uri": "spotify:artist:43ZHCT0cAZBISjO8DG9PnE" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "US", + "UY" + ], + "disc_number": 1, + "duration_ms": 179773, + "explicit": false, + "external_ids": { + "isrc": "USRC16101350" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/44AyOl4qVkzS48vBsbNXaC" + }, + "href": "https://api.spotify.com/v1/tracks/44AyOl4qVkzS48vBsbNXaC", + "id": "44AyOl4qVkzS48vBsbNXaC", + "name": "Can't Help Falling in Love", + "popularity": 70, + "preview_url": "https://p.scdn.co/mp3-preview/26e409b39a2da6dc18fab61020c90be2938dc0e9", + "track_number": 5, + "type": "track", + "uri": "spotify:track:44AyOl4qVkzS48vBsbNXaC" + } + ] +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/artists/GetSeveralArtistsRequest.json b/target/test-classes/fixtures/responses/data/artists/GetSeveralArtistsRequest.json new file mode 100644 index 0000000..efffd7f --- /dev/null +++ b/target/test-classes/fixtures/responses/data/artists/GetSeveralArtistsRequest.json @@ -0,0 +1,87 @@ +{ + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0oSGxfWSnnOXhD2fKuz2Gy" + }, + "followers": { + "href": null, + "total": 633494 + }, + "genres": [ + "art rock", + "glam rock", + "permanent wave" + ], + "href": "https://api.spotify.com/v1/artists/0oSGxfWSnnOXhD2fKuz2Gy", + "id": "0oSGxfWSnnOXhD2fKuz2Gy", + "images": [ + { + "height": 1000, + "url": "https://i.scdn.co/image/32bd9707b42a2c081482ec9cd3ffa8879f659f95", + "width": 1000 + }, + { + "height": 640, + "url": "https://i.scdn.co/image/865f24753e5e4f40a383bf24a9cdda598a4559a8", + "width": 640 + }, + { + "height": 200, + "url": "https://i.scdn.co/image/7ddd6fa5cf78aee2f2e8b347616151393022b7d9", + "width": 200 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/c8dc28c191432862afce298216458a6f00bbfbd8", + "width": 64 + } + ], + "name": "David Bowie", + "popularity": 77, + "type": "artist", + "uri": "spotify:artist:0oSGxfWSnnOXhD2fKuz2Gy" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/3dBVyJ7JuOMt4GE9607Qin" + }, + "followers": { + "href": null, + "total": 52338 + }, + "genres": [ + "glam rock", + "protopunk" + ], + "href": "https://api.spotify.com/v1/artists/3dBVyJ7JuOMt4GE9607Qin", + "id": "3dBVyJ7JuOMt4GE9607Qin", + "images": [ + { + "height": 1300, + "url": "https://i.scdn.co/image/5515a710c94ccd4edd8b9a0587778ed5e3f997da", + "width": 1000 + }, + { + "height": 832, + "url": "https://i.scdn.co/image/c990e667b4ca8240c73b0db06e6d76a3b27ce929", + "width": 640 + }, + { + "height": 260, + "url": "https://i.scdn.co/image/de2fa1d11c59e63143117d44ec9990b9e40451a2", + "width": 200 + }, + { + "height": 83, + "url": "https://i.scdn.co/image/b39638735adb4a4a54621293b99ab65c546f605e", + "width": 64 + } + ], + "name": "T. Rex", + "popularity": 58, + "type": "artist", + "uri": "spotify:artist:3dBVyJ7JuOMt4GE9607Qin" + } + ] +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/browse/GetCategoryRequest.json b/target/test-classes/fixtures/responses/data/browse/GetCategoryRequest.json new file mode 100644 index 0000000..1f85a52 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/browse/GetCategoryRequest.json @@ -0,0 +1,12 @@ +{ + "href": "https://api.spotify.com/v1/browse/categories/party", + "icons": [ + { + "height": 274, + "url": "https://datsnxq1rwndn.cloudfront.net/media/derived/party-274x274_73d1907a7371c3bb96a288390a96ee27_0_0_274_274.jpg", + "width": 274 + } + ], + "id": "party", + "name": "Party" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/browse/GetCategorysPlaylistsRequest.json b/target/test-classes/fixtures/responses/data/browse/GetCategorysPlaylistsRequest.json new file mode 100644 index 0000000..50a4e88 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/browse/GetCategorysPlaylistsRequest.json @@ -0,0 +1,78 @@ +{ + "playlists": { + "href": "https://api.spotify.com/v1/browse/categories/party/playlists?country=BR&offset=0&limit=2", + "items": [ + { + "collaborative": false, + "external_urls": { + "spotify": "http://open.spotify.com/user/spotifybrazilian/playlist/4k7EZPI3uKMz4aRRrLVfen" + }, + "href": "https://api.spotify.com/v1/users/spotifybrazilian/playlists/4k7EZPI3uKMz4aRRrLVfen", + "id": "4k7EZPI3uKMz4aRRrLVfen", + "images": [ + { + "height": 300, + "url": "https://i.scdn.co/image/bf6544c213532e9650088dfef76c8521093d970e", + "width": 300 + } + ], + "name": "Noite EletrĂŽnica", + "owner": { + "external_urls": { + "spotify": "http://open.spotify.com/user/spotifybrazilian" + }, + "href": "https://api.spotify.com/v1/users/spotifybrazilian", + "id": "spotifybrazilian", + "type": "user", + "uri": "spotify:user:spotifybrazilian" + }, + "public": null, + "snapshot_id": "PULvu1V2Ps8lzCxNXfNZTw4QbhBpaV0ZORc03Mw6oj6kQw9Ks2REwhL5Xcw/74wL", + "tracks": { + "href": "https://api.spotify.com/v1/users/spotifybrazilian/playlists/4k7EZPI3uKMz4aRRrLVfen/tracks", + "total": 100 + }, + "type": "playlist", + "uri": "spotify:user:spotifybrazilian:playlist:4k7EZPI3uKMz4aRRrLVfen" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "http://open.spotify.com/user/spotifybrazilian/playlist/4HZh0C9y80GzHDbHZyX770" + }, + "href": "https://api.spotify.com/v1/users/spotifybrazilian/playlists/4HZh0C9y80GzHDbHZyX770", + "id": "4HZh0C9y80GzHDbHZyX770", + "images": [ + { + "height": 300, + "url": "https://i.scdn.co/image/be6c333146674440123073cb32c1c8b851e69023", + "width": 300 + } + ], + "name": "Festa Indie", + "owner": { + "external_urls": { + "spotify": "http://open.spotify.com/user/spotifybrazilian" + }, + "href": "https://api.spotify.com/v1/users/spotifybrazilian", + "id": "spotifybrazilian", + "type": "user", + "uri": "spotify:user:spotifybrazilian" + }, + "public": null, + "snapshot_id": "V66hh9k2HnLCdzHvtoXPv+tm0jp3ODM63SZ0oISfGnlHQxwG/scupDbKgIo99Zfz", + "tracks": { + "href": "https://api.spotify.com/v1/users/spotifybrazilian/playlists/4HZh0C9y80GzHDbHZyX770/tracks", + "total": 74 + }, + "type": "playlist", + "uri": "spotify:user:spotifybrazilian:playlist:4HZh0C9y80GzHDbHZyX770" + } + ], + "limit": 2, + "next": "https://api.spotify.com/v1/browse/categories/party/playlists?country=BR&offset=2&limit=2", + "offset": 0, + "previous": null, + "total": 86 + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/browse/GetListOfCategoriesRequest.json b/target/test-classes/fixtures/responses/data/browse/GetListOfCategoriesRequest.json new file mode 100644 index 0000000..2f6f91e --- /dev/null +++ b/target/test-classes/fixtures/responses/data/browse/GetListOfCategoriesRequest.json @@ -0,0 +1,72 @@ +{ + "categories": { + "href": "https://api.spotify.com/v1/browse/categories?offset=0&limit=20", + "items": [ + { + "href": "https://api.spotify.com/v1/browse/categories/toplists", + "icons": [ + { + "height": 275, + "url": "https://datsnxq1rwndn.cloudfront.net/media/derived/toplists_11160599e6a04ac5d6f2757f5511778f_0_0_275_275.jpg", + "width": 275 + } + ], + "id": "toplists", + "name": "Top Lists" + }, + { + "href": "https://api.spotify.com/v1/browse/categories/mood", + "icons": [ + { + "height": 274, + "url": "https://datsnxq1rwndn.cloudfront.net/media/original/mood-274x274_976986a31ac8c49794cbdc7246fd5ad7_274x274.jpg", + "width": 274 + } + ], + "id": "mood", + "name": "Mood" + }, + { + "href": "https://api.spotify.com/v1/browse/categories/party", + "icons": [ + { + "height": 274, + "url": "https://datsnxq1rwndn.cloudfront.net/media/derived/party-274x274_73d1907a7371c3bb96a288390a96ee27_0_0_274_274.jpg", + "width": 274 + } + ], + "id": "party", + "name": "Party" + }, + { + "href": "https://api.spotify.com/v1/browse/categories/pop", + "icons": [ + { + "height": 274, + "url": "https://datsnxq1rwndn.cloudfront.net/media/derived/pop-274x274_447148649685019f5e2a03a39e78ba52_0_0_274_274.jpg", + "width": 274 + } + ], + "id": "pop", + "name": "Pop" + }, + { + "href": "https://api.spotify.com/v1/browse/categories/workout", + "icons": [ + { + "height": 275, + "url": "https://datsnxq1rwndn.cloudfront.net/media/derived/workout_856581c1c545a5305e49a3cd8be804a0_0_0_275_275.jpg", + "width": 275 + } + ], + "id": "workout", + "name": "Workout" + } + ], + "limit": 20, + "next": "https://api.spotify.com/v1/browse/categories?offset=20&limit=20", + "offset": 0, + "previous": null, + "total": 31 + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/browse/GetListOfFeaturedPlaylistsRequest.json b/target/test-classes/fixtures/responses/data/browse/GetListOfFeaturedPlaylistsRequest.json new file mode 100644 index 0000000..96b2ba6 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/browse/GetListOfFeaturedPlaylistsRequest.json @@ -0,0 +1,79 @@ +{ + "message": "Monday morning music, coming right up!", + "playlists": { + "href": "https://api.spotify.com/v1/browse/featured-playlists?country=SE×tamp=2015-05-18T06:44:32&offset=0&limit=2", + "items": [ + { + "collaborative": false, + "external_urls": { + "spotify": "http://open.spotify.com/user/spotify/playlist/6ftJBzU2LLQcaKefMi7ee7" + }, + "href": "https://api.spotify.com/v1/users/spotify/playlists/6ftJBzU2LLQcaKefMi7ee7", + "id": "6ftJBzU2LLQcaKefMi7ee7", + "images": [ + { + "height": 300, + "url": "https://i.scdn.co/image/7bd33c65ebd1e45975bbcbbf513bafe272f033c7", + "width": 300 + } + ], + "name": "Monday Morning Mood", + "owner": { + "external_urls": { + "spotify": "http://open.spotify.com/user/spotify" + }, + "href": "https://api.spotify.com/v1/users/spotify", + "id": "spotify", + "type": "user", + "uri": "spotify:user:spotify" + }, + "public": null, + "snapshot_id": "WwGvSIVUkUvGvqjgj/bQHlRycYmJ2TkoIxYfoalWlmIZT6TvsgvGMgtQ2dGbkrAW", + "tracks": { + "href": "https://api.spotify.com/v1/users/spotify/playlists/6ftJBzU2LLQcaKefMi7ee7/tracks", + "total": 245 + }, + "type": "playlist", + "uri": "spotify:user:spotify:playlist:6ftJBzU2LLQcaKefMi7ee7" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "http://open.spotify.com/user/spotify__sverige/playlist/4uOEx4OUrkoGNZoIlWMUbO" + }, + "href": "https://api.spotify.com/v1/users/spotify__sverige/playlists/4uOEx4OUrkoGNZoIlWMUbO", + "id": "4uOEx4OUrkoGNZoIlWMUbO", + "images": [ + { + "height": 300, + "url": "https://i.scdn.co/image/24aa1d1b491dd529b9c03392f350740ed73438d8", + "width": 300 + } + ], + "name": "Upp och hoppa!", + "owner": { + "external_urls": { + "spotify": "http://open.spotify.com/user/spotify__sverige" + }, + "href": "https://api.spotify.com/v1/users/spotify__sverige", + "id": "spotify__sverige", + "type": "user", + "uri": "spotify:user:spotify__sverige" + }, + "public": null, + "snapshot_id": "0j9Rcbt2KtCXEXKtKy/tnSL5r4byjDBOIVY1dn4S6GV73EEUgNuK2hU+QyDuNnXz", + "tracks": { + "href": "https://api.spotify.com/v1/users/spotify__sverige/playlists/4uOEx4OUrkoGNZoIlWMUbO/tracks", + "total": 38 + }, + "type": "playlist", + "uri": "spotify:user:spotify__sverige:playlist:4uOEx4OUrkoGNZoIlWMUbO" + } + ], + "limit": 2, + "next": "https://api.spotify.com/v1/browse/featured-playlists?country=SE×tamp=2015-05-18T06:44:32&offset=2&limit=2", + "offset": 0, + "previous": null, + "total": 12 + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/browse/GetListOfNewReleasesRequest.json b/target/test-classes/fixtures/responses/data/browse/GetListOfNewReleasesRequest.json new file mode 100644 index 0000000..86817ef --- /dev/null +++ b/target/test-classes/fixtures/responses/data/browse/GetListOfNewReleasesRequest.json @@ -0,0 +1,213 @@ +{ + "albums": { + "href": "https://api.spotify.com/v1/browse/new-releases?country=SE&offset=0&limit=20", + "items": [ + { + "album_type": "single", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2RdwBSPQiwcmiDo9kixcl8" + }, + "href": "https://api.spotify.com/v1/artists/2RdwBSPQiwcmiDo9kixcl8", + "id": "2RdwBSPQiwcmiDo9kixcl8", + "name": "Pharrell Williams", + "type": "artist", + "uri": "spotify:artist:2RdwBSPQiwcmiDo9kixcl8" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "US", + "UY" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/5ZX4m5aVSmWQ5iHAPQpT71" + }, + "href": "https://api.spotify.com/v1/albums/5ZX4m5aVSmWQ5iHAPQpT71", + "id": "5ZX4m5aVSmWQ5iHAPQpT71", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/e6b635ebe3ef4ba22492f5698a7b5d417f78b88a", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/92ae5b0fe64870c09004dd2e745a4fb1bf7de39d", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/8a7ab6fc2c9f678308ba0f694ecd5718dc6bc930", + "width": 64 + } + ], + "name": "Runnin'", + "type": "album", + "uri": "spotify:album:5ZX4m5aVSmWQ5iHAPQpT71" + }, + { + "album_type": "single", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/3TVXtAsR1Inumwj472S9r4" + }, + "href": "https://api.spotify.com/v1/artists/3TVXtAsR1Inumwj472S9r4", + "id": "3TVXtAsR1Inumwj472S9r4", + "name": "Drake", + "type": "artist", + "uri": "spotify:artist:3TVXtAsR1Inumwj472S9r4" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0geTzdk2InlqIoB16fW9Nd" + }, + "href": "https://api.spotify.com/v1/albums/0geTzdk2InlqIoB16fW9Nd", + "id": "0geTzdk2InlqIoB16fW9Nd", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/d40e9c3d22bde2fbdb2ecc03cccd7a0e77f42e4c", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/dff06a3375f6d9b32ecb081eb9a60bbafecb5731", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/808a02bd7fc59b0652c9df9f68675edbffe07a79", + "width": 64 + } + ], + "name": "Sneakin’", + "type": "album", + "uri": "spotify:album:0geTzdk2InlqIoB16fW9Nd" + } + ], + "limit": 20, + "next": "https://api.spotify.com/v1/browse/new-releases?country=SE&offset=20&limit=20", + "offset": 0, + "previous": null, + "total": 500 + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/browse/GetRecommendationsRequest.json b/target/test-classes/fixtures/responses/data/browse/GetRecommendationsRequest.json new file mode 100644 index 0000000..993a70d --- /dev/null +++ b/target/test-classes/fixtures/responses/data/browse/GetRecommendationsRequest.json @@ -0,0 +1,88 @@ +{ + "tracks": [ + { + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/134GdR5tUtxJrf8cpsfpyY" + }, + "href": "https://api.spotify.com/v1/artists/134GdR5tUtxJrf8cpsfpyY", + "id": "134GdR5tUtxJrf8cpsfpyY", + "name": "Elliphant", + "type": "artist", + "uri": "spotify:artist:134GdR5tUtxJrf8cpsfpyY" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1D2oK3cJRq97OXDzu77BFR" + }, + "href": "https://api.spotify.com/v1/artists/1D2oK3cJRq97OXDzu77BFR", + "id": "1D2oK3cJRq97OXDzu77BFR", + "name": "Ras Fraser Jr.", + "type": "artist", + "uri": "spotify:artist:1D2oK3cJRq97OXDzu77BFR" + } + ], + "disc_number": 1, + "duration_ms": 199133, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/track/1TKYPzH66GwsqyJFKFkBHQ" + }, + "href": "https://api.spotify.com/v1/tracks/1TKYPzH66GwsqyJFKFkBHQ", + "id": "1TKYPzH66GwsqyJFKFkBHQ", + "is_playable": true, + "name": "Music Is Life", + "preview_url": "https://p.scdn.co/mp3-preview/546099103387186dfe16743a33edd77e52cec738", + "track_number": 1, + "type": "track", + "uri": "spotify:track:1TKYPzH66GwsqyJFKFkBHQ" + }, + { + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1VBflYyxBhnDc9uVib98rw" + }, + "href": "https://api.spotify.com/v1/artists/1VBflYyxBhnDc9uVib98rw", + "id": "1VBflYyxBhnDc9uVib98rw", + "name": "Icona Pop", + "type": "artist", + "uri": "spotify:artist:1VBflYyxBhnDc9uVib98rw" + } + ], + "disc_number": 1, + "duration_ms": 187026, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/track/15iosIuxC3C53BgsM5Uggs" + }, + "href": "https://api.spotify.com/v1/tracks/15iosIuxC3C53BgsM5Uggs", + "id": "15iosIuxC3C53BgsM5Uggs", + "is_playable": true, + "name": "All Night", + "preview_url": "https://p.scdn.co/mp3-preview/9ee589fa7fe4e96bad3483c20b3405fb59776424", + "track_number": 2, + "type": "track", + "uri": "spotify:track:15iosIuxC3C53BgsM5Uggs" + } + ], + "seeds": [ + { + "initialPoolSize": 500, + "afterFilteringSize": 380, + "afterRelinkingSize": 365, + "href": "https://api.spotify.com/v1/artists/4NHQUGzhtTLFvgF5SZesLK", + "id": "4NHQUGzhtTLFvgF5SZesLK", + "type": "artist" + }, + { + "initialPoolSize": 250, + "afterFilteringSize": 172, + "afterRelinkingSize": 144, + "href": "https://api.spotify.com/v1/tracks/0c6xIDDpzE81m2q797ordA", + "id": "0c6xIDDpzE81m2q797ordA", + "type": "track" + } + ] +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/browse/miscellaneous/GetAvailableGenreSeedsRequest.json b/target/test-classes/fixtures/responses/data/browse/miscellaneous/GetAvailableGenreSeedsRequest.json new file mode 100644 index 0000000..f37771c --- /dev/null +++ b/target/test-classes/fixtures/responses/data/browse/miscellaneous/GetAvailableGenreSeedsRequest.json @@ -0,0 +1,130 @@ +{ + "genres": [ + "acoustic", + "afrobeat", + "alt-rock", + "alternative", + "ambient", + "anime", + "black-metal", + "bluegrass", + "blues", + "bossanova", + "brazil", + "breakbeat", + "british", + "cantopop", + "chicago-house", + "children", + "chill", + "classical", + "club", + "comedy", + "country", + "dance", + "dancehall", + "death-metal", + "deep-house", + "detroit-techno", + "disco", + "disney", + "drum-and-bass", + "dub", + "dubstep", + "edm", + "electro", + "electronic", + "emo", + "folk", + "forro", + "french", + "funk", + "garage", + "german", + "gospel", + "goth", + "grindcore", + "groove", + "grunge", + "guitar", + "happy", + "hard-rock", + "hardcore", + "hardstyle", + "heavy-metal", + "hip-hop", + "holidays", + "honky-tonk", + "house", + "idm", + "indian", + "indie", + "indie-pop", + "industrial", + "iranian", + "j-dance", + "j-idol", + "j-pop", + "j-rock", + "jazz", + "k-pop", + "kids", + "latin", + "latino", + "malay", + "mandopop", + "metal", + "metal-misc", + "metalcore", + "minimal-techno", + "movies", + "mpb", + "new-age", + "new-release", + "opera", + "pagode", + "party", + "philippines-opm", + "piano", + "pop", + "pop-film", + "post-dubstep", + "power-pop", + "progressive-house", + "psych-rock", + "punk", + "punk-rock", + "r-n-b", + "rainy-day", + "reggae", + "reggaeton", + "road-trip", + "rock", + "rock-n-roll", + "rockabilly", + "romance", + "sad", + "salsa", + "samba", + "sertanejo", + "show-tunes", + "singer-songwriter", + "ska", + "sleep", + "songwriter", + "soul", + "soundtracks", + "spanish", + "study", + "summer", + "swedish", + "synth-pop", + "tango", + "techno", + "trance", + "trip-hop", + "turkish", + "work-out", + "world-music" + ] +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/episodes/GetEpisodeRequest.json b/target/test-classes/fixtures/responses/data/episodes/GetEpisodeRequest.json new file mode 100644 index 0000000..44f592f --- /dev/null +++ b/target/test-classes/fixtures/responses/data/episodes/GetEpisodeRequest.json @@ -0,0 +1,158 @@ +{ + "audio_preview_url": "https://p.scdn.co/mp3-preview/9b0ebffde166917f35f9eab25af874e765261776", + "description": "We try to convince CNET's Jeff Bakalar that the Witcher's extended universe is amazing while he clues us in on where the real money is made. We've also got updates on the Grand Theft Auto movie, Splatoon, Alex's Mad Max impressions, and hot New York real ", + "duration_ms": 8052140, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/4GI3dxEafwap1sFiTGPKd1" + }, + "href": "https://api.spotify.com/v1/episodes/4GI3dxEafwap1sFiTGPKd1", + "id": "4GI3dxEafwap1sFiTGPKd1", + "images": [ + { + "height": 327, + "url": "https://i.scdn.co/image/207663099fe4dab2eafbc2b52813d283e80be07a", + "width": 580 + }, + { + "height": 169, + "url": "https://i.scdn.co/image/156b88e30fbeb1864e75401b619e53238e252dd5", + "width": 300 + }, + { + "height": 36, + "url": "https://i.scdn.co/image/e96c7aa1c2415e29a68d93f4089c8add48b29984", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en-US", + "languages": [ + "en-US" + ], + "name": "The Giant Beastcast: Episode 0", + "release_date": "2015-05-22", + "release_date_precision": "day", + "resume_point": { + "fully_played": false, + "resume_position_ms": 3576000 + }, + "show": { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "The Giant Bomb East team gathers to talk about the week in video games, their lives, and basically anything that interests them. All from New York City!", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/5AvwZVawapvyhJUIx71pdJ" + }, + "href": "https://api.spotify.com/v1/shows/5AvwZVawapvyhJUIx71pdJ", + "id": "5AvwZVawapvyhJUIx71pdJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/1ddf77cc09b21b34b9536f76794b43bac7240688", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/b96bc3c4b41162cf3dbec9f66cd0ba63fde47849", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/e699a95e7494c7c898a85f3676572b71faecf032", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en-US" + ], + "media_type": "audio", + "name": "The Giant Beastcast", + "publisher": "Giant Bomb", + "type": "show", + "uri": "spotify:show:5AvwZVawapvyhJUIx71pdJ" + }, + "type": "episode", + "uri": "spotify:episode:4GI3dxEafwap1sFiTGPKd1" +} diff --git a/target/test-classes/fixtures/responses/data/episodes/GetSeveralEpisodesRequest.json b/target/test-classes/fixtures/responses/data/episodes/GetSeveralEpisodesRequest.json new file mode 100644 index 0000000..94eafe4 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/episodes/GetSeveralEpisodesRequest.json @@ -0,0 +1,320 @@ +{ + "episodes": [ + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/9b0ebffde166917f35f9eab25af874e765261776", + "description": "We try to convince CNET's Jeff Bakalar that the Witcher's extended universe is amazing while he clues us in on where the real money is made. We've also got updates on the Grand Theft Auto movie, Splatoon, Alex's Mad Max impressions, and hot New York real ", + "duration_ms": 8052140, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/4GI3dxEafwap1sFiTGPKd1" + }, + "href": "https://api.spotify.com/v1/episodes/4GI3dxEafwap1sFiTGPKd1", + "id": "4GI3dxEafwap1sFiTGPKd1", + "images": [ + { + "height": 327, + "url": "https://i.scdn.co/image/207663099fe4dab2eafbc2b52813d283e80be07a", + "width": 580 + }, + { + "height": 169, + "url": "https://i.scdn.co/image/156b88e30fbeb1864e75401b619e53238e252dd5", + "width": 300 + }, + { + "height": 36, + "url": "https://i.scdn.co/image/e96c7aa1c2415e29a68d93f4089c8add48b29984", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en-US", + "languages": [ + "en-US" + ], + "name": "The Giant Beastcast: Episode 0", + "release_date": "2015-05-22", + "release_date_precision": "day", + "resume_point": { + "fully_played": false, + "resume_position_ms": 3579000 + }, + "show": { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "The Giant Bomb East team gathers to talk about the week in video games, their lives, and basically anything that interests them. All from New York City!", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/5AvwZVawapvyhJUIx71pdJ" + }, + "href": "https://api.spotify.com/v1/shows/5AvwZVawapvyhJUIx71pdJ", + "id": "5AvwZVawapvyhJUIx71pdJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/1ddf77cc09b21b34b9536f76794b43bac7240688", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/b96bc3c4b41162cf3dbec9f66cd0ba63fde47849", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/e699a95e7494c7c898a85f3676572b71faecf032", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en-US" + ], + "media_type": "audio", + "name": "The Giant Beastcast", + "publisher": "Giant Bomb", + "type": "show", + "uri": "spotify:show:5AvwZVawapvyhJUIx71pdJ" + }, + "type": "episode", + "uri": "spotify:episode:4GI3dxEafwap1sFiTGPKd1" + }, + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/09cec54c8e55316a020ca988888ff95a59fdd664", + "description": "Austin Walker joins us as we deliver updates on Splatoon, Danny Trejo, and Jeff's Australian accent. We also dig into topics ranging from streaming Adult Only games to the current online gaming environment.", + "duration_ms": 6817880, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/1rcYQNrhIqpG3eJyRlRuKJ" + }, + "href": "https://api.spotify.com/v1/episodes/1rcYQNrhIqpG3eJyRlRuKJ", + "id": "1rcYQNrhIqpG3eJyRlRuKJ", + "images": [ + { + "height": 237, + "url": "https://i.scdn.co/image/9f158e066a07176a943278775ecd0da7136dfbd8", + "width": 640 + }, + { + "height": 111, + "url": "https://i.scdn.co/image/ca24d4363195b14aa0b1e1d370643f1d3d76243d", + "width": 300 + }, + { + "height": 24, + "url": "https://i.scdn.co/image/59bc0c009b3fe8903aac2a9113307bd66208faf4", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en-US", + "languages": [ + "en-US" + ], + "name": "The Giant Beastcast: Episode 01", + "release_date": "2015-05-29", + "release_date_precision": "day", + "resume_point": { + "fully_played": false, + "resume_position_ms": 0 + }, + "show": { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "The Giant Bomb East team gathers to talk about the week in video games, their lives, and basically anything that interests them. All from New York City!", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/5AvwZVawapvyhJUIx71pdJ" + }, + "href": "https://api.spotify.com/v1/shows/5AvwZVawapvyhJUIx71pdJ", + "id": "5AvwZVawapvyhJUIx71pdJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/1ddf77cc09b21b34b9536f76794b43bac7240688", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/b96bc3c4b41162cf3dbec9f66cd0ba63fde47849", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/e699a95e7494c7c898a85f3676572b71faecf032", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en-US" + ], + "media_type": "audio", + "name": "The Giant Beastcast", + "publisher": "Giant Bomb", + "type": "show", + "uri": "spotify:show:5AvwZVawapvyhJUIx71pdJ" + }, + "type": "episode", + "uri": "spotify:episode:1rcYQNrhIqpG3eJyRlRuKJ" + } + ] +} diff --git a/target/test-classes/fixtures/responses/data/follow/CheckCurrentUserFollowsArtistsOrUsersRequest.json b/target/test-classes/fixtures/responses/data/follow/CheckCurrentUserFollowsArtistsOrUsersRequest.json new file mode 100644 index 0000000..ed7a89b --- /dev/null +++ b/target/test-classes/fixtures/responses/data/follow/CheckCurrentUserFollowsArtistsOrUsersRequest.json @@ -0,0 +1,4 @@ +[ + true, + false +] \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/follow/CheckUsersFollowPlaylistRequest.json b/target/test-classes/fixtures/responses/data/follow/CheckUsersFollowPlaylistRequest.json new file mode 100644 index 0000000..ed7a89b --- /dev/null +++ b/target/test-classes/fixtures/responses/data/follow/CheckUsersFollowPlaylistRequest.json @@ -0,0 +1,4 @@ +[ + true, + false +] \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/follow/GetUsersFollowedArtistsRequest.json b/target/test-classes/fixtures/responses/data/follow/GetUsersFollowedArtistsRequest.json new file mode 100644 index 0000000..234ef68 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/follow/GetUsersFollowedArtistsRequest.json @@ -0,0 +1,48 @@ +{ + "artists": { + "items": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0I2XqVXqHScXjHhk6AYYRe" + }, + "followers": { + "href": null, + "total": 7753 + }, + "genres": [ + "swedish hip hop" + ], + "href": "https://api.spotify.com/v1/artists/0I2XqVXqHScXjHhk6AYYRe", + "id": "0I2XqVXqHScXjHhk6AYYRe", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/2c8c0cea05bf3d3c070b7498d8d0b957c4cdec20", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/394302b42c4b894786943e028cdd46d7baaa29b7", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ca9df7225ade6e5dfc62e7076709ca3409a7cbbf", + "width": 64 + } + ], + "name": "Afasi & Filthy", + "popularity": 54, + "type": "artist", + "uri": "spotify:artist:0I2XqVXqHScXjHhk6AYYRe" + } + ], + "next": "https://api.spotify.com/v1/users/thelinmichael/following?type=artist&after=0aV6DOiouImYTqrR5YlIqx&limit=20", + "total": 183, + "cursors": { + "after": "0aV6DOiouImYTqrR5YlIqx" + }, + "limit": 20, + "href": "https://api.spotify.com/v1/users/thelinmichael/following?type=artist&limit=20" + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/follow/GetUsersFollowedArtistsRequest_None.json b/target/test-classes/fixtures/responses/data/follow/GetUsersFollowedArtistsRequest_None.json new file mode 100644 index 0000000..fc32951 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/follow/GetUsersFollowedArtistsRequest_None.json @@ -0,0 +1,12 @@ +{ + "artists": { + "items": [], + "next": null, + "total": 0, + "cursors": { + "after": null + }, + "limit": 10, + "href": "https://api.spotify.com/v1/me/following?type=artist&limit=10" + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/library/CheckUsersSavedAlbumsRequest.json b/target/test-classes/fixtures/responses/data/library/CheckUsersSavedAlbumsRequest.json new file mode 100644 index 0000000..ed7a89b --- /dev/null +++ b/target/test-classes/fixtures/responses/data/library/CheckUsersSavedAlbumsRequest.json @@ -0,0 +1,4 @@ +[ + true, + false +] \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/library/CheckUsersSavedShowsRequest.json b/target/test-classes/fixtures/responses/data/library/CheckUsersSavedShowsRequest.json new file mode 100644 index 0000000..ed7a89b --- /dev/null +++ b/target/test-classes/fixtures/responses/data/library/CheckUsersSavedShowsRequest.json @@ -0,0 +1,4 @@ +[ + true, + false +] \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/library/CheckUsersSavedTracksRequest.json b/target/test-classes/fixtures/responses/data/library/CheckUsersSavedTracksRequest.json new file mode 100644 index 0000000..ed7a89b --- /dev/null +++ b/target/test-classes/fixtures/responses/data/library/CheckUsersSavedTracksRequest.json @@ -0,0 +1,4 @@ +[ + true, + false +] \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/library/GetCurrentUsersSavedAlbumsRequest.json b/target/test-classes/fixtures/responses/data/library/GetCurrentUsersSavedAlbumsRequest.json new file mode 100644 index 0000000..6b2b37d --- /dev/null +++ b/target/test-classes/fixtures/responses/data/library/GetCurrentUsersSavedAlbumsRequest.json @@ -0,0 +1,192 @@ +{ + "href": "https://api.spotify.com/v1/me/albums?offset=0&limit=1", + "items": [ + { + "added_at": "2015-11-26T19:13:31Z", + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/58RMTlPJKbmpmVk1AmRK3h" + }, + "href": "https://api.spotify.com/v1/artists/58RMTlPJKbmpmVk1AmRK3h", + "id": "58RMTlPJKbmpmVk1AmRK3h", + "name": "Abidaz", + "type": "artist", + "uri": "spotify:artist:58RMTlPJKbmpmVk1AmRK3h" + } + ], + "available_markets": [ + "AR", + "AT", + "AU", + "BE", + "BR", + "CL", + "CO", + "CY", + "CZ", + "DE" + ], + "copyrights": [ + { + "text": "(C) 2013 Soblue Music Group AB, Under exclusive license to Universal Music AB", + "type": "C" + }, + { + "text": "(P) 2013 Soblue Music Group AB, Under exclusive license to Universal Music AB", + "type": "P" + } + ], + "external_ids": { + "upc": "00602537623730" + }, + "external_urls": { + "spotify": "https://open.spotify.com/album/5m4VYOPoIpkV0XgOiRKkWC" + }, + "genres": [], + "href": "https://api.spotify.com/v1/albums/5m4VYOPoIpkV0XgOiRKkWC", + "id": "5m4VYOPoIpkV0XgOiRKkWC", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ccbb1e3bea2461e69783895e880965b171e29f4c", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/2210b7d23f320a2cab2736bd3b3b948415dd21d8", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/609153aca7f4760136d97fbaccdb4ec0757e4c9e", + "width": 64 + } + ], + "name": "In & ut", + "popularity": 49, + "release_date": "2013-01-01", + "release_date_precision": "day", + "tracks": { + "href": "https://api.spotify.com/v1/albums/5m4VYOPoIpkV0XgOiRKkWC/tracks?offset=0&limit=50", + "items": [ + { + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/58RMTlPJKbmpmVk1AmRK3h" + }, + "href": "https://api.spotify.com/v1/artists/58RMTlPJKbmpmVk1AmRK3h", + "id": "58RMTlPJKbmpmVk1AmRK3h", + "name": "Abidaz", + "type": "artist", + "uri": "spotify:artist:58RMTlPJKbmpmVk1AmRK3h" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1l63szZeUpN1m87MOD1u7K" + }, + "href": "https://api.spotify.com/v1/artists/1l63szZeUpN1m87MOD1u7K", + "id": "1l63szZeUpN1m87MOD1u7K", + "name": "Chapee", + "type": "artist", + "uri": "spotify:artist:1l63szZeUpN1m87MOD1u7K" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1VLf7Ncxb5Jga6eyd3jh6K" + }, + "href": "https://api.spotify.com/v1/artists/1VLf7Ncxb5Jga6eyd3jh6K", + "id": "1VLf7Ncxb5Jga6eyd3jh6K", + "name": "C.U.P", + "type": "artist", + "uri": "spotify:artist:1VLf7Ncxb5Jga6eyd3jh6K" + } + ], + "available_markets": [ + "AR", + "AT", + "AU", + "BE", + "BR", + "CL", + "CO", + "CY", + "CZ", + "DE" + ], + "disc_number": 1, + "duration_ms": 170920, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/track/3VNWq8rTnQG6fM1eldSpZ0" + }, + "href": "https://api.spotify.com/v1/tracks/3VNWq8rTnQG6fM1eldSpZ0", + "id": "3VNWq8rTnQG6fM1eldSpZ0", + "name": "E.C.", + "preview_url": "https://p.scdn.co/mp3-preview/f95e0dba1a76b44fa2b52da2bc273d4f1c4126a5", + "track_number": 1, + "type": "track", + "uri": "spotify:track:3VNWq8rTnQG6fM1eldSpZ0" + }, + { + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/58RMTlPJKbmpmVk1AmRK3h" + }, + "href": "https://api.spotify.com/v1/artists/58RMTlPJKbmpmVk1AmRK3h", + "id": "58RMTlPJKbmpmVk1AmRK3h", + "name": "Abidaz", + "type": "artist", + "uri": "spotify:artist:58RMTlPJKbmpmVk1AmRK3h" + } + ], + "available_markets": [ + "AR", + "AT", + "AU", + "BE", + "BR", + "CL", + "CO", + "CY", + "CZ", + "DE", + "DK", + "EE" + ], + "disc_number": 1, + "duration_ms": 165946, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/track/6ZrVKylVlxkaXHj42O0q2r" + }, + "href": "https://api.spotify.com/v1/tracks/6ZrVKylVlxkaXHj42O0q2r", + "id": "6ZrVKylVlxkaXHj42O0q2r", + "name": "RĂ„knas - Radio Edit", + "preview_url": "https://p.scdn.co/mp3-preview/a7c9a4bfa9e346e3733e9d88076ad1ae409136fb", + "track_number": 13, + "type": "track", + "uri": "spotify:track:6ZrVKylVlxkaXHj42O0q2r" + } + ], + "limit": 50, + "next": null, + "offset": 0, + "previous": null, + "total": 13 + }, + "type": "album", + "uri": "spotify:album:5m4VYOPoIpkV0XgOiRKkWC" + } + } + ], + "limit": 1, + "next": "https://api.spotify.com/v1/me/albums?offset=1&limit=1", + "offset": 0, + "previous": null, + "total": 19 +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/library/GetUsersSavedShowsRequest.json b/target/test-classes/fixtures/responses/data/library/GetUsersSavedShowsRequest.json new file mode 100644 index 0000000..0b2fc06 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/library/GetUsersSavedShowsRequest.json @@ -0,0 +1,139 @@ +{ + "href": "https://api.spotify.com/v1/me/shows?offset=0&limit=20", + "items": [ + { + "added_at": "2019-12-08T21:14:30Z", + "show": { + "available_markets": [ + "AD", + "AE" + ], + "copyrights": [], + "description": "Explore the dark side of the Internet with host Jack Rhysider as he takes you on a journey through the chilling world of privacy hacks, data breaches, and cyber crime. The masterful criminal hackers who dwell on the dark side show us just how vulnerable we all are.", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/4XPl3uEEL9hvqMkoZrzbx5" + }, + "href": "https://api.spotify.com/v1/shows/4XPl3uEEL9hvqMkoZrzbx5", + "id": "4XPl3uEEL9hvqMkoZrzbx5", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/53ba2adaaf2d3e47898aed9edb64026145032e7b", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/5f4726afb1e227c80f228b6b1ea7a6a1209ebe97", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/33cf2b6fea8d62ab730f902b52b0dc1f676cf015", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en" + ], + "media_type": "audio", + "name": "Darknet Diaries", + "publisher": "Jack Rhysider", + "type": "show", + "uri": "spotify:show:4XPl3uEEL9hvqMkoZrzbx5" + } + }, + { + "added_at": "2019-11-22T11:08:10Z", + "show": { + "available_markets": [ + "AD", + "AE" + ], + "copyrights": [], + "description": "Fest & Flauschig mit Jan Böhmermann und Olli Schulz. Der preisgekrönte, verblĂŒffend fabelhafte, grenzenlos fantastische Podcast fĂŒr sie, ihn und es.", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/1OLcQdw2PFDPG1jo3s0wbp" + }, + "href": "https://api.spotify.com/v1/shows/1OLcQdw2PFDPG1jo3s0wbp", + "id": "1OLcQdw2PFDPG1jo3s0wbp", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/79364dab39c9d3757838940fc7cb133c75fdaad2", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/eaf33726dff2bcafeff475813f5bd18ddf51b89d", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/a6514cfa222d1ee22ece832500334903154ffa83", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "de" + ], + "media_type": "audio", + "name": "Fest & Flauschig", + "publisher": "Jan Böhmermann & Olli Schulz", + "type": "show", + "uri": "spotify:show:1OLcQdw2PFDPG1jo3s0wbp" + } + }, + { + "added_at": "2019-10-19T10:57:38Z", + "show": { + "available_markets": [ + "AD", + "AE" + ], + "copyrights": [], + "description": "A series about what it's really like to start a business.", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/5CnDmMUG0S5bSSw612fs8C" + }, + "href": "https://api.spotify.com/v1/shows/5CnDmMUG0S5bSSw612fs8C", + "id": "5CnDmMUG0S5bSSw612fs8C", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/6fe88d8c175bdec76c7f9f204c60f4331ce89bdc", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/00511e028a3b993efaf5e2e12b552cda1e979206", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/aa1dbf8c6c545c623d088d5e432afdf8dee3029d", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en" + ], + "media_type": "audio", + "name": "StartUp Podcast", + "publisher": "Gimlet", + "type": "show", + "uri": "spotify:show:5CnDmMUG0S5bSSw612fs8C" + } + } + ], + "limit": 20, + "next": null, + "offset": 0, + "previous": null, + "total": 3 +} diff --git a/target/test-classes/fixtures/responses/data/library/GetUsersSavedTracksRequest.json b/target/test-classes/fixtures/responses/data/library/GetUsersSavedTracksRequest.json new file mode 100644 index 0000000..f3e4d6b --- /dev/null +++ b/target/test-classes/fixtures/responses/data/library/GetUsersSavedTracksRequest.json @@ -0,0 +1,202 @@ +{ + "href": "https://api.spotify.com/v1/me/tracks?offset=0&limit=20", + "items": [ + { + "added_at": "2016-10-24T15:03:07Z", + "track": { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0LIll5i3kwo5A3IDpipgkS" + }, + "href": "https://api.spotify.com/v1/artists/0LIll5i3kwo5A3IDpipgkS", + "id": "0LIll5i3kwo5A3IDpipgkS", + "name": "Squirrel Nut Zippers", + "type": "artist", + "uri": "spotify:artist:0LIll5i3kwo5A3IDpipgkS" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/63GBbuUNBel2ovJjUrfh5r" + }, + "href": "https://api.spotify.com/v1/albums/63GBbuUNBel2ovJjUrfh5r", + "id": "63GBbuUNBel2ovJjUrfh5r", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/e9c5fd63935b08ed27a7a5b0e65b2c6bf600fc4a", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/416b6589d9e2d91147ff5072d640d0041b04cb41", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/4bb6b451b8edde5881a5fcbe1a54bc8538f407ec", + "width": 64 + } + ], + "name": "The Best of Squirrel Nut Zippers", + "type": "album", + "uri": "spotify:album:63GBbuUNBel2ovJjUrfh5r" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0LIll5i3kwo5A3IDpipgkS" + }, + "href": "https://api.spotify.com/v1/artists/0LIll5i3kwo5A3IDpipgkS", + "id": "0LIll5i3kwo5A3IDpipgkS", + "name": "Squirrel Nut Zippers", + "type": "artist", + "uri": "spotify:artist:0LIll5i3kwo5A3IDpipgkS" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "disc_number": 1, + "duration_ms": 137040, + "explicit": false, + "external_ids": { + "isrc": "USMA20215185" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/2jpDioAB9tlYXMdXDK3BGl" + }, + "href": "https://api.spotify.com/v1/tracks/2jpDioAB9tlYXMdXDK3BGl", + "id": "2jpDioAB9tlYXMdXDK3BGl", + "name": "Good Enough For Granddad", + "popularity": 19, + "preview_url": "https://p.scdn.co/mp3-preview/32cc6f7a3fca362dfcde753f0339f42539f15c9a", + "track_number": 1, + "type": "track", + "uri": "spotify:track:2jpDioAB9tlYXMdXDK3BGl" + } + } + ], + "limit": 20, + "next": "https://api.spotify.com/v1/me/tracks?offset=20&limit=20", + "offset": 0, + "previous": null, + "total": 53 +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/personalization/simplified/GetUsersTopArtistsRequest.json b/target/test-classes/fixtures/responses/data/personalization/simplified/GetUsersTopArtistsRequest.json new file mode 100644 index 0000000..5970379 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/personalization/simplified/GetUsersTopArtistsRequest.json @@ -0,0 +1,396 @@ +{ + "items": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0jNDKefhfSbLR9sFvcPLHo" + }, + "followers": { + "href": null, + "total": 227667 + }, + "genres": [ + "bass trap", + "brostep", + "catstep", + "edm", + "electro house", + "electronic trap", + "tracestep", + "tropical house", + "vapor twitch" + ], + "href": "https://api.spotify.com/v1/artists/0jNDKefhfSbLR9sFvcPLHo", + "id": "0jNDKefhfSbLR9sFvcPLHo", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/6f2637eed9b15b8655cbb7071c6d335a5611cefd", + "width": 640 + }, + { + "height": 320, + "url": "https://i.scdn.co/image/2715054e6248aa3b1b40dfbe3f8245bc92ce99d4", + "width": 320 + }, + { + "height": 160, + "url": "https://i.scdn.co/image/0e7894b912c54a460d2d1d6c4c0b6e89346bfa2a", + "width": 160 + } + ], + "name": "San Holo", + "popularity": 72, + "type": "artist", + "uri": "spotify:artist:0jNDKefhfSbLR9sFvcPLHo" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6gto7HVNhu4ARE3P3g8Y5Y" + }, + "followers": { + "href": null, + "total": 746441 + }, + "genres": [ + "german hip hop" + ], + "href": "https://api.spotify.com/v1/artists/6gto7HVNhu4ARE3P3g8Y5Y", + "id": "6gto7HVNhu4ARE3P3g8Y5Y", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/6a805488b3be4d28a7579f85219a8e2d4ef8c4f4", + "width": 640 + }, + { + "height": 320, + "url": "https://i.scdn.co/image/aea835f0bef07b177f2cc0ab0c74512d986b9b90", + "width": 320 + }, + { + "height": 160, + "url": "https://i.scdn.co/image/5a514fac41e28400938960a42aea9a4d5ea7c7b4", + "width": 160 + } + ], + "name": "Kollegah", + "popularity": 80, + "type": "artist", + "uri": "spotify:artist:6gto7HVNhu4ARE3P3g8Y5Y" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2o5jDhtHVPhrJdv3cEQ99Z" + }, + "followers": { + "href": null, + "total": 2560853 + }, + "genres": [ + "big room", + "brostep", + "edm", + "electro house", + "house", + "trance", + "tropical house" + ], + "href": "https://api.spotify.com/v1/artists/2o5jDhtHVPhrJdv3cEQ99Z", + "id": "2o5jDhtHVPhrJdv3cEQ99Z", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ec396fb659e29efcfbadd91cb1dd8e270393908f", + "width": 640 + }, + { + "height": 320, + "url": "https://i.scdn.co/image/faed8e05e122ca6e35f5ad64c65c9c3eb09dbeb6", + "width": 320 + }, + { + "height": 160, + "url": "https://i.scdn.co/image/d922ec259da800ae24792b14a5ae0f5883a9aea1", + "width": 160 + } + ], + "name": "TiĂ«sto", + "popularity": 82, + "type": "artist", + "uri": "spotify:artist:2o5jDhtHVPhrJdv3cEQ99Z" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0tMFcqLXhtm1Gep20iuIR3" + }, + "followers": { + "href": null, + "total": 160144 + }, + "genres": [ + "deep german hip hop", + "german hip hop" + ], + "href": "https://api.spotify.com/v1/artists/0tMFcqLXhtm1Gep20iuIR3", + "id": "0tMFcqLXhtm1Gep20iuIR3", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/39bb8d7e94bf57fba3561a9b1ab098e67addd899", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/31a91649e012a8cf9f8e1acc61883e0859e24f6a", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/dbdbb0469b04fc3298f4f96a1bafeda72c66194f", + "width": 64 + } + ], + "name": "SXTN", + "popularity": 70, + "type": "artist", + "uri": "spotify:artist:0tMFcqLXhtm1Gep20iuIR3" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/7dGJo4pcD2V6oG8kP0tJRR" + }, + "followers": { + "href": null, + "total": 13155758 + }, + "genres": [ + "detroit hip hop", + "g funk", + "hip hop", + "rap" + ], + "href": "https://api.spotify.com/v1/artists/7dGJo4pcD2V6oG8kP0tJRR", + "id": "7dGJo4pcD2V6oG8kP0tJRR", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/6c3ecb13aa0160b990cc957292751f229c9b5b7b", + "width": 640 + }, + { + "height": 320, + "url": "https://i.scdn.co/image/25b1026ea50d9d6ec565c32f4c81bf6b5d45a5d9", + "width": 320 + }, + { + "height": 160, + "url": "https://i.scdn.co/image/e479a506942c089a34683bc03bd95bdb99e20048", + "width": 160 + } + ], + "name": "Eminem", + "popularity": 97, + "type": "artist", + "uri": "spotify:artist:7dGJo4pcD2V6oG8kP0tJRR" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1l2ekx5skC4gJH8djERwh1" + }, + "followers": { + "href": null, + "total": 706378 + }, + "genres": [ + "big room", + "deep big room", + "edm", + "electro house", + "house", + "progressive electro house", + "progressive house", + "tropical house" + ], + "href": "https://api.spotify.com/v1/artists/1l2ekx5skC4gJH8djERwh1", + "id": "1l2ekx5skC4gJH8djERwh1", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/8e300462ea539531b1640897fed77380cb7e14e0", + "width": 640 + }, + { + "height": 320, + "url": "https://i.scdn.co/image/7288835a9a8c7ebc4fd2044b1a2eda6a5e120e7c", + "width": 320 + }, + { + "height": 160, + "url": "https://i.scdn.co/image/178c6e7e3bf24710d4895048586a86f1bb81d842", + "width": 160 + } + ], + "name": "Don Diablo", + "popularity": 76, + "type": "artist", + "uri": "spotify:artist:1l2ekx5skC4gJH8djERwh1" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1vCWHaC5f2uS3yhpwWbIA6" + }, + "followers": { + "href": null, + "total": 6934601 + }, + "genres": [ + "big room", + "edm", + "electro house", + "pop", + "tropical house" + ], + "href": "https://api.spotify.com/v1/artists/1vCWHaC5f2uS3yhpwWbIA6", + "id": "1vCWHaC5f2uS3yhpwWbIA6", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/81b19a403109c4fe528ee3972137127b85be9519", + "width": 640 + }, + { + "height": 320, + "url": "https://i.scdn.co/image/9c0d8fa969a9f5db6ff860203d6880a125e501d2", + "width": 320 + }, + { + "height": 160, + "url": "https://i.scdn.co/image/c55bc6f57b6bb297425c3ae694f92672dcf0e2c2", + "width": 160 + } + ], + "name": "Avicii", + "popularity": 86, + "type": "artist", + "uri": "spotify:artist:1vCWHaC5f2uS3yhpwWbIA6" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/41LLNWUptvfbQ9Q7oCefmg" + }, + "followers": { + "href": null, + "total": 270479 + }, + "genres": [ + "deep german hip hop", + "german hip hop" + ], + "href": "https://api.spotify.com/v1/artists/41LLNWUptvfbQ9Q7oCefmg", + "id": "41LLNWUptvfbQ9Q7oCefmg", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/1d9932254920b0b629f7527ed7b9281b57b2e0b4", + "width": 640 + }, + { + "height": 320, + "url": "https://i.scdn.co/image/b67a507fa0e6cc11685490e0b78da0d04acf232f", + "width": 320 + }, + { + "height": 160, + "url": "https://i.scdn.co/image/bffe0a950aa7a325f5f6c6b2a7d673afffa55de5", + "width": 160 + } + ], + "name": "Genetikk", + "popularity": 65, + "type": "artist", + "uri": "spotify:artist:41LLNWUptvfbQ9Q7oCefmg" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6XyY86QOPPrYVGvF9ch6wz" + }, + "followers": { + "href": null, + "total": 6840609 + }, + "genres": [ + "alternative metal", + "nu metal", + "post-grunge", + "rap metal", + "rock" + ], + "href": "https://api.spotify.com/v1/artists/6XyY86QOPPrYVGvF9ch6wz", + "id": "6XyY86QOPPrYVGvF9ch6wz", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/1685533969d5b68cbc630f991e873bd6467f1814", + "width": 640 + }, + { + "height": 320, + "url": "https://i.scdn.co/image/f759994946aa42851e5293083f472c96c1753105", + "width": 320 + }, + { + "height": 160, + "url": "https://i.scdn.co/image/0b0925b544b46d90a549f25a7f754ce6e59e6be2", + "width": 160 + } + ], + "name": "Linkin Park", + "popularity": 88, + "type": "artist", + "uri": "spotify:artist:6XyY86QOPPrYVGvF9ch6wz" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/5BcAKTbp20cv7tC5VqPFoC" + }, + "followers": { + "href": null, + "total": 2023844 + }, + "genres": [ + "pop", + "pop rap", + "underground pop rap" + ], + "href": "https://api.spotify.com/v1/artists/5BcAKTbp20cv7tC5VqPFoC", + "id": "5BcAKTbp20cv7tC5VqPFoC", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/aa77c545af000003e22621637813e2e7c65c4203", + "width": 640 + }, + { + "height": 320, + "url": "https://i.scdn.co/image/02b156507da36da44d7b838c325285452dffa9a6", + "width": 320 + }, + { + "height": 160, + "url": "https://i.scdn.co/image/89c1341da3c66efd71ecb0494fe8c4a5dad3c1aa", + "width": 160 + } + ], + "name": "Macklemore & Ryan Lewis", + "popularity": 79, + "type": "artist", + "uri": "spotify:artist:5BcAKTbp20cv7tC5VqPFoC" + } + ], + "total": 50, + "limit": 10, + "offset": 5, + "href": "https://api.spotify.com/v1/me/top/artists?limit=10&offset=5", + "previous": null, + "next": "https://api.spotify.com/v1/me/top/artists?limit=10&offset=15" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/personalization/simplified/GetUsersTopTracksRequest.json b/target/test-classes/fixtures/responses/data/personalization/simplified/GetUsersTopTracksRequest.json new file mode 100644 index 0000000..0185600 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/personalization/simplified/GetUsersTopTracksRequest.json @@ -0,0 +1,749 @@ +{ + "items": [ + { + "album": { + "album_type": "ALBUM", + "external_urls": { + "spotify": "https://open.spotify.com/album/3luHJEPw434tvNbme3SP8M" + }, + "href": "https://api.spotify.com/v1/albums/3luHJEPw434tvNbme3SP8M", + "id": "3luHJEPw434tvNbme3SP8M", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ccdac9e430efeb02467f94050620341f4c1f83c4", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/1b821cf90d21ab3daad0fd6410b459b842330bd0", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ce7f5238d2bdab39ad538e1f4da29b6195a51898", + "width": 64 + } + ], + "name": "Jung Brutal Gutaussehend 3", + "type": "album", + "uri": "spotify:album:3luHJEPw434tvNbme3SP8M" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6gto7HVNhu4ARE3P3g8Y5Y" + }, + "href": "https://api.spotify.com/v1/artists/6gto7HVNhu4ARE3P3g8Y5Y", + "id": "6gto7HVNhu4ARE3P3g8Y5Y", + "name": "Kollegah", + "type": "artist", + "uri": "spotify:artist:6gto7HVNhu4ARE3P3g8Y5Y" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2JwyRtuXf2l6sTnSnGVIa1" + }, + "href": "https://api.spotify.com/v1/artists/2JwyRtuXf2l6sTnSnGVIa1", + "id": "2JwyRtuXf2l6sTnSnGVIa1", + "name": "Farid Bang", + "type": "artist", + "uri": "spotify:artist:2JwyRtuXf2l6sTnSnGVIa1" + } + ], + "disc_number": 1, + "duration_ms": 183040, + "explicit": true, + "external_ids": { + "isrc": "DELV41702367" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/1Rn0dmvcmrkM16ImY8TObH" + }, + "href": "https://api.spotify.com/v1/tracks/1Rn0dmvcmrkM16ImY8TObH", + "id": "1Rn0dmvcmrkM16ImY8TObH", + "is_playable": true, + "name": "Studiogangster", + "popularity": 68, + "preview_url": "https://p.scdn.co/mp3-preview/ff0ca7386a6c7f205c6f16aac9ef2301dc4b39b8", + "track_number": 5, + "type": "track", + "uri": "spotify:track:1Rn0dmvcmrkM16ImY8TObH" + }, + { + "album": { + "album_type": "ALBUM", + "external_urls": { + "spotify": "https://open.spotify.com/album/7bchrFZj39dzXln8iE6tBE" + }, + "href": "https://api.spotify.com/v1/albums/7bchrFZj39dzXln8iE6tBE", + "id": "7bchrFZj39dzXln8iE6tBE", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/9c0d182dd3364f70831c926fc1d5d11e68b50f51", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/ed38596d8ed2b3fdf2ab9e823df4c5f29758d42f", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/bcf7669e90a98e95f5be7317450f03c045368096", + "width": 64 + } + ], + "name": "More Than You Know", + "type": "album", + "uri": "spotify:album:7bchrFZj39dzXln8iE6tBE" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2XnBwblw31dfGnspMIwgWz" + }, + "href": "https://api.spotify.com/v1/artists/2XnBwblw31dfGnspMIwgWz", + "id": "2XnBwblw31dfGnspMIwgWz", + "name": "Axwell /\\ Ingrosso", + "type": "artist", + "uri": "spotify:artist:2XnBwblw31dfGnspMIwgWz" + } + ], + "disc_number": 1, + "duration_ms": 203000, + "explicit": false, + "external_ids": { + "isrc": "GBUM71701735" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/71bBFbfn2OBK5QwUJSLS44" + }, + "href": "https://api.spotify.com/v1/tracks/71bBFbfn2OBK5QwUJSLS44", + "id": "71bBFbfn2OBK5QwUJSLS44", + "is_playable": true, + "linked_from": { + "external_urls": { + "spotify": "https://open.spotify.com/track/4q8PHoRsPUB52LFylX8Ulz" + }, + "href": "https://api.spotify.com/v1/tracks/4q8PHoRsPUB52LFylX8Ulz", + "id": "4q8PHoRsPUB52LFylX8Ulz", + "type": "track", + "uri": "spotify:track:4q8PHoRsPUB52LFylX8Ulz" + }, + "name": "More Than You Know", + "popularity": 85, + "preview_url": "https://p.scdn.co/mp3-preview/a8c9419cf7e46b58647420bb511839aaf5e9e8be", + "track_number": 1, + "type": "track", + "uri": "spotify:track:71bBFbfn2OBK5QwUJSLS44" + }, + { + "album": { + "album_type": "SINGLE", + "external_urls": { + "spotify": "https://open.spotify.com/album/7yZ7yeYUW78h6tLEtfA51f" + }, + "href": "https://api.spotify.com/v1/albums/7yZ7yeYUW78h6tLEtfA51f", + "id": "7yZ7yeYUW78h6tLEtfA51f", + "images": [ + { + "height": 600, + "url": "https://i.scdn.co/image/36d362087d55cb808e2cbcf24fea63afb0fb3daa", + "width": 600 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/d802f1ccb4a6c5277a3e2adc6ea9c30c6f348626", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/df1b7f45b2d894f25dbe90a8792656a90c95bf94", + "width": 64 + } + ], + "name": "New World", + "type": "album", + "uri": "spotify:album:7yZ7yeYUW78h6tLEtfA51f" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6EcmmMu76jbTsFhPs3iEfs" + }, + "href": "https://api.spotify.com/v1/artists/6EcmmMu76jbTsFhPs3iEfs", + "id": "6EcmmMu76jbTsFhPs3iEfs", + "name": "Mykket Morton", + "type": "artist", + "uri": "spotify:artist:6EcmmMu76jbTsFhPs3iEfs" + } + ], + "disc_number": 1, + "duration_ms": 257626, + "explicit": false, + "external_ids": { + "isrc": "DEVK51600009" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/0gdt7dB9T58MzldUxy6Hu5" + }, + "href": "https://api.spotify.com/v1/tracks/0gdt7dB9T58MzldUxy6Hu5", + "id": "0gdt7dB9T58MzldUxy6Hu5", + "is_playable": true, + "name": "Piece of Art", + "popularity": 12, + "preview_url": "https://p.scdn.co/mp3-preview/eb196753c6b32743d5969d7c999f85fa0eac844c", + "track_number": 9, + "type": "track", + "uri": "spotify:track:0gdt7dB9T58MzldUxy6Hu5" + }, + { + "album": { + "album_type": "ALBUM", + "external_urls": { + "spotify": "https://open.spotify.com/album/4CiCpqzAwNdRCJceEDUq39" + }, + "href": "https://api.spotify.com/v1/albums/4CiCpqzAwNdRCJceEDUq39", + "id": "4CiCpqzAwNdRCJceEDUq39", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/9040e4c7572ed037e3d044d7f35d41260c81c205", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/e28f43f3e2bcc38bef447d772d2ae6787716bf07", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/0f636c7e4762e6fa4be7d3fab8f30d060bda001d", + "width": 64 + } + ], + "name": "Gouldian Finch #02", + "type": "album", + "uri": "spotify:album:4CiCpqzAwNdRCJceEDUq39" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0jNDKefhfSbLR9sFvcPLHo" + }, + "href": "https://api.spotify.com/v1/artists/0jNDKefhfSbLR9sFvcPLHo", + "id": "0jNDKefhfSbLR9sFvcPLHo", + "name": "San Holo", + "type": "artist", + "uri": "spotify:artist:0jNDKefhfSbLR9sFvcPLHo" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/4B7EVtenNIwOUxmQ5o5GNv" + }, + "href": "https://api.spotify.com/v1/artists/4B7EVtenNIwOUxmQ5o5GNv", + "id": "4B7EVtenNIwOUxmQ5o5GNv", + "name": "Eastghost", + "type": "artist", + "uri": "spotify:artist:4B7EVtenNIwOUxmQ5o5GNv" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0BXba0ldes9O3QN8JPi1sX" + }, + "href": "https://api.spotify.com/v1/artists/0BXba0ldes9O3QN8JPi1sX", + "id": "0BXba0ldes9O3QN8JPi1sX", + "name": "Analogue Dear", + "type": "artist", + "uri": "spotify:artist:0BXba0ldes9O3QN8JPi1sX" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/3XFcu2NnGWceLNdxRCfYH3" + }, + "href": "https://api.spotify.com/v1/artists/3XFcu2NnGWceLNdxRCfYH3", + "id": "3XFcu2NnGWceLNdxRCfYH3", + "name": "Taska Black", + "type": "artist", + "uri": "spotify:artist:3XFcu2NnGWceLNdxRCfYH3" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0u18Cq5stIQLUoIaULzDmA" + }, + "href": "https://api.spotify.com/v1/artists/0u18Cq5stIQLUoIaULzDmA", + "id": "0u18Cq5stIQLUoIaULzDmA", + "name": "DROELOE", + "type": "artist", + "uri": "spotify:artist:0u18Cq5stIQLUoIaULzDmA" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0kjh83tyqWSJPWaZatIzuy" + }, + "href": "https://api.spotify.com/v1/artists/0kjh83tyqWSJPWaZatIzuy", + "id": "0kjh83tyqWSJPWaZatIzuy", + "name": "Losi", + "type": "artist", + "uri": "spotify:artist:0kjh83tyqWSJPWaZatIzuy" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/5gSlfhS3FhzfAruPQh0Wro" + }, + "href": "https://api.spotify.com/v1/artists/5gSlfhS3FhzfAruPQh0Wro", + "id": "5gSlfhS3FhzfAruPQh0Wro", + "name": "ILIVEHERE.", + "type": "artist", + "uri": "spotify:artist:5gSlfhS3FhzfAruPQh0Wro" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/63cYZFLRnmgGOEVGvDjJs7" + }, + "href": "https://api.spotify.com/v1/artists/63cYZFLRnmgGOEVGvDjJs7", + "id": "63cYZFLRnmgGOEVGvDjJs7", + "name": "GOSLO", + "type": "artist", + "uri": "spotify:artist:63cYZFLRnmgGOEVGvDjJs7" + } + ], + "disc_number": 1, + "duration_ms": 372728, + "explicit": false, + "external_ids": { + "isrc": "NLRD51632087" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/2Z3VSZWHJ7dxGIfhxv7dFD" + }, + "href": "https://api.spotify.com/v1/tracks/2Z3VSZWHJ7dxGIfhxv7dFD", + "id": "2Z3VSZWHJ7dxGIfhxv7dFD", + "is_playable": true, + "name": "If Only (Mega Collab)", + "popularity": 46, + "preview_url": "https://p.scdn.co/mp3-preview/3629befe282bb7ead054f0bcd5e8186fbcbb5cd2", + "track_number": 22, + "type": "track", + "uri": "spotify:track:2Z3VSZWHJ7dxGIfhxv7dFD" + }, + { + "album": { + "album_type": "SINGLE", + "external_urls": { + "spotify": "https://open.spotify.com/album/65wFooaReDlx2R70m1DN7J" + }, + "href": "https://api.spotify.com/v1/albums/65wFooaReDlx2R70m1DN7J", + "id": "65wFooaReDlx2R70m1DN7J", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ff96f6d41a39b40736231759d96b5651f07597f1", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/b4e78b43d7fd35015e84b37128ceab6ec54b38dc", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/908ffab8e26a8c878f13adc19f5fdb88691071a8", + "width": 64 + } + ], + "name": "Man's Not Hot", + "type": "album", + "uri": "spotify:album:65wFooaReDlx2R70m1DN7J" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/7mnAzEmgquhrVtGob81SmO" + }, + "href": "https://api.spotify.com/v1/artists/7mnAzEmgquhrVtGob81SmO", + "id": "7mnAzEmgquhrVtGob81SmO", + "name": "Big Shaq", + "type": "artist", + "uri": "spotify:artist:7mnAzEmgquhrVtGob81SmO" + } + ], + "disc_number": 1, + "duration_ms": 186026, + "explicit": false, + "external_ids": { + "isrc": "GBUM71705147" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/2nUJvBO87SkxCViQsLc9Zr" + }, + "href": "https://api.spotify.com/v1/tracks/2nUJvBO87SkxCViQsLc9Zr", + "id": "2nUJvBO87SkxCViQsLc9Zr", + "is_playable": true, + "name": "Man's Not Hot", + "popularity": 89, + "preview_url": "https://p.scdn.co/mp3-preview/cd4422bb90e89f1268a95cc62d1597e4c10e62fd", + "track_number": 1, + "type": "track", + "uri": "spotify:track:2nUJvBO87SkxCViQsLc9Zr" + }, + { + "album": { + "album_type": "ALBUM", + "external_urls": { + "spotify": "https://open.spotify.com/album/4c2p3TdN7NcQfCXyueCNnC" + }, + "href": "https://api.spotify.com/v1/albums/4c2p3TdN7NcQfCXyueCNnC", + "id": "4c2p3TdN7NcQfCXyueCNnC", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/6fe3712b430fc0ff32e06b355014324a481f7a9c", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/c1c6a9a2ac434944f64adf3c7f197460791c872a", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/af08c5eb87e1acd9b95a01fdc3fe207c3b6559c2", + "width": 64 + } + ], + "name": "Jungle Rules", + "type": "album", + "uri": "spotify:album:4c2p3TdN7NcQfCXyueCNnC" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6vXTefBL93Dj5IqAWq6OTv" + }, + "href": "https://api.spotify.com/v1/artists/6vXTefBL93Dj5IqAWq6OTv", + "id": "6vXTefBL93Dj5IqAWq6OTv", + "name": "French Montana", + "type": "artist", + "uri": "spotify:artist:6vXTefBL93Dj5IqAWq6OTv" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1zNqQNIdeOUZHb8zbZRFMX" + }, + "href": "https://api.spotify.com/v1/artists/1zNqQNIdeOUZHb8zbZRFMX", + "id": "1zNqQNIdeOUZHb8zbZRFMX", + "name": "Swae Lee", + "type": "artist", + "uri": "spotify:artist:1zNqQNIdeOUZHb8zbZRFMX" + } + ], + "disc_number": 1, + "duration_ms": 233901, + "explicit": true, + "external_ids": { + "isrc": "USSM11703478" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/3B54sVLJ402zGa6Xm4YGNe" + }, + "href": "https://api.spotify.com/v1/tracks/3B54sVLJ402zGa6Xm4YGNe", + "id": "3B54sVLJ402zGa6Xm4YGNe", + "is_playable": true, + "name": "Unforgettable", + "popularity": 93, + "preview_url": "https://p.scdn.co/mp3-preview/3814de3ede7445566a5b176bb23120af44da62d8", + "track_number": 2, + "type": "track", + "uri": "spotify:track:3B54sVLJ402zGa6Xm4YGNe" + }, + { + "album": { + "album_type": "COMPILATION", + "external_urls": { + "spotify": "https://open.spotify.com/album/17LsE8qErVS4EpUfhkma4H" + }, + "href": "https://api.spotify.com/v1/albums/17LsE8qErVS4EpUfhkma4H", + "id": "17LsE8qErVS4EpUfhkma4H", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/38bbe1a42bb5f47f5a133a0f1564071ad4f8f4b6", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/b24f6b0c27c5ef04482d81a66c1cd949eba9379f", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ed31c9b3f0dcf23aca4ec4b1642c1287facdcb53", + "width": 64 + } + ], + "name": "70 80 90 Remixes", + "type": "album", + "uri": "spotify:album:17LsE8qErVS4EpUfhkma4H" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/5eIqLsdpugQTx2ZLMwHne2" + }, + "href": "https://api.spotify.com/v1/artists/5eIqLsdpugQTx2ZLMwHne2", + "id": "5eIqLsdpugQTx2ZLMwHne2", + "name": "Plastic Hairs", + "type": "artist", + "uri": "spotify:artist:5eIqLsdpugQTx2ZLMwHne2" + } + ], + "disc_number": 1, + "duration_ms": 189250, + "explicit": false, + "external_ids": { + "isrc": "ITC941402609" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/3CLhRRLxzqeVGoOguw83Zd" + }, + "href": "https://api.spotify.com/v1/tracks/3CLhRRLxzqeVGoOguw83Zd", + "id": "3CLhRRLxzqeVGoOguw83Zd", + "is_playable": true, + "name": "Ymca - Radio Edit", + "popularity": 18, + "preview_url": "https://p.scdn.co/mp3-preview/9a26efb260ecfff78c6ee88ede24491704af8a49", + "track_number": 18, + "type": "track", + "uri": "spotify:track:3CLhRRLxzqeVGoOguw83Zd" + }, + { + "album": { + "album_type": "SINGLE", + "external_urls": { + "spotify": "https://open.spotify.com/album/66PtONhrkMfzAO3smdCGsP" + }, + "href": "https://api.spotify.com/v1/albums/66PtONhrkMfzAO3smdCGsP", + "id": "66PtONhrkMfzAO3smdCGsP", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/d681a4b5253bc55fefb87e26adce14117571ffcd", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/63a39aac5efd2e835b6d3bc04455d173b9658037", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/7e3b8aa4f9907adfeb6d4834e2c7be60e3bb93db", + "width": 64 + } + ], + "name": "Lines of the Broken", + "type": "album", + "uri": "spotify:album:66PtONhrkMfzAO3smdCGsP" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0u18Cq5stIQLUoIaULzDmA" + }, + "href": "https://api.spotify.com/v1/artists/0u18Cq5stIQLUoIaULzDmA", + "id": "0u18Cq5stIQLUoIaULzDmA", + "name": "DROELOE", + "type": "artist", + "uri": "spotify:artist:0u18Cq5stIQLUoIaULzDmA" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0jNDKefhfSbLR9sFvcPLHo" + }, + "href": "https://api.spotify.com/v1/artists/0jNDKefhfSbLR9sFvcPLHo", + "id": "0jNDKefhfSbLR9sFvcPLHo", + "name": "San Holo", + "type": "artist", + "uri": "spotify:artist:0jNDKefhfSbLR9sFvcPLHo" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/7HPVAGjCVDzP7xcNrkwgxL" + }, + "href": "https://api.spotify.com/v1/artists/7HPVAGjCVDzP7xcNrkwgxL", + "id": "7HPVAGjCVDzP7xcNrkwgxL", + "name": "CUT_", + "type": "artist", + "uri": "spotify:artist:7HPVAGjCVDzP7xcNrkwgxL" + } + ], + "disc_number": 1, + "duration_ms": 220800, + "explicit": false, + "external_ids": { + "isrc": "NLRD51632011" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/4NvDs1kRKYdR5jacOH6aCC" + }, + "href": "https://api.spotify.com/v1/tracks/4NvDs1kRKYdR5jacOH6aCC", + "id": "4NvDs1kRKYdR5jacOH6aCC", + "is_playable": true, + "name": "Lines of the Broken", + "popularity": 66, + "preview_url": "https://p.scdn.co/mp3-preview/33eef6ce33a3ab44c39087e01778f11016ed9f52", + "track_number": 1, + "type": "track", + "uri": "spotify:track:4NvDs1kRKYdR5jacOH6aCC" + }, + { + "album": { + "album_type": "SINGLE", + "external_urls": { + "spotify": "https://open.spotify.com/album/7yZ7yeYUW78h6tLEtfA51f" + }, + "href": "https://api.spotify.com/v1/albums/7yZ7yeYUW78h6tLEtfA51f", + "id": "7yZ7yeYUW78h6tLEtfA51f", + "images": [ + { + "height": 600, + "url": "https://i.scdn.co/image/36d362087d55cb808e2cbcf24fea63afb0fb3daa", + "width": 600 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/d802f1ccb4a6c5277a3e2adc6ea9c30c6f348626", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/df1b7f45b2d894f25dbe90a8792656a90c95bf94", + "width": 64 + } + ], + "name": "New World", + "type": "album", + "uri": "spotify:album:7yZ7yeYUW78h6tLEtfA51f" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6EcmmMu76jbTsFhPs3iEfs" + }, + "href": "https://api.spotify.com/v1/artists/6EcmmMu76jbTsFhPs3iEfs", + "id": "6EcmmMu76jbTsFhPs3iEfs", + "name": "Mykket Morton", + "type": "artist", + "uri": "spotify:artist:6EcmmMu76jbTsFhPs3iEfs" + } + ], + "disc_number": 1, + "duration_ms": 189066, + "explicit": false, + "external_ids": { + "isrc": "DEVK51600002" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/6ZaTpzmCnQS5UKpxnYKfrb" + }, + "href": "https://api.spotify.com/v1/tracks/6ZaTpzmCnQS5UKpxnYKfrb", + "id": "6ZaTpzmCnQS5UKpxnYKfrb", + "is_playable": true, + "name": "Go", + "popularity": 18, + "preview_url": "https://p.scdn.co/mp3-preview/60961ab5181360af0f0e68fb57b8a4de276d155e", + "track_number": 2, + "type": "track", + "uri": "spotify:track:6ZaTpzmCnQS5UKpxnYKfrb" + }, + { + "album": { + "album_type": "SINGLE", + "external_urls": { + "spotify": "https://open.spotify.com/album/1hG3WNdozkGnQAOmzTdDZ4" + }, + "href": "https://api.spotify.com/v1/albums/1hG3WNdozkGnQAOmzTdDZ4", + "id": "1hG3WNdozkGnQAOmzTdDZ4", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/2b9f2a0a647b710d3e791293d3cb45ee6ea33d9d", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/967e4ab2eba1d5b8617af09dfd4e0638242ed161", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/abef1e26530bd2feca1644f2ff32abe677fd43ee", + "width": 64 + } + ], + "name": "Beautiful Heartbeat", + "type": "album", + "uri": "spotify:album:1hG3WNdozkGnQAOmzTdDZ4" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/19HFRWmRCl27kTk6LeqAO8" + }, + "href": "https://api.spotify.com/v1/artists/19HFRWmRCl27kTk6LeqAO8", + "id": "19HFRWmRCl27kTk6LeqAO8", + "name": "MORTEN", + "type": "artist", + "uri": "spotify:artist:19HFRWmRCl27kTk6LeqAO8" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/5vuIOnOp6NI06rjLgTpYiY" + }, + "href": "https://api.spotify.com/v1/artists/5vuIOnOp6NI06rjLgTpYiY", + "id": "5vuIOnOp6NI06rjLgTpYiY", + "name": "Frida Sundemo", + "type": "artist", + "uri": "spotify:artist:5vuIOnOp6NI06rjLgTpYiY" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6VD4UEUPvtsemqD3mmTqCR" + }, + "href": "https://api.spotify.com/v1/artists/6VD4UEUPvtsemqD3mmTqCR", + "id": "6VD4UEUPvtsemqD3mmTqCR", + "name": "Deorro", + "type": "artist", + "uri": "spotify:artist:6VD4UEUPvtsemqD3mmTqCR" + } + ], + "disc_number": 1, + "duration_ms": 275342, + "explicit": false, + "external_ids": { + "isrc": "CHB701600004" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/7IQlAvN8vNQb6nL5mjNQSC" + }, + "href": "https://api.spotify.com/v1/tracks/7IQlAvN8vNQb6nL5mjNQSC", + "id": "7IQlAvN8vNQb6nL5mjNQSC", + "is_playable": true, + "name": "Beautiful Heartbeat - Deorro Remix", + "popularity": 52, + "preview_url": "https://p.scdn.co/mp3-preview/5e3adb8d3520a5e2115da96e48945a9965a07d7d", + "track_number": 3, + "type": "track", + "uri": "spotify:track:7IQlAvN8vNQb6nL5mjNQSC" + } + ], + "total": 50, + "limit": 10, + "offset": 5, + "href": "https://api.spotify.com/v1/me/top/tracks?limit=10&offset=5", + "previous": null, + "next": "https://api.spotify.com/v1/me/top/tracks?limit=10&offset=15" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/player/GetCurrentUsersRecentlyPlayedTracksRequest.json b/target/test-classes/fixtures/responses/data/player/GetCurrentUsersRecentlyPlayedTracksRequest.json new file mode 100644 index 0000000..5efa847 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/player/GetCurrentUsersRecentlyPlayedTracksRequest.json @@ -0,0 +1,97 @@ +{ + "items": [ + { + "track": { + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/5INjqkS1o8h1imAzPqGZBb" + }, + "href": "https://api.spotify.com/v1/artists/5INjqkS1o8h1imAzPqGZBb", + "id": "5INjqkS1o8h1imAzPqGZBb", + "name": "Tame Impala", + "type": "artist", + "uri": "spotify:artist:5INjqkS1o8h1imAzPqGZBb" + } + ], + "available_markets": [ + "CA", + "MX", + "US" + ], + "disc_number": 1, + "duration_ms": 108546, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/track/2gNfxysfBRfl9Lvi9T3v6R" + }, + "href": "https://api.spotify.com/v1/tracks/2gNfxysfBRfl9Lvi9T3v6R", + "id": "2gNfxysfBRfl9Lvi9T3v6R", + "name": "Disciples", + "preview_url": "https://p.scdn.co/mp3-preview/6023e5aac2123d098ce490488966b28838b14fa2", + "track_number": 9, + "type": "track", + "uri": "spotify:track:2gNfxysfBRfl9Lvi9T3v6R" + }, + "played_at": "2016-12-13T20:44:04.589Z", + "context": { + "uri": "spotify:artist:5INjqkS1o8h1imAzPqGZBb", + "external_urls": { + "spotify": "https://open.spotify.com/artist/5INjqkS1o8h1imAzPqGZBb" + }, + "href": "https://api.spotify.com/v1/artists/5INjqkS1o8h1imAzPqGZBb", + "type": "artist" + } + }, + { + "track": { + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/5INjqkS1o8h1imAzPqGZBb" + }, + "href": "https://api.spotify.com/v1/artists/5INjqkS1o8h1imAzPqGZBb", + "id": "5INjqkS1o8h1imAzPqGZBb", + "name": "Tame Impala", + "type": "artist", + "uri": "spotify:artist:5INjqkS1o8h1imAzPqGZBb" + } + ], + "available_markets": [ + "CA", + "MX", + "US" + ], + "disc_number": 1, + "duration_ms": 467586, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/track/2X485T9Z5Ly0xyaghN73ed" + }, + "href": "https://api.spotify.com/v1/tracks/2X485T9Z5Ly0xyaghN73ed", + "id": "2X485T9Z5Ly0xyaghN73ed", + "name": "Let It Happen", + "preview_url": "https://p.scdn.co/mp3-preview/05dee1ad0d2a6fa4ad07fbd24ae49d58468e8194", + "track_number": 1, + "type": "track", + "uri": "spotify:track:2X485T9Z5Ly0xyaghN73ed" + }, + "played_at": "2016-12-13T20:42:17.016Z", + "context": { + "uri": "spotify:artist:5INjqkS1o8h1imAzPqGZBb", + "external_urls": { + "spotify": "https://open.spotify.com/artist/5INjqkS1o8h1imAzPqGZBb" + }, + "href": "https://api.spotify.com/v1/artists/5INjqkS1o8h1imAzPqGZBb", + "type": "artist" + } + } + ], + "next": "https://api.spotify.com/v1/me/player/recently-played?before=1481661737016&limit=2", + "cursors": { + "after": "1481661844589", + "before": "1481661737016" + }, + "limit": 2, + "href": "https://api.spotify.com/v1/me/player/recently-played?limit=2" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/player/GetInformationAboutUsersCurrentPlaybackRequest.json b/target/test-classes/fixtures/responses/data/player/GetInformationAboutUsersCurrentPlaybackRequest.json new file mode 100644 index 0000000..40aa0e5 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/player/GetInformationAboutUsersCurrentPlaybackRequest.json @@ -0,0 +1,95 @@ +{ + "timestamp": 1516669848357, + "progress_ms": 69937, + "is_playing": true, + "item": { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV" + }, + "href": "https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV", + "id": "0LcJLqbBmaGUft1e9Mm8HV", + "name": "ABBA", + "type": "artist", + "uri": "spotify:artist:0LcJLqbBmaGUft1e9Mm8HV" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/79ZX48114T8NH36MnOTtl7" + }, + "href": "https://api.spotify.com/v1/albums/79ZX48114T8NH36MnOTtl7", + "id": "79ZX48114T8NH36MnOTtl7", + "images": [ + { + "height": 575, + "url": "https://i.scdn.co/image/1cb3d4e9b45c0526655b712e8e7a9154a0367b42", + "width": 640 + }, + { + "height": 270, + "url": "https://i.scdn.co/image/fa4c64fce8a0daf1fcff03eb967ccd4896a650b7", + "width": 300 + }, + { + "height": 58, + "url": "https://i.scdn.co/image/99340df6a34261b78cec4fb0e4ac4d6dfccb43cd", + "width": 64 + } + ], + "name": "Arrival", + "type": "album", + "uri": "spotify:album:79ZX48114T8NH36MnOTtl7" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV" + }, + "href": "https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV", + "id": "0LcJLqbBmaGUft1e9Mm8HV", + "name": "ABBA", + "type": "artist", + "uri": "spotify:artist:0LcJLqbBmaGUft1e9Mm8HV" + } + ], + "disc_number": 1, + "duration_ms": 230400, + "explicit": false, + "external_ids": { + "isrc": "SEAYD7601020" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/01iyCAUm8EvOFqVWYJ3dVX" + }, + "href": "https://api.spotify.com/v1/tracks/01iyCAUm8EvOFqVWYJ3dVX", + "id": "01iyCAUm8EvOFqVWYJ3dVX", + "is_playable": true, + "name": "Dancing Queen", + "popularity": 72, + "preview_url": "https://p.scdn.co/mp3-preview/538979bb920f417d2fda44a2b5bd82422e56d633?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 2, + "type": "track", + "uri": "spotify:track:01iyCAUm8EvOFqVWYJ3dVX" + }, + "context": null, + "device": { + "id": "5fbb3ba6aa454b5534c4ba43a8c7e8e45a63ad0e", + "is_active": false, + "is_restricted": false, + "name": "My fridge", + "type": "Computer", + "volume_percent": 100 + }, + "currently_playing_type": "track", + "actions": { + "disallows": { + "resuming": true, + "skipping_prev": true + } + }, + "repeat_state": "off", + "shuffle_state": false +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/player/GetInformationAboutUsersCurrentPlaybackRequest_Episode.json b/target/test-classes/fixtures/responses/data/player/GetInformationAboutUsersCurrentPlaybackRequest_Episode.json new file mode 100644 index 0000000..0c0e122 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/player/GetInformationAboutUsersCurrentPlaybackRequest_Episode.json @@ -0,0 +1,187 @@ +{ + "device": { + "id": "5fbb3ba6aa454b5534c4ba43a8c7e8e45a63ad0e", + "is_active": true, + "is_private_session": false, + "is_restricted": false, + "name": "My fridge", + "type": "Computer", + "volume_percent": 100 + }, + "shuffle_state": false, + "repeat_state": "off", + "timestamp": 1516669848357, + "context": { + "external_urls": { + "spotify": "https://open.spotify.com/show/5AvwZVawapvyhJUIx71pdJ" + }, + "href": "https://api.spotify.com/v1/shows/5AvwZVawapvyhJUIx71pdJ", + "type": "show", + "uri": "spotify:show:5AvwZVawapvyhJUIx71pdJ" + }, + "progress_ms": 1625, + "item": { + "audio_preview_url": "https://p.scdn.co/mp3-preview/732323e08d818b865972f0604000d6b9b303b031", + "description": "The crew's all here after their long weekend and they're ready to discuss everything: from Death Stranding, to scented candles, to googling KIDS! We've got it all!", + "duration_ms": 9590568, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/78iZfkNcsOJZVhmSQdYNUb" + }, + "href": "https://api.spotify.com/v1/episodes/78iZfkNcsOJZVhmSQdYNUb", + "id": "78iZfkNcsOJZVhmSQdYNUb", + "images": [ + { + "height": 360, + "url": "https://i.scdn.co/image/ff5ec9060db4b218fdace3c4d513f3f63588e6d3", + "width": 640 + }, + { + "height": 169, + "url": "https://i.scdn.co/image/d8e6a614b2b28ea34d5d07c77a5c93e9db045807", + "width": 300 + }, + { + "height": 36, + "url": "https://i.scdn.co/image/38fbf2e9d314557d417b334e7c1cd699cc3d749f", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en-US", + "languages": [ + "en-US" + ], + "name": "The Giant Beastcast: Episode 210", + "release_date": "2019-05-31", + "release_date_precision": "day", + "show": { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "The Giant Bomb East team gathers to talk about the week in video games, their lives, and basically anything that interests them. All from New York City!", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/5AvwZVawapvyhJUIx71pdJ" + }, + "href": "https://api.spotify.com/v1/shows/5AvwZVawapvyhJUIx71pdJ", + "id": "5AvwZVawapvyhJUIx71pdJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/1ddf77cc09b21b34b9536f76794b43bac7240688", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/b96bc3c4b41162cf3dbec9f66cd0ba63fde47849", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/e699a95e7494c7c898a85f3676572b71faecf032", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en-US" + ], + "media_type": "audio", + "name": "The Giant Beastcast", + "publisher": "Giant Bomb", + "type": "show", + "uri": "spotify:show:5AvwZVawapvyhJUIx71pdJ" + }, + "type": "episode", + "uri": "spotify:episode:78iZfkNcsOJZVhmSQdYNUb" + }, + "currently_playing_type": "episode", + "actions": { + "disallows": { + "resuming": true, + "toggling_repeat_context": true, + "toggling_repeat_track": true, + "toggling_shuffle": true + } + }, + "is_playing": true +} diff --git a/target/test-classes/fixtures/responses/data/player/GetUsersAvailableDevices.json b/target/test-classes/fixtures/responses/data/player/GetUsersAvailableDevices.json new file mode 100644 index 0000000..c3727c3 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/player/GetUsersAvailableDevices.json @@ -0,0 +1,12 @@ +{ + "devices": [ + { + "id": "5fbb3ba6aa454b5534c4ba43a8c7e8e45a63ad0e", + "is_active": false, + "is_restricted": false, + "name": "My fridge", + "type": "Computer", + "volume_percent": 100 + } + ] +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/player/GetUsersAvailableDevices_None.json b/target/test-classes/fixtures/responses/data/player/GetUsersAvailableDevices_None.json new file mode 100644 index 0000000..964341e --- /dev/null +++ b/target/test-classes/fixtures/responses/data/player/GetUsersAvailableDevices_None.json @@ -0,0 +1,3 @@ +{ + "devices": [] +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/player/GetUsersCurrentlyPlayingTrackRequest.json b/target/test-classes/fixtures/responses/data/player/GetUsersCurrentlyPlayingTrackRequest.json new file mode 100644 index 0000000..a0bbb6d --- /dev/null +++ b/target/test-classes/fixtures/responses/data/player/GetUsersCurrentlyPlayingTrackRequest.json @@ -0,0 +1,87 @@ +{ + "timestamp": 1516669900630, + "progress_ms": 78810, + "is_playing": false, + "item": { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV" + }, + "href": "https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV", + "id": "0LcJLqbBmaGUft1e9Mm8HV", + "name": "ABBA", + "type": "artist", + "uri": "spotify:artist:0LcJLqbBmaGUft1e9Mm8HV" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/79ZX48114T8NH36MnOTtl7" + }, + "href": "https://api.spotify.com/v1/albums/79ZX48114T8NH36MnOTtl7", + "id": "79ZX48114T8NH36MnOTtl7", + "images": [ + { + "height": 575, + "url": "https://i.scdn.co/image/1cb3d4e9b45c0526655b712e8e7a9154a0367b42", + "width": 640 + }, + { + "height": 270, + "url": "https://i.scdn.co/image/fa4c64fce8a0daf1fcff03eb967ccd4896a650b7", + "width": 300 + }, + { + "height": 58, + "url": "https://i.scdn.co/image/99340df6a34261b78cec4fb0e4ac4d6dfccb43cd", + "width": 64 + } + ], + "name": "Arrival", + "type": "album", + "uri": "spotify:album:79ZX48114T8NH36MnOTtl7" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV" + }, + "href": "https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV", + "id": "0LcJLqbBmaGUft1e9Mm8HV", + "name": "ABBA", + "type": "artist", + "uri": "spotify:artist:0LcJLqbBmaGUft1e9Mm8HV" + } + ], + "disc_number": 1, + "duration_ms": 230400, + "explicit": false, + "external_ids": { + "isrc": "SEAYD7601020" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/01iyCAUm8EvOFqVWYJ3dVX" + }, + "href": "https://api.spotify.com/v1/tracks/01iyCAUm8EvOFqVWYJ3dVX", + "id": "01iyCAUm8EvOFqVWYJ3dVX", + "is_playable": true, + "name": "Dancing Queen", + "popularity": 72, + "preview_url": "https://p.scdn.co/mp3-preview/538979bb920f417d2fda44a2b5bd82422e56d633?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 2, + "type": "track", + "uri": "spotify:track:01iyCAUm8EvOFqVWYJ3dVX" + }, + "currently_playing_type": "track", + "actions": { + "disallows": { + "resuming": true, + "toggling_repeat_context": true, + "toggling_repeat_track": true, + "toggling_shuffle": true + } + }, + "context": null +} diff --git a/target/test-classes/fixtures/responses/data/player/GetUsersCurrentlyPlayingTrackRequest_Episode.json b/target/test-classes/fixtures/responses/data/player/GetUsersCurrentlyPlayingTrackRequest_Episode.json new file mode 100644 index 0000000..b332045 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/player/GetUsersCurrentlyPlayingTrackRequest_Episode.json @@ -0,0 +1,176 @@ +{ + "timestamp": 1516669848357, + "context": { + "external_urls": { + "spotify": "https://open.spotify.com/show/5AvwZVawapvyhJUIx71pdJ" + }, + "href": "https://api.spotify.com/v1/shows/5AvwZVawapvyhJUIx71pdJ", + "type": "show", + "uri": "spotify:show:5AvwZVawapvyhJUIx71pdJ" + }, + "progress_ms": 3636145, + "item": { + "audio_preview_url": "https://p.scdn.co/mp3-preview/9b0ebffde166917f35f9eab25af874e765261776", + "description": "We try to convince CNET's Jeff Bakalar that the Witcher's extended universe is amazing while he clues us in on where the real money is made. We've also got updates on the Grand Theft Auto movie, Splatoon, Alex's Mad Max impressions, and hot New York real ", + "duration_ms": 8052140, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/4GI3dxEafwap1sFiTGPKd1" + }, + "href": "https://api.spotify.com/v1/episodes/4GI3dxEafwap1sFiTGPKd1", + "id": "4GI3dxEafwap1sFiTGPKd1", + "images": [ + { + "height": 327, + "url": "https://i.scdn.co/image/207663099fe4dab2eafbc2b52813d283e80be07a", + "width": 580 + }, + { + "height": 169, + "url": "https://i.scdn.co/image/156b88e30fbeb1864e75401b619e53238e252dd5", + "width": 300 + }, + { + "height": 36, + "url": "https://i.scdn.co/image/e96c7aa1c2415e29a68d93f4089c8add48b29984", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en-US", + "languages": [ + "en-US" + ], + "name": "The Giant Beastcast: Episode 0", + "release_date": "2015-05-22", + "release_date_precision": "day", + "show": { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "The Giant Bomb East team gathers to talk about the week in video games, their lives, and basically anything that interests them. All from New York City!", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/5AvwZVawapvyhJUIx71pdJ" + }, + "href": "https://api.spotify.com/v1/shows/5AvwZVawapvyhJUIx71pdJ", + "id": "5AvwZVawapvyhJUIx71pdJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/1ddf77cc09b21b34b9536f76794b43bac7240688", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/b96bc3c4b41162cf3dbec9f66cd0ba63fde47849", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/e699a95e7494c7c898a85f3676572b71faecf032", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en-US" + ], + "media_type": "audio", + "name": "The Giant Beastcast", + "publisher": "Giant Bomb", + "type": "show", + "uri": "spotify:show:5AvwZVawapvyhJUIx71pdJ" + }, + "type": "episode", + "uri": "spotify:episode:4GI3dxEafwap1sFiTGPKd1" + }, + "currently_playing_type": "episode", + "actions": { + "disallows": { + "resuming": true, + "toggling_repeat_context": true, + "toggling_repeat_track": true, + "toggling_shuffle": true + } + }, + "is_playing": true +} diff --git a/target/test-classes/fixtures/responses/data/playlists/AddItemsToPlaylistRequest.json b/target/test-classes/fixtures/responses/data/playlists/AddItemsToPlaylistRequest.json new file mode 100644 index 0000000..9a0e7c5 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/playlists/AddItemsToPlaylistRequest.json @@ -0,0 +1,3 @@ +{ + "snapshot_id": "JbtmHBDBAYu3/bt8BOXKjzKx3i0b6LCa/wVjyl6qQ2Yf6nFXkbmzuEa+ZI/U1yF+" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/playlists/CreatePlaylistRequest.json b/target/test-classes/fixtures/responses/data/playlists/CreatePlaylistRequest.json new file mode 100644 index 0000000..1252c74 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/playlists/CreatePlaylistRequest.json @@ -0,0 +1,37 @@ +{ + "collaborative": false, + "description": null, + "external_urls": { + "spotify": "http://open.spotify.com/user/thelinmichael/playlist/7d2D2S200NyUE5KYs80PwO" + }, + "followers": { + "href": null, + "total": 0 + }, + "href": "https://api.spotify.com/v1/users/thelinmichael/playlists/7d2D2S200NyUE5KYs80PwO", + "id": "7d2D2S200NyUE5KYs80PwO", + "images": [], + "name": "A New Playlist", + "owner": { + "external_urls": { + "spotify": "http://open.spotify.com/user/thelinmichael" + }, + "href": "https://api.spotify.com/v1/users/thelinmichael", + "id": "thelinmichael", + "type": "user", + "uri": "spotify:user:thelinmichael" + }, + "public": false, + "snapshot_id": "s0o3TSuYnRLl2jch+oA4OEbKwq/fNxhGBkSPnvhZdmWjNV0q3uCAWuGIhEx8SHIx", + "tracks": { + "href": "https://api.spotify.com/v1/users/thelinmichael/playlists/7d2D2S200NyUE5KYs80PwO/tracks", + "items": [], + "limit": 100, + "next": null, + "offset": 0, + "previous": null, + "total": 0 + }, + "type": "playlist", + "uri": "spotify:user:thelinmichael:playlist:7d2D2S200NyUE5KYs80PwO" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/playlists/GetListOfCurrentUsersPlaylistsRequest.json b/target/test-classes/fixtures/responses/data/playlists/GetListOfCurrentUsersPlaylistsRequest.json new file mode 100644 index 0000000..ee979a4 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/playlists/GetListOfCurrentUsersPlaylistsRequest.json @@ -0,0 +1,64 @@ +{ + "href": "https://api.spotify.com/v1/users/wizzler/playlists", + "items": [ + { + "collaborative": false, + "external_urls": { + "spotify": "http://open.spotify.com/user/wizzler/playlists/53Y8wT46QIMz5H4WQ8O22c" + }, + "href": "https://api.spotify.com/v1/users/wizzler/playlists/53Y8wT46QIMz5H4WQ8O22c", + "id": "53Y8wT46QIMz5H4WQ8O22c", + "images": [], + "name": "Wizzlers Big Playlist", + "owner": { + "external_urls": { + "spotify": "http://open.spotify.com/user/wizzler" + }, + "href": "https://api.spotify.com/v1/users/wizzler", + "id": "wizzler", + "type": "user", + "uri": "spotify:user:wizzler" + }, + "public": true, + "snapshot_id": "bNLWdmhh+HDsbHzhckXeDC0uyKyg4FjPI/KEsKjAE526usnz2LxwgyBoMShVL+z+", + "tracks": { + "href": "https://api.spotify.com/v1/users/wizzler/playlists/53Y8wT46QIMz5H4WQ8O22c/tracks", + "total": 30 + }, + "type": "playlist", + "uri": "spotify:user:wizzler:playlist:53Y8wT46QIMz5H4WQ8O22c" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "http://open.spotify.com/user/wizzlersmate/playlists/1AVZz0mBuGbCEoNRQdYQju" + }, + "href": "https://api.spotify.com/v1/users/wizzlersmate/playlists/1AVZz0mBuGbCEoNRQdYQju", + "id": "1AVZz0mBuGbCEoNRQdYQju", + "images": [], + "name": "Another Playlist", + "owner": { + "external_urls": { + "spotify": "http://open.spotify.com/user/wizzlersmate" + }, + "href": "https://api.spotify.com/v1/users/wizzlersmate", + "id": "wizzlersmate", + "type": "user", + "uri": "spotify:user:wizzlersmate" + }, + "public": true, + "snapshot_id": "Y0qg/IT5T02DKpw4uQKc/9RUrqQJ07hbTKyEeDRPOo9LU0g0icBrIXwVkHfQZ/aD", + "tracks": { + "href": "https://api.spotify.com/v1/users/wizzlersmate/playlists/1AVZz0mBuGbCEoNRQdYQju/tracks", + "total": 58 + }, + "type": "playlist", + "uri": "spotify:user:wizzlersmate:playlist:1AVZz0mBuGbCEoNRQdYQju" + } + ], + "limit": 9, + "next": null, + "offset": 0, + "previous": null, + "total": 9 +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/playlists/GetListOfUsersPlaylistsRequest.json b/target/test-classes/fixtures/responses/data/playlists/GetListOfUsersPlaylistsRequest.json new file mode 100644 index 0000000..ee979a4 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/playlists/GetListOfUsersPlaylistsRequest.json @@ -0,0 +1,64 @@ +{ + "href": "https://api.spotify.com/v1/users/wizzler/playlists", + "items": [ + { + "collaborative": false, + "external_urls": { + "spotify": "http://open.spotify.com/user/wizzler/playlists/53Y8wT46QIMz5H4WQ8O22c" + }, + "href": "https://api.spotify.com/v1/users/wizzler/playlists/53Y8wT46QIMz5H4WQ8O22c", + "id": "53Y8wT46QIMz5H4WQ8O22c", + "images": [], + "name": "Wizzlers Big Playlist", + "owner": { + "external_urls": { + "spotify": "http://open.spotify.com/user/wizzler" + }, + "href": "https://api.spotify.com/v1/users/wizzler", + "id": "wizzler", + "type": "user", + "uri": "spotify:user:wizzler" + }, + "public": true, + "snapshot_id": "bNLWdmhh+HDsbHzhckXeDC0uyKyg4FjPI/KEsKjAE526usnz2LxwgyBoMShVL+z+", + "tracks": { + "href": "https://api.spotify.com/v1/users/wizzler/playlists/53Y8wT46QIMz5H4WQ8O22c/tracks", + "total": 30 + }, + "type": "playlist", + "uri": "spotify:user:wizzler:playlist:53Y8wT46QIMz5H4WQ8O22c" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "http://open.spotify.com/user/wizzlersmate/playlists/1AVZz0mBuGbCEoNRQdYQju" + }, + "href": "https://api.spotify.com/v1/users/wizzlersmate/playlists/1AVZz0mBuGbCEoNRQdYQju", + "id": "1AVZz0mBuGbCEoNRQdYQju", + "images": [], + "name": "Another Playlist", + "owner": { + "external_urls": { + "spotify": "http://open.spotify.com/user/wizzlersmate" + }, + "href": "https://api.spotify.com/v1/users/wizzlersmate", + "id": "wizzlersmate", + "type": "user", + "uri": "spotify:user:wizzlersmate" + }, + "public": true, + "snapshot_id": "Y0qg/IT5T02DKpw4uQKc/9RUrqQJ07hbTKyEeDRPOo9LU0g0icBrIXwVkHfQZ/aD", + "tracks": { + "href": "https://api.spotify.com/v1/users/wizzlersmate/playlists/1AVZz0mBuGbCEoNRQdYQju/tracks", + "total": 58 + }, + "type": "playlist", + "uri": "spotify:user:wizzlersmate:playlist:1AVZz0mBuGbCEoNRQdYQju" + } + ], + "limit": 9, + "next": null, + "offset": 0, + "previous": null, + "total": 9 +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/playlists/GetPlaylistCoverImageRequest.json b/target/test-classes/fixtures/responses/data/playlists/GetPlaylistCoverImageRequest.json new file mode 100644 index 0000000..105cac3 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/playlists/GetPlaylistCoverImageRequest.json @@ -0,0 +1,7 @@ +[ + { + "height": 640, + "url": "https://u.scdn.co/images/pl/default/438f9b65ac4eb48681351593142daeb070986293", + "width": 640 + } +] \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/playlists/GetPlaylistRequest.json b/target/test-classes/fixtures/responses/data/playlists/GetPlaylistRequest.json new file mode 100644 index 0000000..10997b4 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/playlists/GetPlaylistRequest.json @@ -0,0 +1,230 @@ +{ + "collaborative": false, + "description": "Having friends over for dinner? HereÂŽs the perfect playlist.", + "external_urls": { + "spotify": "http://open.spotify.com/user/spotify/playlist/59ZbFPES4DQwEjBpWHzrtC" + }, + "followers": { + "href": null, + "total": 143350 + }, + "href": "https://api.spotify.com/v1/users/spotify/playlists/59ZbFPES4DQwEjBpWHzrtC", + "id": "59ZbFPES4DQwEjBpWHzrtC", + "images": [ + { + "url": "https://i.scdn.co/image/68b6a65573a55095e9c0c0c33a274b18e0422736" + } + ], + "name": "Dinner with Friends", + "owner": { + "external_urls": { + "spotify": "http://open.spotify.com/user/spotify" + }, + "href": "https://api.spotify.com/v1/users/spotify", + "id": "spotify", + "type": "user", + "uri": "spotify:user:spotify" + }, + "public": null, + "snapshot_id": "bNLWdmhh+HDsbHzhckXeDC0uyKyg4FjPI/KEsKjAE526usnz2LxwgyBoMShVL+z+", + "tracks": { + "href": "https://api.spotify.com/v1/users/spotify/playlists/59ZbFPES4DQwEjBpWHzrtC/tracks", + "items": [ + { + "added_at": "2014-09-01T04:21:28Z", + "added_by": { + "external_urls": { + "spotify": "http://open.spotify.com/user/spotify" + }, + "href": "https://api.spotify.com/v1/users/spotify", + "id": "spotify", + "type": "user", + "uri": "spotify:user:spotify" + }, + "is_local": false, + "track": { + "album": { + "album_type": "single", + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "IE", + "IS", + "IT", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "RO", + "SE", + "SG", + "SI", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/5GWoXPsTQylMuaZ84PC563" + }, + "href": "https://api.spotify.com/v1/albums/5GWoXPsTQylMuaZ84PC563", + "id": "5GWoXPsTQylMuaZ84PC563", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/47421900e7534789603de84c03a40a826c058e45", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/0d447b6faae870f890dc5780cc58d9afdbc36a1d", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/d926b3e5f435ef3ac0874b1ff1571cf675b3ef3b", + "width": 64 + } + ], + "name": "I'm Not The Only One", + "type": "album", + "uri": "spotify:album:5GWoXPsTQylMuaZ84PC563" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2wY79sveU1sp5g7SokKOiI" + }, + "href": "https://api.spotify.com/v1/artists/2wY79sveU1sp5g7SokKOiI", + "id": "2wY79sveU1sp5g7SokKOiI", + "name": "Sam Smith", + "type": "artist", + "uri": "spotify:artist:2wY79sveU1sp5g7SokKOiI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "IE", + "IS", + "IT", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "RO", + "SE", + "SG", + "SI", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "disc_number": 1, + "duration_ms": 204732, + "explicit": false, + "external_ids": { + "isrc": "GBUM71403920" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/4i9sYtSIlR80bxje5B3rUb" + }, + "href": "https://api.spotify.com/v1/tracks/4i9sYtSIlR80bxje5B3rUb", + "id": "4i9sYtSIlR80bxje5B3rUb", + "name": "I'm Not The Only One - Radio Edit", + "popularity": 45, + "preview_url": "https://p.scdn.co/mp3-preview/dd64cca26c69e93ea78f1fff2cc4889396bb6d2f", + "track_number": 1, + "type": "track", + "uri": "spotify:track:4i9sYtSIlR80bxje5B3rUb" + } + } + ], + "limit": 100, + "next": "https://api.spotify.com/v1/users/spotify/playlists/59ZbFPES4DQwEjBpWHzrtC/tracks?offset=100&limit=100", + "offset": 0, + "previous": null, + "total": 105 + }, + "type": "playlist", + "uri": "spotify:user:spotify:playlist:59ZbFPES4DQwEjBpWHzrtC" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/playlists/GetPlaylistsItemsRequest.json b/target/test-classes/fixtures/responses/data/playlists/GetPlaylistsItemsRequest.json new file mode 100644 index 0000000..2e618c3 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/playlists/GetPlaylistsItemsRequest.json @@ -0,0 +1,239 @@ +{ + "href": "https://api.spotify.com/v1/users/spotify_espa%C3%B1a/playlists/21THa8j9TaSGuXYNBU5tsC/tracks", + "items": [ + { + "added_at": "2016-10-11T13:44:40Z", + "added_by": { + "external_urls": { + "spotify": "http://open.spotify.com/user/spotify_espa%C3%B1a" + }, + "href": "https://api.spotify.com/v1/users/spotify_espa%C3%B1a", + "id": "spotify_españa", + "type": "user", + "uri": "spotify:user:spotify_espa%C3%B1a" + }, + "is_local": false, + "track": { + "album": { + "album_type": "single", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/21451j1KhjAiaYKflxBjr1" + }, + "href": "https://api.spotify.com/v1/artists/21451j1KhjAiaYKflxBjr1", + "id": "21451j1KhjAiaYKflxBjr1", + "name": "Zion & Lennox", + "type": "artist", + "uri": "spotify:artist:21451j1KhjAiaYKflxBjr1" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/5GjKG3Y8OvSVJO55dQTFyD" + }, + "href": "https://api.spotify.com/v1/albums/5GjKG3Y8OvSVJO55dQTFyD", + "id": "5GjKG3Y8OvSVJO55dQTFyD", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/b16064142fcd2bd318b08aab0b93b46e87b1ebf5", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/9f05124de35d807b78563ea2ca69550325081747", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/863c805b580a29c184fc447327e28af5dac9490b", + "width": 64 + } + ], + "name": "Otra Vez (feat. J Balvin)", + "type": "album", + "uri": "spotify:album:5GjKG3Y8OvSVJO55dQTFyD" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/21451j1KhjAiaYKflxBjr1" + }, + "href": "https://api.spotify.com/v1/artists/21451j1KhjAiaYKflxBjr1", + "id": "21451j1KhjAiaYKflxBjr1", + "name": "Zion & Lennox", + "type": "artist", + "uri": "spotify:artist:21451j1KhjAiaYKflxBjr1" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1vyhD5VmyZ7KMfW5gqLgo5" + }, + "href": "https://api.spotify.com/v1/artists/1vyhD5VmyZ7KMfW5gqLgo5", + "id": "1vyhD5VmyZ7KMfW5gqLgo5", + "name": "J Balvin", + "type": "artist", + "uri": "spotify:artist:1vyhD5VmyZ7KMfW5gqLgo5" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "disc_number": 1, + "duration_ms": 209453, + "explicit": false, + "external_ids": { + "isrc": "USWL11600423" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/7pk3EpFtmsOdj8iUhjmeCM" + }, + "href": "https://api.spotify.com/v1/tracks/7pk3EpFtmsOdj8iUhjmeCM", + "id": "7pk3EpFtmsOdj8iUhjmeCM", + "name": "Otra Vez (feat. J Balvin)", + "popularity": 85, + "preview_url": "https://p.scdn.co/mp3-preview/79c8c9edc4f1ced9dbc368f24374421ed0a33005", + "track_number": 1, + "type": "track", + "uri": "spotify:track:7pk3EpFtmsOdj8iUhjmeCM" + } + }, + { + "added_at": "2016-10-11T13:44:40Z", + "added_by": { + "external_urls": { + "spotify": "http://open.spotify.com/user/spotify_espa%C3%B1a" + }, + "href": "https://api.spotify.com/v1/users/spotify_espa%C3%B1a", + "id": "spotify_españa", + "type": "user", + "uri": "spotify:user:spotify_espa%C3%B1a" + }, + "is_local": false + } + ], + "limit": 100, + "next": null, + "offset": 0, + "previous": null, + "total": 58 +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/playlists/GetPlaylistsItemsRequest_Episode.json b/target/test-classes/fixtures/responses/data/playlists/GetPlaylistsItemsRequest_Episode.json new file mode 100644 index 0000000..f9cd1bf --- /dev/null +++ b/target/test-classes/fixtures/responses/data/playlists/GetPlaylistsItemsRequest_Episode.json @@ -0,0 +1,183 @@ +{ + "href": "https://api.spotify.com/v1/playlists/21THa8j9TaSGuXYNBU5tsC/tracks?offset=0&limit=100&additional_types=episode", + "items": [ + { + "added_at": "2016-10-11T13:44:40Z", + "added_by": { + "external_urls": { + "spotify": "http://open.spotify.com/user/spotify_espa%C3%B1a" + }, + "href": "https://api.spotify.com/v1/users/spotify_espa%C3%B1a", + "id": "spotify_españa", + "type": "user", + "uri": "spotify:user:spotify_espa%C3%B1a" + }, + "is_local": false, + "primary_color": null, + "track": { + "audio_preview_url": "https://p.scdn.co/mp3-preview/9b0ebffde166917f35f9eab25af874e765261776", + "description": "We try to convince CNET's Jeff Bakalar that the Witcher's extended universe is amazing while he clues us in on where the real money is made. We've also got updates on the Grand Theft Auto movie, Splatoon, Alex's Mad Max impressions, and hot New York real ", + "duration_ms": 8052140, + "episode": true, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/4GI3dxEafwap1sFiTGPKd1" + }, + "href": "https://api.spotify.com/v1/episodes/4GI3dxEafwap1sFiTGPKd1", + "id": "4GI3dxEafwap1sFiTGPKd1", + "images": [ + { + "height": 327, + "url": "https://i.scdn.co/image/207663099fe4dab2eafbc2b52813d283e80be07a", + "width": 580 + }, + { + "height": 169, + "url": "https://i.scdn.co/image/156b88e30fbeb1864e75401b619e53238e252dd5", + "width": 300 + }, + { + "height": 36, + "url": "https://i.scdn.co/image/e96c7aa1c2415e29a68d93f4089c8add48b29984", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en-US", + "languages": [ + "en-US" + ], + "name": "The Giant Beastcast: Episode 0", + "release_date": "2015-05-22", + "release_date_precision": "day", + "show": { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "The Giant Bomb East team gathers to talk about the week in video games, their lives, and basically anything that interests them. All from New York City!", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/5AvwZVawapvyhJUIx71pdJ" + }, + "href": "https://api.spotify.com/v1/shows/5AvwZVawapvyhJUIx71pdJ", + "id": "5AvwZVawapvyhJUIx71pdJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/1ddf77cc09b21b34b9536f76794b43bac7240688", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/b96bc3c4b41162cf3dbec9f66cd0ba63fde47849", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/e699a95e7494c7c898a85f3676572b71faecf032", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en-US" + ], + "media_type": "audio", + "name": "The Giant Beastcast", + "publisher": "Giant Bomb", + "type": "show", + "uri": "spotify:show:5AvwZVawapvyhJUIx71pdJ" + }, + "track": false, + "type": "episode", + "uri": "spotify:episode:4GI3dxEafwap1sFiTGPKd1" + }, + "video_thumbnail": { + "url": null + } + } + ], + "limit": 100, + "next": null, + "offset": 0, + "previous": null, + "total": 58 +} diff --git a/target/test-classes/fixtures/responses/data/playlists/RemoveItemsFromPlaylistRequest.json b/target/test-classes/fixtures/responses/data/playlists/RemoveItemsFromPlaylistRequest.json new file mode 100644 index 0000000..9a0e7c5 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/playlists/RemoveItemsFromPlaylistRequest.json @@ -0,0 +1,3 @@ +{ + "snapshot_id": "JbtmHBDBAYu3/bt8BOXKjzKx3i0b6LCa/wVjyl6qQ2Yf6nFXkbmzuEa+ZI/U1yF+" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/playlists/ReorderPlaylistsItemsRequest.json b/target/test-classes/fixtures/responses/data/playlists/ReorderPlaylistsItemsRequest.json new file mode 100644 index 0000000..cdc81c1 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/playlists/ReorderPlaylistsItemsRequest.json @@ -0,0 +1,3 @@ +{ + "snapshot_id": "KsWY41k+zLqbx7goYX9zr+2IUZQtqbBNfk4ZOgEpIurvab4VSHhEL2L4za8HW6D0" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/search/SearchItemRequest.json b/target/test-classes/fixtures/responses/data/search/SearchItemRequest.json new file mode 100644 index 0000000..8325944 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/search/SearchItemRequest.json @@ -0,0 +1,2299 @@ +{ + "artists": { + "href": "https://api.spotify.com/v1/search?query=Muse&type=artist&market=US&offset=5&limit=10", + "items": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/5l8lZmnKzCAUKKtNZMzbVO" + }, + "followers": { + "href": null, + "total": 2 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/5l8lZmnKzCAUKKtNZMzbVO", + "id": "5l8lZmnKzCAUKKtNZMzbVO", + "images": [], + "name": "Muse And The Forgetting", + "popularity": 17, + "type": "artist", + "uri": "spotify:artist:5l8lZmnKzCAUKKtNZMzbVO" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/4L6i1I6tFpc1bKui5coGme" + }, + "followers": { + "href": null, + "total": 5072 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/4L6i1I6tFpc1bKui5coGme", + "id": "4L6i1I6tFpc1bKui5coGme", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/7d1b61d330e0e80cb836e5b2a33783a5d021009e", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/48fc330ca901fb7a6c9356f4402b380317de09c5", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ee6cc6264de5e53f6ff58e78de206bb7b0399170", + "width": 64 + } + ], + "name": "Muse", + "popularity": 9, + "type": "artist", + "uri": "spotify:artist:4L6i1I6tFpc1bKui5coGme" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0oYf9u7u00PBfFUDY6B00U" + }, + "followers": { + "href": null, + "total": 10 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/0oYf9u7u00PBfFUDY6B00U", + "id": "0oYf9u7u00PBfFUDY6B00U", + "images": [], + "name": "M.U.S.E.", + "popularity": 0, + "type": "artist", + "uri": "spotify:artist:0oYf9u7u00PBfFUDY6B00U" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/3TN2e4aym8jdMv7uxWuMa5" + }, + "followers": { + "href": null, + "total": 1 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/3TN2e4aym8jdMv7uxWuMa5", + "id": "3TN2e4aym8jdMv7uxWuMa5", + "images": [], + "name": "MUSE", + "popularity": 0, + "type": "artist", + "uri": "spotify:artist:3TN2e4aym8jdMv7uxWuMa5" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1zFNYw5kgA7UEKWqNHf1Et" + }, + "followers": { + "href": null, + "total": 1613 + }, + "genres": [ + "alternative dance" + ], + "href": "https://api.spotify.com/v1/artists/1zFNYw5kgA7UEKWqNHf1Et", + "id": "1zFNYw5kgA7UEKWqNHf1Et", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/37b8c747761d4e769f50cafe0cfac5e5699d11c4", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/1dbe9563251b3a2411a08e116214ecdc72ea5d36", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/019776540e398dae278322f9f030f36afb0614d2", + "width": 64 + } + ], + "name": "Dangerous Muse", + "popularity": 15, + "type": "artist", + "uri": "spotify:artist:1zFNYw5kgA7UEKWqNHf1Et" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/3uIGREwbP57eNOtcol8yrC" + }, + "followers": { + "href": null, + "total": 269 + }, + "genres": [ + "harp", + "string folk" + ], + "href": "https://api.spotify.com/v1/artists/3uIGREwbP57eNOtcol8yrC", + "id": "3uIGREwbP57eNOtcol8yrC", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/16dced42853c07db90950f915a6eb22536524afe", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/30ce043bb61aac6a6acf393d0ed7a0a9caee6632", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/eff847a916889ece5f533297765824aac48124a6", + "width": 64 + } + ], + "name": "Celtic Muse", + "popularity": 10, + "type": "artist", + "uri": "spotify:artist:3uIGREwbP57eNOtcol8yrC" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/7dwv5d4pNWa18YFMiXZiFi" + }, + "followers": { + "href": null, + "total": 63 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/7dwv5d4pNWa18YFMiXZiFi", + "id": "7dwv5d4pNWa18YFMiXZiFi", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/44d67cbfdf8f10a4e55ac7882ba671386851826a", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/8ca06c9c19faaaa05324d7acbd5b722b6694c269", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/3ed91125d8a69a1919a361abd1cffc22dd8b3724", + "width": 64 + } + ], + "name": "The Muse Maker", + "popularity": 12, + "type": "artist", + "uri": "spotify:artist:7dwv5d4pNWa18YFMiXZiFi" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/4nxsiEZEqHdOZIcx96h28q" + }, + "followers": { + "href": null, + "total": 126 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/4nxsiEZEqHdOZIcx96h28q", + "id": "4nxsiEZEqHdOZIcx96h28q", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ece4bf99a19ecb898a5484c45605c55da9afa32f", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/fa3bd8dd647837bdd35cda575d5b67f79b8d780a", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/d76ad8fd6a7814d3369e775a8d649df5b8581e49", + "width": 64 + } + ], + "name": "Workout Muse", + "popularity": 4, + "type": "artist", + "uri": "spotify:artist:4nxsiEZEqHdOZIcx96h28q" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2vh427vhmYQWKFzFFUG0tZ" + }, + "followers": { + "href": null, + "total": 7 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/2vh427vhmYQWKFzFFUG0tZ", + "id": "2vh427vhmYQWKFzFFUG0tZ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ca99cfde3b96ab80bc578ad82cf729c08bc5cc22", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/88d6fd560784caf9eed6efeafa0070688341687e", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/a70dfedbb4b89cdf7864cd2cfc0c8b567faaf515", + "width": 64 + } + ], + "name": "MaddRegaeles Muse", + "popularity": 4, + "type": "artist", + "uri": "spotify:artist:2vh427vhmYQWKFzFFUG0tZ" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2RLgQST3UuvyraOMj04JXe" + }, + "followers": { + "href": null, + "total": 78 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/2RLgQST3UuvyraOMj04JXe", + "id": "2RLgQST3UuvyraOMj04JXe", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/b9087c6262aca40d174863fa8b891d1229d19e3a", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/87a8379290dc83f6b8444376fee83ca0deb6b79b", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/6b7d8f17bf95863f0672cc1c117c1466a890bf7e", + "width": 64 + } + ], + "name": "Muse Girls", + "popularity": 14, + "type": "artist", + "uri": "spotify:artist:2RLgQST3UuvyraOMj04JXe" + } + ], + "limit": 10, + "next": "https://api.spotify.com/v1/search?query=Muse&type=artist&market=US&offset=15&limit=10", + "offset": 5, + "previous": "https://api.spotify.com/v1/search?query=Muse&type=artist&market=US&offset=0&limit=10", + "total": 171 + }, + "tracks": { + "href": "https://api.spotify.com/v1/search?query=Muse&type=track&market=US&offset=5&limit=10", + "items": [ + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0lw68yx3MhKflWFqCsGkIs" + }, + "href": "https://api.spotify.com/v1/albums/0lw68yx3MhKflWFqCsGkIs", + "id": "0lw68yx3MhKflWFqCsGkIs", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/9e5288926fadb82f873ccf2b45300c3a6f65fa14", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/f1cad0d6974d6236abd07a59106e8450d85cae24", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/81a3f82578dc938c53efdcb405f6a3d3ebbf009f", + "width": 64 + } + ], + "name": "Black Holes And Revelations", + "type": "album", + "uri": "spotify:album:0lw68yx3MhKflWFqCsGkIs" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 212439, + "explicit": false, + "external_ids": { + "isrc": "GBAHT0500593" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/3lPr8ghNDBLc2uZovNyLs9" + }, + "href": "https://api.spotify.com/v1/tracks/3lPr8ghNDBLc2uZovNyLs9", + "id": "3lPr8ghNDBLc2uZovNyLs9", + "name": "Supermassive Black Hole", + "popularity": 71, + "preview_url": "https://p.scdn.co/mp3-preview/7ab3e38ce1671da3a185d8685981983a6f39b7bd?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 3, + "type": "track", + "uri": "spotify:track:3lPr8ghNDBLc2uZovNyLs9" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2wart5Qjnvx1fd7LPdQxgJ" + }, + "href": "https://api.spotify.com/v1/albums/2wart5Qjnvx1fd7LPdQxgJ", + "id": "2wart5Qjnvx1fd7LPdQxgJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/849eecf3c9df835181c2970c435ac2d008346ea3", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/8b6392caa83625135f0f53d6e2b0631bbe4c4c0b", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/8978459cc3ad68b39bd6dbda418625b06ba5d80c", + "width": 64 + } + ], + "name": "Drones", + "type": "album", + "uri": "spotify:album:2wart5Qjnvx1fd7LPdQxgJ" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 316717, + "explicit": true, + "external_ids": { + "isrc": "GBAHT1500068" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/383QXk8nb2YrARMUwDdjQS" + }, + "href": "https://api.spotify.com/v1/tracks/383QXk8nb2YrARMUwDdjQS", + "id": "383QXk8nb2YrARMUwDdjQS", + "name": "Psycho", + "popularity": 70, + "preview_url": "https://p.scdn.co/mp3-preview/9825aad9fc20222cfd2db3eba32469181b90c8d8?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 3, + "type": "track", + "uri": "spotify:track:383QXk8nb2YrARMUwDdjQS" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0lw68yx3MhKflWFqCsGkIs" + }, + "href": "https://api.spotify.com/v1/albums/0lw68yx3MhKflWFqCsGkIs", + "id": "0lw68yx3MhKflWFqCsGkIs", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/9e5288926fadb82f873ccf2b45300c3a6f65fa14", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/f1cad0d6974d6236abd07a59106e8450d85cae24", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/81a3f82578dc938c53efdcb405f6a3d3ebbf009f", + "width": 64 + } + ], + "name": "Black Holes And Revelations", + "type": "album", + "uri": "spotify:album:0lw68yx3MhKflWFqCsGkIs" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 366213, + "explicit": false, + "external_ids": { + "isrc": "GBAHT0500600" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/7ouMYWpwJ422jRcDASZB7P" + }, + "href": "https://api.spotify.com/v1/tracks/7ouMYWpwJ422jRcDASZB7P", + "id": "7ouMYWpwJ422jRcDASZB7P", + "name": "Knights Of Cydonia", + "popularity": 69, + "preview_url": "https://p.scdn.co/mp3-preview/d7624ec5f93b6d92c1836a95c40ecce463584f6e?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 11, + "type": "track", + "uri": "spotify:track:7ouMYWpwJ422jRcDASZB7P" + }, + { + "album": { + "album_type": "single", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2mugumSqUWxhW2InJ9dPTv" + }, + "href": "https://api.spotify.com/v1/albums/2mugumSqUWxhW2InJ9dPTv", + "id": "2mugumSqUWxhW2InJ9dPTv", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/08d56eac0c7d48bb8bf7752b2202c3314db79394", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/e6e7234a572a83fa7a98ee51c225d161a6750e01", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/105e1c4fee340f987c8708b5eaf42b36cf742519", + "width": 64 + } + ], + "name": "Dig Down", + "type": "album", + "uri": "spotify:album:2mugumSqUWxhW2InJ9dPTv" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 228574, + "explicit": false, + "external_ids": { + "isrc": "GBAHT1700276" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/7JhTr0G0gr3ESY3B9uqPi4" + }, + "href": "https://api.spotify.com/v1/tracks/7JhTr0G0gr3ESY3B9uqPi4", + "id": "7JhTr0G0gr3ESY3B9uqPi4", + "name": "Dig Down", + "popularity": 67, + "preview_url": "https://p.scdn.co/mp3-preview/486883ff20e0149ba5f4e6fc2ea94614f442de40?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 1, + "type": "track", + "uri": "spotify:track:7JhTr0G0gr3ESY3B9uqPi4" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0HcHPBu9aaF1MxOiZmUQTl" + }, + "href": "https://api.spotify.com/v1/albums/0HcHPBu9aaF1MxOiZmUQTl", + "id": "0HcHPBu9aaF1MxOiZmUQTl", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ae61915fc3f4b3019200ba6ee58a2a85866461bf", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/523194c8f4f32d0d091a7686fea8fda0411b25a5", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/700cdaab602da14c4f007ad2f9cefcbd9292ac24", + "width": 64 + } + ], + "name": "Absolution", + "type": "album", + "uri": "spotify:album:0HcHPBu9aaF1MxOiZmUQTl" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 227440, + "explicit": false, + "external_ids": { + "isrc": "GBCVT0300083" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/7xyYsOvq5Ec3P4fr6mM9fD" + }, + "href": "https://api.spotify.com/v1/tracks/7xyYsOvq5Ec3P4fr6mM9fD", + "id": "7xyYsOvq5Ec3P4fr6mM9fD", + "name": "Hysteria", + "popularity": 67, + "preview_url": "https://p.scdn.co/mp3-preview/ff29ded2c1aa87ed04cb15ea9b1819dc4db95ad7?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 8, + "type": "track", + "uri": "spotify:track:7xyYsOvq5Ec3P4fr6mM9fD" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0HcHPBu9aaF1MxOiZmUQTl" + }, + "href": "https://api.spotify.com/v1/albums/0HcHPBu9aaF1MxOiZmUQTl", + "id": "0HcHPBu9aaF1MxOiZmUQTl", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ae61915fc3f4b3019200ba6ee58a2a85866461bf", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/523194c8f4f32d0d091a7686fea8fda0411b25a5", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/700cdaab602da14c4f007ad2f9cefcbd9292ac24", + "width": 64 + } + ], + "name": "Absolution", + "type": "album", + "uri": "spotify:album:0HcHPBu9aaF1MxOiZmUQTl" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 237039, + "explicit": false, + "external_ids": { + "isrc": "GBCVT0300078" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/2takcwOaAZWiXQijPHIx7B" + }, + "href": "https://api.spotify.com/v1/tracks/2takcwOaAZWiXQijPHIx7B", + "id": "2takcwOaAZWiXQijPHIx7B", + "name": "Time Is Running Out", + "popularity": 67, + "preview_url": "https://p.scdn.co/mp3-preview/b326e03624cb098d8387e17aa46669edac0d025a?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 3, + "type": "track", + "uri": "spotify:track:2takcwOaAZWiXQijPHIx7B" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0eFHYz8NmK75zSplL5qlfM" + }, + "href": "https://api.spotify.com/v1/albums/0eFHYz8NmK75zSplL5qlfM", + "id": "0eFHYz8NmK75zSplL5qlfM", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/6e1be3ceda70250c701caee5a16bef205e94bc98", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/28752dcf4b27ba14c1fc62f04ff469aa53c113d7", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/26098aaa50a3450f0bac8f1a7d7677accf3f3cb6", + "width": 64 + } + ], + "name": "The Resistance", + "type": "album", + "uri": "spotify:album:0eFHYz8NmK75zSplL5qlfM" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 235000, + "explicit": false, + "external_ids": { + "isrc": "GBAHT0900322" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/0It6VJoMAare1zdV2wxqZq" + }, + "href": "https://api.spotify.com/v1/tracks/0It6VJoMAare1zdV2wxqZq", + "id": "0It6VJoMAare1zdV2wxqZq", + "name": "Undisclosed Desires", + "popularity": 67, + "preview_url": "https://p.scdn.co/mp3-preview/b165dfbcf22b1c0e107c6b203b4753103b0059e3?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 3, + "type": "track", + "uri": "spotify:track:0It6VJoMAare1zdV2wxqZq" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6FxuPrpa8phaP3Xn73emhT" + }, + "href": "https://api.spotify.com/v1/artists/6FxuPrpa8phaP3Xn73emhT", + "id": "6FxuPrpa8phaP3Xn73emhT", + "name": "The Wood Brothers", + "type": "artist", + "uri": "spotify:artist:6FxuPrpa8phaP3Xn73emhT" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2xkAdEXW7nGQAJMptaOk2d" + }, + "href": "https://api.spotify.com/v1/albums/2xkAdEXW7nGQAJMptaOk2d", + "id": "2xkAdEXW7nGQAJMptaOk2d", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/afe446daa20f89d46cf63b5d5c43c2227104f216", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/2a19e9365f480f60243a7bb603b977adea4eb423", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/63099a2357dfa3d7057d20b4fcc910f71d8254da", + "width": 64 + } + ], + "name": "The Muse", + "type": "album", + "uri": "spotify:album:2xkAdEXW7nGQAJMptaOk2d" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6FxuPrpa8phaP3Xn73emhT" + }, + "href": "https://api.spotify.com/v1/artists/6FxuPrpa8phaP3Xn73emhT", + "id": "6FxuPrpa8phaP3Xn73emhT", + "name": "The Wood Brothers", + "type": "artist", + "uri": "spotify:artist:6FxuPrpa8phaP3Xn73emhT" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 218520, + "explicit": false, + "external_ids": { + "isrc": "QMZ6E1300118" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/5NNXPVydz9kE8xOY7ycj4r" + }, + "href": "https://api.spotify.com/v1/tracks/5NNXPVydz9kE8xOY7ycj4r", + "id": "5NNXPVydz9kE8xOY7ycj4r", + "name": "Keep Me Around", + "popularity": 53, + "preview_url": "https://p.scdn.co/mp3-preview/6df1759631dbe835bfb8ea3cc9adf0e5ea4b30dc?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 6, + "type": "track", + "uri": "spotify:track:5NNXPVydz9kE8xOY7ycj4r" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2HPaUgqeutzr3jx5a9WyDV" + }, + "href": "https://api.spotify.com/v1/artists/2HPaUgqeutzr3jx5a9WyDV", + "id": "2HPaUgqeutzr3jx5a9WyDV", + "name": "PARTYNEXTDOOR", + "type": "artist", + "uri": "spotify:artist:2HPaUgqeutzr3jx5a9WyDV" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/6s2isojT7rGZUgJyymjjKU" + }, + "href": "https://api.spotify.com/v1/albums/6s2isojT7rGZUgJyymjjKU", + "id": "6s2isojT7rGZUgJyymjjKU", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/93917ef812040cec02cac1b451886c108b2b8648", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/1de2653644245a48cf2af726395696f2e3c3eef1", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/d6dba63caac50a135743003214db7479a5f10bbe", + "width": 64 + } + ], + "name": "PARTYNEXTDOOR TWO", + "type": "album", + "uri": "spotify:album:6s2isojT7rGZUgJyymjjKU" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2HPaUgqeutzr3jx5a9WyDV" + }, + "href": "https://api.spotify.com/v1/artists/2HPaUgqeutzr3jx5a9WyDV", + "id": "2HPaUgqeutzr3jx5a9WyDV", + "name": "PARTYNEXTDOOR", + "type": "artist", + "uri": "spotify:artist:2HPaUgqeutzr3jx5a9WyDV" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 203324, + "explicit": true, + "external_ids": { + "isrc": "USWB11401870" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/41ipOYFGT2MW4dvOPkoK1f" + }, + "href": "https://api.spotify.com/v1/tracks/41ipOYFGT2MW4dvOPkoK1f", + "id": "41ipOYFGT2MW4dvOPkoK1f", + "name": "Muse", + "popularity": 50, + "preview_url": "https://p.scdn.co/mp3-preview/d03f4da489977e44fe92e95f771b2ace9607fbcc?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 12, + "type": "track", + "uri": "spotify:track:41ipOYFGT2MW4dvOPkoK1f" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6FxuPrpa8phaP3Xn73emhT" + }, + "href": "https://api.spotify.com/v1/artists/6FxuPrpa8phaP3Xn73emhT", + "id": "6FxuPrpa8phaP3Xn73emhT", + "name": "The Wood Brothers", + "type": "artist", + "uri": "spotify:artist:6FxuPrpa8phaP3Xn73emhT" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2xkAdEXW7nGQAJMptaOk2d" + }, + "href": "https://api.spotify.com/v1/albums/2xkAdEXW7nGQAJMptaOk2d", + "id": "2xkAdEXW7nGQAJMptaOk2d", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/afe446daa20f89d46cf63b5d5c43c2227104f216", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/2a19e9365f480f60243a7bb603b977adea4eb423", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/63099a2357dfa3d7057d20b4fcc910f71d8254da", + "width": 64 + } + ], + "name": "The Muse", + "type": "album", + "uri": "spotify:album:2xkAdEXW7nGQAJMptaOk2d" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6FxuPrpa8phaP3Xn73emhT" + }, + "href": "https://api.spotify.com/v1/artists/6FxuPrpa8phaP3Xn73emhT", + "id": "6FxuPrpa8phaP3Xn73emhT", + "name": "The Wood Brothers", + "type": "artist", + "uri": "spotify:artist:6FxuPrpa8phaP3Xn73emhT" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 221186, + "explicit": false, + "external_ids": { + "isrc": "QMZ6E1300115" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/1hkC9kHG980jEfkTmQYB7t" + }, + "href": "https://api.spotify.com/v1/tracks/1hkC9kHG980jEfkTmQYB7t", + "id": "1hkC9kHG980jEfkTmQYB7t", + "name": "Sing About It", + "popularity": 54, + "preview_url": "https://p.scdn.co/mp3-preview/e6266c7042bcaddae79c7fe6f93b6c233217df11?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 3, + "type": "track", + "uri": "spotify:track:1hkC9kHG980jEfkTmQYB7t" + } + ], + "limit": 10, + "next": "https://api.spotify.com/v1/search?query=Muse&type=track&market=US&offset=15&limit=10", + "offset": 5, + "previous": "https://api.spotify.com/v1/search?query=Muse&type=track&market=US&offset=0&limit=10", + "total": 11113 + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/search/simplified/SearchAlbumsRequest.json b/target/test-classes/fixtures/responses/data/search/simplified/SearchAlbumsRequest.json new file mode 100644 index 0000000..7adc32e --- /dev/null +++ b/target/test-classes/fixtures/responses/data/search/simplified/SearchAlbumsRequest.json @@ -0,0 +1,989 @@ +{ + "albums": { + "href": "https://api.spotify.com/v1/search?query=Muse&type=album&market=US&offset=5&limit=10", + "items": [ + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0HcHPBu9aaF1MxOiZmUQTl" + }, + "href": "https://api.spotify.com/v1/albums/0HcHPBu9aaF1MxOiZmUQTl", + "id": "0HcHPBu9aaF1MxOiZmUQTl", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ae61915fc3f4b3019200ba6ee58a2a85866461bf", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/523194c8f4f32d0d091a7686fea8fda0411b25a5", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/700cdaab602da14c4f007ad2f9cefcbd9292ac24", + "width": 64 + } + ], + "name": "Absolution", + "type": "album", + "uri": "spotify:album:0HcHPBu9aaF1MxOiZmUQTl" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [], + "external_urls": { + "spotify": "https://open.spotify.com/album/1AP6uGYHdakRgwuWQsP5pK" + }, + "href": "https://api.spotify.com/v1/albums/1AP6uGYHdakRgwuWQsP5pK", + "id": "1AP6uGYHdakRgwuWQsP5pK", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ecb609f80a433a4bcf06c42e69821772140f0632", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/1df08bc3fac0a95d783417bddba0bba9a1da579d", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ea2eabc1ce63838531d746386cac28d2f9e3ce4c", + "width": 64 + } + ], + "name": "Origin Of Symmetry (New 09 version)", + "type": "album", + "uri": "spotify:album:1AP6uGYHdakRgwuWQsP5pK" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/4vGrte8FDu062Ntj0RsPiZ" + }, + "href": "https://api.spotify.com/v1/artists/4vGrte8FDu062Ntj0RsPiZ", + "id": "4vGrte8FDu062Ntj0RsPiZ", + "name": "Polyphia", + "type": "artist", + "uri": "spotify:artist:4vGrte8FDu062Ntj0RsPiZ" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/7EyDVKiEcQw9tE44UpcLWJ" + }, + "href": "https://api.spotify.com/v1/albums/7EyDVKiEcQw9tE44UpcLWJ", + "id": "7EyDVKiEcQw9tE44UpcLWJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/64859fa60c44086c6161488236a0d6c3b22adee2", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/003033e7e76f2244e0e78f7cff7c6f546019c202", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/7352e2fde5ca0da88436ec73d06b0650f4af8e21", + "width": 64 + } + ], + "name": "Muse", + "type": "album", + "uri": "spotify:album:7EyDVKiEcQw9tE44UpcLWJ" + }, + { + "album_type": "single", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2mugumSqUWxhW2InJ9dPTv" + }, + "href": "https://api.spotify.com/v1/albums/2mugumSqUWxhW2InJ9dPTv", + "id": "2mugumSqUWxhW2InJ9dPTv", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/08d56eac0c7d48bb8bf7752b2202c3314db79394", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/e6e7234a572a83fa7a98ee51c225d161a6750e01", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/105e1c4fee340f987c8708b5eaf42b36cf742519", + "width": 64 + } + ], + "name": "Dig Down", + "type": "album", + "uri": "spotify:album:2mugumSqUWxhW2InJ9dPTv" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/6AyUVv7MnxxTuijp4WmrhO" + }, + "href": "https://api.spotify.com/v1/albums/6AyUVv7MnxxTuijp4WmrhO", + "id": "6AyUVv7MnxxTuijp4WmrhO", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/3e67c0e68b6cfa0e6d851e0492b29b968d6bb3b9", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/29a5e9fc13b9d5f7d5f78ba69d71afa23c84a9d5", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/fdd7655946d83f014ba2d2c2a3d89d7c7bdb2b64", + "width": 64 + } + ], + "name": "Showbiz", + "type": "album", + "uri": "spotify:album:6AyUVv7MnxxTuijp4WmrhO" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2m7L60M210ABzrY9GLyBPZ" + }, + "href": "https://api.spotify.com/v1/albums/2m7L60M210ABzrY9GLyBPZ", + "id": "2m7L60M210ABzrY9GLyBPZ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/05c049956ed66d6dd3451d9ac06e0f30ff1693b3", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/71a45fc4b9d8f4f5e0998751f7c29a97f5f0fdd3", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/680b385164b970b271365f2da1271bc642b77fb7", + "width": 64 + } + ], + "name": "Live At Rome Olympic Stadium", + "type": "album", + "uri": "spotify:album:2m7L60M210ABzrY9GLyBPZ" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/5eJTvSeghTKoqN3Ly4TqEf" + }, + "href": "https://api.spotify.com/v1/albums/5eJTvSeghTKoqN3Ly4TqEf", + "id": "5eJTvSeghTKoqN3Ly4TqEf", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/09f08a5296bed8f5658bdc8d7befc8d04294d41f", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/77fdcc5caeb6bd3cb4e84c7cb5ab0979934f48bf", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/d1e366b2a054053cf668fc33493ae2da440c92df", + "width": 64 + } + ], + "name": "Hullabaloo Soundtrack", + "type": "album", + "uri": "spotify:album:5eJTvSeghTKoqN3Ly4TqEf" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/7IEp2DUicr3uqt2BTEQfMX" + }, + "href": "https://api.spotify.com/v1/albums/7IEp2DUicr3uqt2BTEQfMX", + "id": "7IEp2DUicr3uqt2BTEQfMX", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/3da2ab75e1ca3f12eb48caeb2438aeae201acce7", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/b7c44d39e7385e1bdb41ffc70e2591317e4a2f7d", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/eaa91343326be9bfd483a865588133a00f5d9a4d", + "width": 64 + } + ], + "name": "HAARP (Live From Wembley Stadium)", + "type": "album", + "uri": "spotify:album:7IEp2DUicr3uqt2BTEQfMX" + }, + { + "album_type": "single", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6iLGJqxVgxxWsJe5bW4dxt" + }, + "href": "https://api.spotify.com/v1/artists/6iLGJqxVgxxWsJe5bW4dxt", + "id": "6iLGJqxVgxxWsJe5bW4dxt", + "name": "Woodie Gochild", + "type": "artist", + "uri": "spotify:artist:6iLGJqxVgxxWsJe5bW4dxt" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/3eCiclCiwjiy72p2fhXHub" + }, + "href": "https://api.spotify.com/v1/albums/3eCiclCiwjiy72p2fhXHub", + "id": "3eCiclCiwjiy72p2fhXHub", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/4316cff643136d66716012025418dfd3db56eda4", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/33cfad37de24f8f9801347a121eb7de46ef463a6", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/08c0f575a92cebb5a8e5fa65fc723da322f1eeb7", + "width": 64 + } + ], + "name": "Muse", + "type": "album", + "uri": "spotify:album:3eCiclCiwjiy72p2fhXHub" + }, + { + "album_type": "single", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1Q8pPoJYMxI69UkONXODr4" + }, + "href": "https://api.spotify.com/v1/artists/1Q8pPoJYMxI69UkONXODr4", + "id": "1Q8pPoJYMxI69UkONXODr4", + "name": "Edgar Sandoval Jr", + "type": "artist", + "uri": "spotify:artist:1Q8pPoJYMxI69UkONXODr4" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/7twRq45szqKHttKsuktIGY" + }, + "href": "https://api.spotify.com/v1/albums/7twRq45szqKHttKsuktIGY", + "id": "7twRq45szqKHttKsuktIGY", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/934b1667f64dc3474415c426e4f000e0b75921ec", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/e64390e9667261feb16655d5d11bf3c609932d47", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ebfdf930885aae94144337eca903588daea74a37", + "width": 64 + } + ], + "name": "Muse", + "type": "album", + "uri": "spotify:album:7twRq45szqKHttKsuktIGY" + } + ], + "limit": 10, + "next": "https://api.spotify.com/v1/search?query=Muse&type=album&market=US&offset=15&limit=10", + "offset": 5, + "previous": "https://api.spotify.com/v1/search?query=Muse&type=album&market=US&offset=0&limit=10", + "total": 1032 + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/search/simplified/SearchArtistsRequest.json b/target/test-classes/fixtures/responses/data/search/simplified/SearchArtistsRequest.json new file mode 100644 index 0000000..e72a5f5 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/search/simplified/SearchArtistsRequest.json @@ -0,0 +1,299 @@ +{ + "artists": { + "href": "https://api.spotify.com/v1/search?query=Muse&type=artist&market=US&offset=5&limit=10", + "items": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/5l8lZmnKzCAUKKtNZMzbVO" + }, + "followers": { + "href": null, + "total": 2 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/5l8lZmnKzCAUKKtNZMzbVO", + "id": "5l8lZmnKzCAUKKtNZMzbVO", + "images": [], + "name": "Muse And The Forgetting", + "popularity": 17, + "type": "artist", + "uri": "spotify:artist:5l8lZmnKzCAUKKtNZMzbVO" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/4L6i1I6tFpc1bKui5coGme" + }, + "followers": { + "href": null, + "total": 5072 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/4L6i1I6tFpc1bKui5coGme", + "id": "4L6i1I6tFpc1bKui5coGme", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/7d1b61d330e0e80cb836e5b2a33783a5d021009e", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/48fc330ca901fb7a6c9356f4402b380317de09c5", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ee6cc6264de5e53f6ff58e78de206bb7b0399170", + "width": 64 + } + ], + "name": "Muse", + "popularity": 9, + "type": "artist", + "uri": "spotify:artist:4L6i1I6tFpc1bKui5coGme" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0oYf9u7u00PBfFUDY6B00U" + }, + "followers": { + "href": null, + "total": 10 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/0oYf9u7u00PBfFUDY6B00U", + "id": "0oYf9u7u00PBfFUDY6B00U", + "images": [], + "name": "M.U.S.E.", + "popularity": 0, + "type": "artist", + "uri": "spotify:artist:0oYf9u7u00PBfFUDY6B00U" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/3TN2e4aym8jdMv7uxWuMa5" + }, + "followers": { + "href": null, + "total": 1 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/3TN2e4aym8jdMv7uxWuMa5", + "id": "3TN2e4aym8jdMv7uxWuMa5", + "images": [], + "name": "MUSE", + "popularity": 0, + "type": "artist", + "uri": "spotify:artist:3TN2e4aym8jdMv7uxWuMa5" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1zFNYw5kgA7UEKWqNHf1Et" + }, + "followers": { + "href": null, + "total": 1613 + }, + "genres": [ + "alternative dance" + ], + "href": "https://api.spotify.com/v1/artists/1zFNYw5kgA7UEKWqNHf1Et", + "id": "1zFNYw5kgA7UEKWqNHf1Et", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/37b8c747761d4e769f50cafe0cfac5e5699d11c4", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/1dbe9563251b3a2411a08e116214ecdc72ea5d36", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/019776540e398dae278322f9f030f36afb0614d2", + "width": 64 + } + ], + "name": "Dangerous Muse", + "popularity": 15, + "type": "artist", + "uri": "spotify:artist:1zFNYw5kgA7UEKWqNHf1Et" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/3uIGREwbP57eNOtcol8yrC" + }, + "followers": { + "href": null, + "total": 269 + }, + "genres": [ + "harp", + "string folk" + ], + "href": "https://api.spotify.com/v1/artists/3uIGREwbP57eNOtcol8yrC", + "id": "3uIGREwbP57eNOtcol8yrC", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/16dced42853c07db90950f915a6eb22536524afe", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/30ce043bb61aac6a6acf393d0ed7a0a9caee6632", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/eff847a916889ece5f533297765824aac48124a6", + "width": 64 + } + ], + "name": "Celtic Muse", + "popularity": 10, + "type": "artist", + "uri": "spotify:artist:3uIGREwbP57eNOtcol8yrC" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/7dwv5d4pNWa18YFMiXZiFi" + }, + "followers": { + "href": null, + "total": 63 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/7dwv5d4pNWa18YFMiXZiFi", + "id": "7dwv5d4pNWa18YFMiXZiFi", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/44d67cbfdf8f10a4e55ac7882ba671386851826a", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/8ca06c9c19faaaa05324d7acbd5b722b6694c269", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/3ed91125d8a69a1919a361abd1cffc22dd8b3724", + "width": 64 + } + ], + "name": "The Muse Maker", + "popularity": 12, + "type": "artist", + "uri": "spotify:artist:7dwv5d4pNWa18YFMiXZiFi" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/4nxsiEZEqHdOZIcx96h28q" + }, + "followers": { + "href": null, + "total": 126 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/4nxsiEZEqHdOZIcx96h28q", + "id": "4nxsiEZEqHdOZIcx96h28q", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ece4bf99a19ecb898a5484c45605c55da9afa32f", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/fa3bd8dd647837bdd35cda575d5b67f79b8d780a", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/d76ad8fd6a7814d3369e775a8d649df5b8581e49", + "width": 64 + } + ], + "name": "Workout Muse", + "popularity": 4, + "type": "artist", + "uri": "spotify:artist:4nxsiEZEqHdOZIcx96h28q" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2vh427vhmYQWKFzFFUG0tZ" + }, + "followers": { + "href": null, + "total": 7 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/2vh427vhmYQWKFzFFUG0tZ", + "id": "2vh427vhmYQWKFzFFUG0tZ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ca99cfde3b96ab80bc578ad82cf729c08bc5cc22", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/88d6fd560784caf9eed6efeafa0070688341687e", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/a70dfedbb4b89cdf7864cd2cfc0c8b567faaf515", + "width": 64 + } + ], + "name": "MaddRegaeles Muse", + "popularity": 4, + "type": "artist", + "uri": "spotify:artist:2vh427vhmYQWKFzFFUG0tZ" + }, + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2RLgQST3UuvyraOMj04JXe" + }, + "followers": { + "href": null, + "total": 78 + }, + "genres": [], + "href": "https://api.spotify.com/v1/artists/2RLgQST3UuvyraOMj04JXe", + "id": "2RLgQST3UuvyraOMj04JXe", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/b9087c6262aca40d174863fa8b891d1229d19e3a", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/87a8379290dc83f6b8444376fee83ca0deb6b79b", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/6b7d8f17bf95863f0672cc1c117c1466a890bf7e", + "width": 64 + } + ], + "name": "Muse Girls", + "popularity": 14, + "type": "artist", + "uri": "spotify:artist:2RLgQST3UuvyraOMj04JXe" + } + ], + "limit": 10, + "next": "https://api.spotify.com/v1/search?query=Muse&type=artist&market=US&offset=15&limit=10", + "offset": 5, + "previous": "https://api.spotify.com/v1/search?query=Muse&type=artist&market=US&offset=0&limit=10", + "total": 171 + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/search/simplified/SearchEpisodesRequest.json b/target/test-classes/fixtures/responses/data/search/simplified/SearchEpisodesRequest.json new file mode 100644 index 0000000..74b4d36 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/search/simplified/SearchEpisodesRequest.json @@ -0,0 +1,359 @@ +{ + "episodes": { + "href": "https://api.spotify.com/v1/search?query=Muse&type=episode&market=US&offset=5&limit=10", + "items": [ + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/4953f9273305b4080857a5827b5284574427d140", + "description": " Who deserves to be in a museum? For too long, the answer has been \"the extraordinary\" -- those aspirational historymakers who inspire us with their successes. But those stories are limiting, says museum curator Ariana Curtis. In a visionary talk, she imagines how museums can more accurately represent history by honoring the lives of people both extraordinary and everyday, prominent and hidden -- and amplify diverse perspectives that should have always been included. ", + "duration_ms": 742492, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/2cbgiJZ4czXj8OCPSCDcn3" + }, + "href": "https://api.spotify.com/v1/episodes/2cbgiJZ4czXj8OCPSCDcn3", + "id": "2cbgiJZ4czXj8OCPSCDcn3", + "images": [ + { + "height": 360, + "url": "https://i.scdn.co/image/2125de11fbf7fd49cef9d5f2a2a7abe4b9c2264a", + "width": 640 + }, + { + "height": 169, + "url": "https://i.scdn.co/image/7a902e5328f82f849acc1ffcaf5db8e84d485e88", + "width": 300 + }, + { + "height": 36, + "url": "https://i.scdn.co/image/64235d805217d8d89c8cff552ac00852b97be852", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en", + "languages": [ + "en" + ], + "name": "Museums should honor the everyday, not just the extraordinary | Ariana Curtis", + "release_date": "2020-02-04", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:2cbgiJZ4czXj8OCPSCDcn3" + }, + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/3862b0e13afe328b30705673a43f14dabda26dc3", + "description": " Welcome, all, to our most fanciful episode yet! It's got everything: Extremely wrong-headed Super Bowl predictions, Travis' mushroom-tainted movie memories and a brief lesson on Mogwai rights. Come with us on a three-way mind voyage! Suggested talking points: The Hug Heard Round the World, Mushroom Movie Editions, A Very Terrible Towel, Office Traps, Pirate Jeffcoats, Emu President ", + "duration_ms": 3332456, + "explicit": true, + "external_urls": { + "spotify": "https://open.spotify.com/episode/0YRBcj9e7P5pb16FozLIbQ" + }, + "href": "https://api.spotify.com/v1/episodes/0YRBcj9e7P5pb16FozLIbQ", + "id": "0YRBcj9e7P5pb16FozLIbQ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/08ba50b87fe2c3acb37b131dc70d6655ee4171bd", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/b43494e6e836d37935fe583c6be728f17fa5df5d", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/fb1ef5b581e144291984a72e4855c885c0dc4a85", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en", + "languages": [ + "en" + ], + "name": "MBMBaM 289: Ben Stiller's Museum Nights", + "release_date": "2016-02-08", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:0YRBcj9e7P5pb16FozLIbQ" + }, + null, + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/6cbb1f9e8e7b9c75b21ad7bd7a12a2b1afb1a595", + "description": "This week on Watchtime we talk about what is going on in the world right now with Covid-19, and the affect it is having on the YouTube sphere. ", + "duration_ms": 3156096, + "explicit": true, + "external_urls": { + "spotify": "https://open.spotify.com/episode/0AzrnJXpkeZTXsUTHykHcN" + }, + "href": "https://api.spotify.com/v1/episodes/0AzrnJXpkeZTXsUTHykHcN", + "id": "0AzrnJXpkeZTXsUTHykHcN", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/357355064cd7356e67743edc55b5eec08023386b", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/eeff66e6bc8ab5d6d52f4bda59a3f98b6b746b9c", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ea8bf1815dee3db9362ac571080fc8edc2bdae11", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en", + "languages": [ + "en" + ], + "name": "LazarBeam and Muselk's Corona Plans", + "release_date": "2020-03-23", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:0AzrnJXpkeZTXsUTHykHcN" + }, + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/46fe7bffd6d1ed053c06ecb5876bdecd9b266147", + "description": "Welcome to episode 10 of the podcast where a couple of poorly dressed jobsworths read awful reviews. This very special episode is full of big announcements and big egos.  We even answer the age old question: Which has more museums, Boise or New York City? We also discover the world of people who get excited by squirrels, making this our most wholesome episode yet. But don't get too excited, because we're still being described as \"what muppets would sound like on crack.\" Logo by Courtney DeKorte. Theme by Mavus White.  Music by PSOVOD, Sirkoto51 and tyops.  --- This episode is sponsored by · Talk Money With Mesh Lakhani Podcast: On The Talk Money with Mesh Lakhani podcast, Mesh will follow paper trails, chat with experts, and break down complex ideas to bring clarity to the mystical financial phenomena behind your finances. https://open.spotify.com/show/20gI5HoX4J0zlsCgnjqWoP?si=w8xX2XpITSuysd_xGiGQiQ · Anchor: The easiest way to make a podcast. https://anchor.fm/app ", + "duration_ms": 2543607, + "explicit": true, + "external_urls": { + "spotify": "https://open.spotify.com/episode/57mGvOrTPqNKesjOD9n9Xg" + }, + "href": "https://api.spotify.com/v1/episodes/57mGvOrTPqNKesjOD9n9Xg", + "id": "57mGvOrTPqNKesjOD9n9Xg", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/95f60863b45b0cbfaeb08e501c64e50e110047c7", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/ad737c9411368bd7657ad8978696af9b990275dd", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/d4c806fccff499b9bd063a933e5a17d9486df246", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en", + "languages": [ + "en" + ], + "name": "10: Museums in Boise, ID", + "release_date": "2019-01-30", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:57mGvOrTPqNKesjOD9n9Xg" + }, + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/034a691eae5a386381825691001130b23bfc4b38", + "description": " It’s difficult to convey who you are in a two-dimensional dating profile. So a brand new dating service brings you into the third dimension, allowing you to create a museum all about yourself. Written by Davy Gardner Performed by Ann Carr and Nicholas Richardson. With Johnna Scrabis, and Adelaide Kipiniak. The Truth Instagram Twitter ", + "duration_ms": 1589408, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/7ybEKrMYjiImqMciLIfTyt" + }, + "href": "https://api.spotify.com/v1/episodes/7ybEKrMYjiImqMciLIfTyt", + "id": "7ybEKrMYjiImqMciLIfTyt", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/f67f556cceb4cb6b1367d87b03fc591561707215", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/f206e3fe0c0a059335e802e76cabd1f88f2eec67", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/d751f5a35a56580559aaf51744d6bf81d6025600", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en", + "languages": [ + "en" + ], + "name": "Museum of You", + "release_date": "2020-01-16", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:7ybEKrMYjiImqMciLIfTyt" + }, + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/4e3ad259248fa3fa3b24d38cf049d420215ab1c1", + "description": "She was an incredibly famous writer of incredible output. Her behavior and personal style were almost as talked about as her novels, and these factors combined made her into a figure that was admired by many, despised by some, and completely fascinating. Learn more about your ad-choices at https://news.iheart.com/podcast-advertisers", + "duration_ms": 2677473, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/1l66VN198BfFHI89AxPDT8" + }, + "href": "https://api.spotify.com/v1/episodes/1l66VN198BfFHI89AxPDT8", + "id": "1l66VN198BfFHI89AxPDT8", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/3b2c6bf0109b96bbf8808e9e8da339b90a39a21e", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/e271d78d511c568589bd872a85445078f3cd194d", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ca298b23df80fb6eabd0aa8f4396932c1e2cf232", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en", + "languages": [ + "en" + ], + "name": "George Sand: Novelist, Muse and Gender Bender", + "release_date": "2020-02-03", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:1l66VN198BfFHI89AxPDT8" + }, + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/0c995d84d986775e09f8fd81bcffddee3be398fe", + "description": "Stiff Socks go to Madame Tussaud's Wax Museum. They learn that Jason Derulo is somehow famous enough to have a wax statue and that even wax J-Lo has cake. Want an EXTRA episode a week? Become an exclusive member on Patreon!  https://www.patreon.com/stiffsockspod", + "duration_ms": 3269094, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/7JE6wTDwaMuz5jQonMzlaa" + }, + "href": "https://api.spotify.com/v1/episodes/7JE6wTDwaMuz5jQonMzlaa", + "id": "7JE6wTDwaMuz5jQonMzlaa", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/632006803540546edea067b2a4ad551680c1ee35", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/d14b5882339dceee4468f3fcad805359942eac57", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ddfa96ad08ba30c1660cb07ee394d4ac0f17c938", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en", + "languages": [ + "en" + ], + "name": "Episode 08: Stiff Socks Goes to a Wax Museum", + "release_date": "2019-03-06", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:7JE6wTDwaMuz5jQonMzlaa" + }, + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/43795c89e14413717b99caf10020e65041f2fb32", + "description": "Rehab, arrests, fights, hitting on Prince Harry, dramatic stage breakdowns, slagging off the press, Amy Winehouse was a rockstar’s rockstar and she was also one of the greatest musical talents of the past 20 years. Her voice was unlike any other. She modernized jazz. She gave weight to pop. When she was inspired, she was untouchable. Driven by her muse, haunted by her addictions and harassed endlessly by the paparazzi, Amy Winehouse’s story is tragic and all too familiar but her music and the way she expressed herself; entirely unique.  Learn more about your ad-choices at https://news.iheart.com/podcast-advertisers", + "duration_ms": 2727340, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/0Yop8V3Xvn1W0VjR6Qv8o6" + }, + "href": "https://api.spotify.com/v1/episodes/0Yop8V3Xvn1W0VjR6Qv8o6", + "id": "0Yop8V3Xvn1W0VjR6Qv8o6", + "images": [ + { + "height": 268, + "url": "https://i.scdn.co/image/bafd7be7f1d253fd6c6b63b0b885b0527813f8a5", + "width": 268 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/a159ed673478b2cf305ba13c9edd4ddbbe21b693", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en", + "languages": [ + "en" + ], + "name": "Amy Winehouse: Rehab, the Muse and a Rare Talent", + "release_date": "2019-05-14", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:0Yop8V3Xvn1W0VjR6Qv8o6" + }, + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/1e316c5edceecb5930eb0ef0ccdcd5bcab2b063d", + "description": " Philadelphia is home not only to the most recent Sawbones live show, but also one of the world's most unusual museums -- The Mutter Museum -- a collection of medical oddities and anatomical specimens. But this is no freak show, this is an unflinching, educational look at the disturbingly beautiful and beautifully disturbing side of medicine. This is the Sawbones promised land. Music: \"Medicines\" by The Taxpayers ", + "duration_ms": 2787555, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/74yDmTYN1aXuPpSUHNhyAS" + }, + "href": "https://api.spotify.com/v1/episodes/74yDmTYN1aXuPpSUHNhyAS", + "id": "74yDmTYN1aXuPpSUHNhyAS", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/a5df4175b871971251566a02e788b5e20087dedf", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/514cb8d6b965666ffb65881b11db782d5a247830", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/39151b4cc0aae957bed3633cd8659579c3bd1f87", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "en", + "languages": [ + "en" + ], + "name": "Sawbones: Mutter Museum", + "release_date": "2017-07-20", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:74yDmTYN1aXuPpSUHNhyAS" + } + ], + "limit": 10, + "next": "https://api.spotify.com/v1/search?query=Muse&type=episode&market=US&offset=15&limit=10", + "offset": 5, + "previous": "https://api.spotify.com/v1/search?query=Muse&type=episode&market=US&offset=0&limit=10", + "total": 14440 + } +} diff --git a/target/test-classes/fixtures/responses/data/search/simplified/SearchPlaylistsRequest.json b/target/test-classes/fixtures/responses/data/search/simplified/SearchPlaylistsRequest.json new file mode 100644 index 0000000..dd7619d --- /dev/null +++ b/target/test-classes/fixtures/responses/data/search/simplified/SearchPlaylistsRequest.json @@ -0,0 +1,422 @@ +{ + "playlists": { + "href": "https://api.spotify.com/v1/search?query=Muse&type=playlist&market=US&offset=5&limit=10", + "items": [ + { + "collaborative": false, + "external_urls": { + "spotify": "https://open.spotify.com/user/spotify/playlist/37i9dQZF1DWT6VDwxLyl0W" + }, + "href": "https://api.spotify.com/v1/users/spotify/playlists/37i9dQZF1DWT6VDwxLyl0W", + "id": "37i9dQZF1DWT6VDwxLyl0W", + "images": [ + { + "height": 300, + "url": "https://i.scdn.co/image/e84b7e258039267f97dc6db73b8d8333a599bf7b", + "width": 300 + } + ], + "name": "This Is: Neil Young", + "owner": { + "display_name": "Spotify", + "external_urls": { + "spotify": "https://open.spotify.com/user/spotify" + }, + "href": "https://api.spotify.com/v1/users/spotify", + "id": "spotify", + "type": "user", + "uri": "spotify:user:spotify" + }, + "public": null, + "snapshot_id": "+NTCFqkUdkOXYFUWvU5WKt6UZ6qCjYLaW46lrg5CKNo9jA8/UaTlAiKhjjCSWvNX0t0RI5UlgN0=", + "tracks": { + "href": "https://api.spotify.com/v1/users/spotify/playlists/37i9dQZF1DWT6VDwxLyl0W/tracks", + "total": 50 + }, + "type": "playlist", + "uri": "spotify:user:spotify:playlist:37i9dQZF1DWT6VDwxLyl0W" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "https://open.spotify.com/user/22sf74of2vex22mbg4jglkugy/playlist/3l5sfazmY1FP0wDlNCUunG" + }, + "href": "https://api.spotify.com/v1/users/22sf74of2vex22mbg4jglkugy/playlists/3l5sfazmY1FP0wDlNCUunG", + "id": "3l5sfazmY1FP0wDlNCUunG", + "images": [ + { + "height": 640, + "url": "https://mosaic.scdn.co/640/59fbbabeecaade686c44c99e5d1102130556bba1d3ba14242f74eb17c6b32a95c1bd6ab35af24d244862a7168866cfd07a288e110f034381a22580354c086c68ef4695ea277aa8657cfa5694e8c0ae7d", + "width": 640 + }, + { + "height": 300, + "url": "https://mosaic.scdn.co/300/59fbbabeecaade686c44c99e5d1102130556bba1d3ba14242f74eb17c6b32a95c1bd6ab35af24d244862a7168866cfd07a288e110f034381a22580354c086c68ef4695ea277aa8657cfa5694e8c0ae7d", + "width": 300 + }, + { + "height": 60, + "url": "https://mosaic.scdn.co/60/59fbbabeecaade686c44c99e5d1102130556bba1d3ba14242f74eb17c6b32a95c1bd6ab35af24d244862a7168866cfd07a288e110f034381a22580354c086c68ef4695ea277aa8657cfa5694e8c0ae7d", + "width": 60 + } + ], + "name": "Muse — Madness", + "owner": { + "display_name": "Eric Dosal", + "external_urls": { + "spotify": "https://open.spotify.com/user/22sf74of2vex22mbg4jglkugy" + }, + "href": "https://api.spotify.com/v1/users/22sf74of2vex22mbg4jglkugy", + "id": "22sf74of2vex22mbg4jglkugy", + "type": "user", + "uri": "spotify:user:22sf74of2vex22mbg4jglkugy" + }, + "public": null, + "snapshot_id": "JtRnjv1ZOAMvfIzydGLUSYFsny/ClfCjg2CRusVZlsBhxamdGMXstAMmA5uVcjLo", + "tracks": { + "href": "https://api.spotify.com/v1/users/22sf74of2vex22mbg4jglkugy/playlists/3l5sfazmY1FP0wDlNCUunG/tracks", + "total": 76 + }, + "type": "playlist", + "uri": "spotify:user:22sf74of2vex22mbg4jglkugy:playlist:3l5sfazmY1FP0wDlNCUunG" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "https://open.spotify.com/user/22aood6wrht2pipht3ukvoyxa/playlist/1d2XIviyWqrmbxZBQKy8C8" + }, + "href": "https://api.spotify.com/v1/users/22aood6wrht2pipht3ukvoyxa/playlists/1d2XIviyWqrmbxZBQKy8C8", + "id": "1d2XIviyWqrmbxZBQKy8C8", + "images": [ + { + "height": 640, + "url": "https://mosaic.scdn.co/640/9e5288926fadb82f873ccf2b45300c3a6f65fa146915d5fd2314866488a8be397542bfdef212fb20cdbbf4382c1adc6b158b02c361abd3440359a587376a7ccee858b675377d5a9e21a7c4f8ab007142", + "width": 640 + }, + { + "height": 300, + "url": "https://mosaic.scdn.co/300/9e5288926fadb82f873ccf2b45300c3a6f65fa146915d5fd2314866488a8be397542bfdef212fb20cdbbf4382c1adc6b158b02c361abd3440359a587376a7ccee858b675377d5a9e21a7c4f8ab007142", + "width": 300 + }, + { + "height": 60, + "url": "https://mosaic.scdn.co/60/9e5288926fadb82f873ccf2b45300c3a6f65fa146915d5fd2314866488a8be397542bfdef212fb20cdbbf4382c1adc6b158b02c361abd3440359a587376a7ccee858b675377d5a9e21a7c4f8ab007142", + "width": 60 + } + ], + "name": "Muse — Starlight", + "owner": { + "display_name": "Julio Zuniga", + "external_urls": { + "spotify": "https://open.spotify.com/user/22aood6wrht2pipht3ukvoyxa" + }, + "href": "https://api.spotify.com/v1/users/22aood6wrht2pipht3ukvoyxa", + "id": "22aood6wrht2pipht3ukvoyxa", + "type": "user", + "uri": "spotify:user:22aood6wrht2pipht3ukvoyxa" + }, + "public": null, + "snapshot_id": "eNUie5w8PrXk1g+LaoRsXrTEVNbaH5CkETcyiIY1ukv4gD94c/OoCPPepydX5eVl", + "tracks": { + "href": "https://api.spotify.com/v1/users/22aood6wrht2pipht3ukvoyxa/playlists/1d2XIviyWqrmbxZBQKy8C8/tracks", + "total": 34 + }, + "type": "playlist", + "uri": "spotify:user:22aood6wrht2pipht3ukvoyxa:playlist:1d2XIviyWqrmbxZBQKy8C8" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "https://open.spotify.com/user/anoymusid/playlist/0qyro9Fdqr1wNcGQjzDh3e" + }, + "href": "https://api.spotify.com/v1/users/anoymusid/playlists/0qyro9Fdqr1wNcGQjzDh3e", + "id": "0qyro9Fdqr1wNcGQjzDh3e", + "images": [ + { + "height": 640, + "url": "https://mosaic.scdn.co/640/9e5288926fadb82f873ccf2b45300c3a6f65fa14b9ff83c29bd0a00b8e179183615e1588500fcb9294c124dd9812e03e8d21de9a05bbee08ad60ed91ac68a9e4a867ec3ce8249cd90a2d7c73755fb487", + "width": 640 + }, + { + "height": 300, + "url": "https://mosaic.scdn.co/300/9e5288926fadb82f873ccf2b45300c3a6f65fa14b9ff83c29bd0a00b8e179183615e1588500fcb9294c124dd9812e03e8d21de9a05bbee08ad60ed91ac68a9e4a867ec3ce8249cd90a2d7c73755fb487", + "width": 300 + }, + { + "height": 60, + "url": "https://mosaic.scdn.co/60/9e5288926fadb82f873ccf2b45300c3a6f65fa14b9ff83c29bd0a00b8e179183615e1588500fcb9294c124dd9812e03e8d21de9a05bbee08ad60ed91ac68a9e4a867ec3ce8249cd90a2d7c73755fb487", + "width": 60 + } + ], + "name": "Muse Radio", + "owner": { + "display_name": null, + "external_urls": { + "spotify": "https://open.spotify.com/user/anoymusid" + }, + "href": "https://api.spotify.com/v1/users/anoymusid", + "id": "anoymusid", + "type": "user", + "uri": "spotify:user:anoymusid" + }, + "public": null, + "snapshot_id": "F4fBgK1AbQUKcirEYoYa+pvNkM7dFnffYJyGDU1TyuJDkCrMkt0eR8kE5Ln00Mhd", + "tracks": { + "href": "https://api.spotify.com/v1/users/anoymusid/playlists/0qyro9Fdqr1wNcGQjzDh3e/tracks", + "total": 164 + }, + "type": "playlist", + "uri": "spotify:user:anoymusid:playlist:0qyro9Fdqr1wNcGQjzDh3e" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "https://open.spotify.com/user/musicdeche/playlist/4YUo5t8gIhxtGFl8tT3Ovq" + }, + "href": "https://api.spotify.com/v1/users/musicdeche/playlists/4YUo5t8gIhxtGFl8tT3Ovq", + "id": "4YUo5t8gIhxtGFl8tT3Ovq", + "images": [ + { + "height": 640, + "url": "https://mosaic.scdn.co/640/ae61915fc3f4b3019200ba6ee58a2a85866461bf6e1be3ceda70250c701caee5a16bef205e94bc98849eecf3c9df835181c2970c435ac2d008346ea3c7d70e10ba8935b96819737cad388c68baa4d7a8", + "width": 640 + }, + { + "height": 300, + "url": "https://mosaic.scdn.co/300/ae61915fc3f4b3019200ba6ee58a2a85866461bf6e1be3ceda70250c701caee5a16bef205e94bc98849eecf3c9df835181c2970c435ac2d008346ea3c7d70e10ba8935b96819737cad388c68baa4d7a8", + "width": 300 + }, + { + "height": 60, + "url": "https://mosaic.scdn.co/60/ae61915fc3f4b3019200ba6ee58a2a85866461bf6e1be3ceda70250c701caee5a16bef205e94bc98849eecf3c9df835181c2970c435ac2d008346ea3c7d70e10ba8935b96819737cad388c68baa4d7a8", + "width": 60 + } + ], + "name": "Muse - Hysteria", + "owner": { + "display_name": null, + "external_urls": { + "spotify": "https://open.spotify.com/user/musicdeche" + }, + "href": "https://api.spotify.com/v1/users/musicdeche", + "id": "musicdeche", + "type": "user", + "uri": "spotify:user:musicdeche" + }, + "public": null, + "snapshot_id": "epniUoKVG+Rz1xbNOSv9/5OuV8fav1ZW8oZz6mzJb+hpSrSdh1I+O+VQDluQBYVP", + "tracks": { + "href": "https://api.spotify.com/v1/users/musicdeche/playlists/4YUo5t8gIhxtGFl8tT3Ovq/tracks", + "total": 170 + }, + "type": "playlist", + "uri": "spotify:user:musicdeche:playlist:4YUo5t8gIhxtGFl8tT3Ovq" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "https://open.spotify.com/user/22fkrew4v2cs7zc6uwii76i4a/playlist/7qlkRPYzSxw24oD83dntuk" + }, + "href": "https://api.spotify.com/v1/users/22fkrew4v2cs7zc6uwii76i4a/playlists/7qlkRPYzSxw24oD83dntuk", + "id": "7qlkRPYzSxw24oD83dntuk", + "images": [ + { + "height": 640, + "url": "https://mosaic.scdn.co/640/ecb609f80a433a4bcf06c42e69821772140f0632f513ae2d610d9255913795d4bc28ca33c827b2327e35a74a96e73a1c56becb161ea3e29432349806c6ebef248b155a5c73cebe7bddf8a068f0d5c143", + "width": 640 + }, + { + "height": 300, + "url": "https://mosaic.scdn.co/300/ecb609f80a433a4bcf06c42e69821772140f0632f513ae2d610d9255913795d4bc28ca33c827b2327e35a74a96e73a1c56becb161ea3e29432349806c6ebef248b155a5c73cebe7bddf8a068f0d5c143", + "width": 300 + }, + { + "height": 60, + "url": "https://mosaic.scdn.co/60/ecb609f80a433a4bcf06c42e69821772140f0632f513ae2d610d9255913795d4bc28ca33c827b2327e35a74a96e73a1c56becb161ea3e29432349806c6ebef248b155a5c73cebe7bddf8a068f0d5c143", + "width": 60 + } + ], + "name": "Muse — Feeling Good", + "owner": { + "display_name": "Thiago Araujo", + "external_urls": { + "spotify": "https://open.spotify.com/user/22fkrew4v2cs7zc6uwii76i4a" + }, + "href": "https://api.spotify.com/v1/users/22fkrew4v2cs7zc6uwii76i4a", + "id": "22fkrew4v2cs7zc6uwii76i4a", + "type": "user", + "uri": "spotify:user:22fkrew4v2cs7zc6uwii76i4a" + }, + "public": null, + "snapshot_id": "71QE8VXYJz54pM7SnFpQDuC8hF/kZ9gc4s9hUT1keV1+QKQDUiIH7zg0OtYhRV3X", + "tracks": { + "href": "https://api.spotify.com/v1/users/22fkrew4v2cs7zc6uwii76i4a/playlists/7qlkRPYzSxw24oD83dntuk/tracks", + "total": 357 + }, + "type": "playlist", + "uri": "spotify:user:22fkrew4v2cs7zc6uwii76i4a:playlist:7qlkRPYzSxw24oD83dntuk" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "https://open.spotify.com/user/muse_official/playlist/2zNu81WarotkZVGvMApl7y" + }, + "href": "https://api.spotify.com/v1/users/muse_official/playlists/2zNu81WarotkZVGvMApl7y", + "id": "2zNu81WarotkZVGvMApl7y", + "images": [ + { + "height": null, + "url": "https://pl.scdn.co/images/pl/default/c44c0da53b03b18dd3fdaf91a7cb297e96e96491", + "width": null + } + ], + "name": "MUSE: Band's Picks", + "owner": { + "display_name": null, + "external_urls": { + "spotify": "https://open.spotify.com/user/muse_official" + }, + "href": "https://api.spotify.com/v1/users/muse_official", + "id": "muse_official", + "type": "user", + "uri": "spotify:user:muse_official" + }, + "public": null, + "snapshot_id": "6QMBjA/Eh/AvQQVNYBZQcCFcw4gqHIPNTxplTZJ9FAnv0JNNuUeFjlMKZyvwamB5", + "tracks": { + "href": "https://api.spotify.com/v1/users/muse_official/playlists/2zNu81WarotkZVGvMApl7y/tracks", + "total": 38 + }, + "type": "playlist", + "uri": "spotify:user:muse_official:playlist:2zNu81WarotkZVGvMApl7y" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "https://open.spotify.com/user/tyronecleggburrell/playlist/4hBO5JpMRFdkWY7KIycz81" + }, + "href": "https://api.spotify.com/v1/users/tyronecleggburrell/playlists/4hBO5JpMRFdkWY7KIycz81", + "id": "4hBO5JpMRFdkWY7KIycz81", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/59fbbabeecaade686c44c99e5d1102130556bba1", + "width": 640 + } + ], + "name": "Madness – Muse", + "owner": { + "display_name": null, + "external_urls": { + "spotify": "https://open.spotify.com/user/tyronecleggburrell" + }, + "href": "https://api.spotify.com/v1/users/tyronecleggburrell", + "id": "tyronecleggburrell", + "type": "user", + "uri": "spotify:user:tyronecleggburrell" + }, + "public": null, + "snapshot_id": "+/D264YZcuccEbR9ZBdRcZtC9Ugm06mrNvTvv2QeLLEcK2jd93gDlRf8t7dApev2", + "tracks": { + "href": "https://api.spotify.com/v1/users/tyronecleggburrell/playlists/4hBO5JpMRFdkWY7KIycz81/tracks", + "total": 3 + }, + "type": "playlist", + "uri": "spotify:user:tyronecleggburrell:playlist:4hBO5JpMRFdkWY7KIycz81" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "https://open.spotify.com/user/eaglestormcatcher/playlist/4dCdOaKewZr04ZiBr1kwbd" + }, + "href": "https://api.spotify.com/v1/users/eaglestormcatcher/playlists/4dCdOaKewZr04ZiBr1kwbd", + "id": "4dCdOaKewZr04ZiBr1kwbd", + "images": [ + { + "height": 640, + "url": "https://mosaic.scdn.co/640/3e67c0e68b6cfa0e6d851e0492b29b968d6bb3b9de81a9650e16814399e16b75fb0b875b40070b6856811f07a79e752441115694f024013f534cac6d194bc425f7ad5e54dac2a215f7d12e4e000b9a5d", + "width": 640 + }, + { + "height": 300, + "url": "https://mosaic.scdn.co/300/3e67c0e68b6cfa0e6d851e0492b29b968d6bb3b9de81a9650e16814399e16b75fb0b875b40070b6856811f07a79e752441115694f024013f534cac6d194bc425f7ad5e54dac2a215f7d12e4e000b9a5d", + "width": 300 + }, + { + "height": 60, + "url": "https://mosaic.scdn.co/60/3e67c0e68b6cfa0e6d851e0492b29b968d6bb3b9de81a9650e16814399e16b75fb0b875b40070b6856811f07a79e752441115694f024013f534cac6d194bc425f7ad5e54dac2a215f7d12e4e000b9a5d", + "width": 60 + } + ], + "name": "Muse — Unintended", + "owner": { + "display_name": "Julie Thompson Whelan", + "external_urls": { + "spotify": "https://open.spotify.com/user/eaglestormcatcher" + }, + "href": "https://api.spotify.com/v1/users/eaglestormcatcher", + "id": "eaglestormcatcher", + "type": "user", + "uri": "spotify:user:eaglestormcatcher" + }, + "public": null, + "snapshot_id": "cGFAdwLhD1jVsVNulBWuKbCw0/s7e3xEtH6uqRHac4tiUuSq+o4woxPUBCZZDErc", + "tracks": { + "href": "https://api.spotify.com/v1/users/eaglestormcatcher/playlists/4dCdOaKewZr04ZiBr1kwbd/tracks", + "total": 61 + }, + "type": "playlist", + "uri": "spotify:user:eaglestormcatcher:playlist:4dCdOaKewZr04ZiBr1kwbd" + }, + { + "collaborative": false, + "external_urls": { + "spotify": "https://open.spotify.com/user/doggybluescarf/playlist/1EWgI1FFh0fjZTbCrMUULt" + }, + "href": "https://api.spotify.com/v1/users/doggybluescarf/playlists/1EWgI1FFh0fjZTbCrMUULt", + "id": "1EWgI1FFh0fjZTbCrMUULt", + "images": [ + { + "height": 640, + "url": "https://mosaic.scdn.co/640/3e67c0e68b6cfa0e6d851e0492b29b968d6bb3b959fbbabeecaade686c44c99e5d1102130556bba16e1be3ceda70250c701caee5a16bef205e94bc989e5288926fadb82f873ccf2b45300c3a6f65fa14", + "width": 640 + }, + { + "height": 300, + "url": "https://mosaic.scdn.co/300/3e67c0e68b6cfa0e6d851e0492b29b968d6bb3b959fbbabeecaade686c44c99e5d1102130556bba16e1be3ceda70250c701caee5a16bef205e94bc989e5288926fadb82f873ccf2b45300c3a6f65fa14", + "width": 300 + }, + { + "height": 60, + "url": "https://mosaic.scdn.co/60/3e67c0e68b6cfa0e6d851e0492b29b968d6bb3b959fbbabeecaade686c44c99e5d1102130556bba16e1be3ceda70250c701caee5a16bef205e94bc989e5288926fadb82f873ccf2b45300c3a6f65fa14", + "width": 60 + } + ], + "name": "Best of Muse", + "owner": { + "display_name": null, + "external_urls": { + "spotify": "https://open.spotify.com/user/doggybluescarf" + }, + "href": "https://api.spotify.com/v1/users/doggybluescarf", + "id": "doggybluescarf", + "type": "user", + "uri": "spotify:user:doggybluescarf" + }, + "public": null, + "snapshot_id": "wuTDlZGdSLWmfVZIftV5rODduEgWuYJmyeS8wi572QeBdHZOhupfmH5k+k8Ia/EU", + "tracks": { + "href": "https://api.spotify.com/v1/users/doggybluescarf/playlists/1EWgI1FFh0fjZTbCrMUULt/tracks", + "total": 86 + }, + "type": "playlist", + "uri": "spotify:user:doggybluescarf:playlist:1EWgI1FFh0fjZTbCrMUULt" + } + ], + "limit": 10, + "next": "https://api.spotify.com/v1/search?query=Muse&type=playlist&market=US&offset=15&limit=10", + "offset": 5, + "previous": "https://api.spotify.com/v1/search?query=Muse&type=playlist&market=US&offset=0&limit=10", + "total": 21476 + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/search/simplified/SearchShowsRequest.json b/target/test-classes/fixtures/responses/data/search/simplified/SearchShowsRequest.json new file mode 100644 index 0000000..0404065 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/search/simplified/SearchShowsRequest.json @@ -0,0 +1,1162 @@ +{ + "shows": { + "href": "https://api.spotify.com/v1/search?query=Muse&type=show&market=US&offset=5&limit=10", + "items": [ + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "Jonathan is the author of Welcome to the D-List and co-host of the Mutant Musings podcast right here at Geekade. His geek-tastic girlfriend, Patti, is the other co-host of the Mutant Musings podcast. While they both have mild-mannered day-jobs, they exist solely to share their geek-ery with you, their fellow geeks.", + "explicit": true, + "external_urls": { + "spotify": "https://open.spotify.com/show/1XEGKpIeSkJs5Y0kWSAxqL" + }, + "href": "https://api.spotify.com/v1/shows/1XEGKpIeSkJs5Y0kWSAxqL", + "id": "1XEGKpIeSkJs5Y0kWSAxqL", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/9bb91b6baafcd65a141928daec7cbc76096d8e95", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/e12f795e991a2279c5be015c0be13deacf21e49e", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/dce9ba5697f91ba689143cb83cc806c6d59cc221", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en-US" + ], + "media_type": "audio", + "name": "Mutant Musings", + "publisher": "Geekade", + "type": "show", + "uri": "spotify:show:1XEGKpIeSkJs5Y0kWSAxqL" + }, + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "Museum Confidential is a behind-the-scenes look at museums hosted by Jeff Martin of Philbrook Museum of Art and produced by Scott Gregory with Public Radio Tulsa. New episodes every two weeks.", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/2LPg85v8YI3fGnbM1AMznj" + }, + "href": "https://api.spotify.com/v1/shows/2LPg85v8YI3fGnbM1AMznj", + "id": "2LPg85v8YI3fGnbM1AMznj", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/f455f5eb805eef9d17fa564f58576c14088b758a", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/0362e77f3f3dfee8820f188add7ba4207b11cc66", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/4dfa4571c41e6a54d5440ed13c6ffdc90a46b098", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en" + ], + "media_type": "audio", + "name": "Museum Confidential", + "publisher": "Philbrook Museum of Art", + "type": "show", + "uri": "spotify:show:2LPg85v8YI3fGnbM1AMznj" + }, + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "A basketball card podcast that discusses the hobby's past, present, and future.", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/6yFmqVC8vWCllUmwlryg1K" + }, + "href": "https://api.spotify.com/v1/shows/6yFmqVC8vWCllUmwlryg1K", + "id": "6yFmqVC8vWCllUmwlryg1K", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/c6a3fe0a49e0d719f55f9acab73d086c2950686d", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/14c219212879edbda2219ca5d36ea3c42a6415ee", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/4204724300feeadfb527d9b928b6c9f7011c79e6", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en" + ], + "media_type": "audio", + "name": "Wax Museum: A Basketball Card Podcast", + "publisher": "waxmuseum", + "type": "show", + "uri": "spotify:show:6yFmqVC8vWCllUmwlryg1K" + }, + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "A Podcast for the Progressive Museum", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/6W06fQHuhvJpnxJS8UHJqR" + }, + "href": "https://api.spotify.com/v1/shows/6W06fQHuhvJpnxJS8UHJqR", + "id": "6W06fQHuhvJpnxJS8UHJqR", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/0b84d89fed3e7763f379aaba4838daebec0f7286", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/10121c4f7a3ad07556dec768247ffe66c1bebadc", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/fd82c341503e25f8f09cbe8a5ea23d0044bc92fa", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en" + ], + "media_type": "audio", + "name": "Museopunks", + "publisher": "Museopunks", + "type": "show", + "uri": "spotify:show:6W06fQHuhvJpnxJS8UHJqR" + }, + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "O programa Saber Museu, Ă© uma iniciativa que consiste na integração de diferentes esforços jĂĄ empreendidos pelo Ibram para a capacitação e a qualificação dirigidas Ă  ĂĄrea museolĂłgica. O programa Ă© a resposta do Ibram Ă  demanda do campo dos museus de continuidade e aperfeiçoamento de cursos, oficinas, materiais instrucionais e publicaçÔes oferecidos desde 2003. O Saber Museu contempla uma rica diversidade de temas relacionados ao campo museal e lança mĂŁo de um conjunto variado de materiais instrucionais disponĂ­veis em diferentes plataformas virtuais.", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/0mI9t3qDLjuAdTycXF6JNg" + }, + "href": "https://api.spotify.com/v1/shows/0mI9t3qDLjuAdTycXF6JNg", + "id": "0mI9t3qDLjuAdTycXF6JNg", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/57d0864e82a221828346ec00deaa08146481b3b0", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/00d8030f056258b4a98096ecb11668dc8680252c", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/0844f934c45a2f531c1a457cac4e1dc27fe6dae7", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "pt-BR" + ], + "media_type": "audio", + "name": "Saber Museu", + "publisher": "Ibram - Saber Museu", + "type": "show", + "uri": "spotify:show:0mI9t3qDLjuAdTycXF6JNg" + }, + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "A yogini and a rocker fell in love. She inspired him with a passion for all things alive. Wandering with open eyes and an open heart, living free and loving hard. He inspired her with his strength and courage. To be unabashedly true to who we are, to live loud and explore, to inspire the world to live and love with his song. Together they imagined, designed, and created the life they wanted to live. Now they bring these offerings to you. Join us on this journey of life, love, music, and yoga.", + "explicit": true, + "external_urls": { + "spotify": "https://open.spotify.com/show/6H7d5tCc3lr7aygfbA6D7x" + }, + "href": "https://api.spotify.com/v1/shows/6H7d5tCc3lr7aygfbA6D7x", + "id": "6H7d5tCc3lr7aygfbA6D7x", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ed5edd9cc4406c7094b9259768625867a2da4831", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/4e2c745f683f357bea1dd83e3dac91767bfa5455", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/c1990acc65405d4d27e8ce89e0091d41ca79dd85", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en" + ], + "media_type": "audio", + "name": "Rebel & Muse", + "publisher": "Rebel And Muse ", + "type": "show", + "uri": "spotify:show:6H7d5tCc3lr7aygfbA6D7x" + }, + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "The Rubin Museum of Art is dedicated to the collection, display, and preservation of the art and cultures of the Himalayas, India and neighboring regions, with a permanent collection focused particularly on Tibetan art.", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/7maP02nsxvmJt5oolDereq" + }, + "href": "https://api.spotify.com/v1/shows/7maP02nsxvmJt5oolDereq", + "id": "7maP02nsxvmJt5oolDereq", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/d6632e594965fa310b014f1b00e5dd336e927acb", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/95b4b284e4f87513eea5576cd95ca69c93fed8ad", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/95c719ea880fd7e278089d63a6b1cfe1dd53a303", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en" + ], + "media_type": "audio", + "name": "The Rubin Museum of Art", + "publisher": "The Rubin Museum of Art", + "type": "show", + "uri": "spotify:show:7maP02nsxvmJt5oolDereq" + }, + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "Join Catholic Musings in praying the fourteen Stations of the Cross.", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/6mTSnTgJR6jBM8hgPVijBg" + }, + "href": "https://api.spotify.com/v1/shows/6mTSnTgJR6jBM8hgPVijBg", + "id": "6mTSnTgJR6jBM8hgPVijBg", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/f5c9763cd912644c411a6c5751acee2ca6ed597a", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/cebbfb1467d93efc6634071ffb197e4ffd9c99d2", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/3bb23cfabb65c35e7ce09cfed0724b038950e543", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en-US" + ], + "media_type": "audio", + "name": "Stations of the Cross with Catholic Musings", + "publisher": "Catholic Musings", + "type": "show", + "uri": "spotify:show:6mTSnTgJR6jBM8hgPVijBg" + }, + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "A podcast on Norse Heathenry. Discussions surround the Old Gods and Goddesses of Northern Europe and the spirituality surrounding the indigenous peoples of pre-medieval Scandinavia. http://www.youtube.com/c/MidgardMusings https://www.paypal.me/metalheadalliance http://ko-fi.com/midgardmusings https://www.facebook.com/MidgardMusingsTN/ https://www.patreon.com/midgardmusings https://teespring.com/stores/midgard-musings-store https://www.redbubble.com/people/midgardmusings Support this podcast: https://anchor.fm/midgardmusings/support", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/1SjbH4P08OBO9h9gsQ6R4G" + }, + "href": "https://api.spotify.com/v1/shows/1SjbH4P08OBO9h9gsQ6R4G", + "id": "1SjbH4P08OBO9h9gsQ6R4G", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/95cf9eab7bf2911f1788f70bf686d27ce6ed2369", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/e9f29e0629ca49ca7481771f32ab44f4205ed94d", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ad17c92fb773d504c116faa85d3c65ea9acec7e2", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en-US" + ], + "media_type": "audio", + "name": "Midgard Musings ", + "publisher": "Jesse Stilwagen", + "type": "show", + "uri": "spotify:show:1SjbH4P08OBO9h9gsQ6R4G" + }, + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "Brindarle una experiencia auditiva a los visitantes de los Museos del Instituto Estatal de la Cultura de Guanajuato ", + "explicit": true, + "external_urls": { + "spotify": "https://open.spotify.com/show/7v9lBX1tHCKRoaVtRngosw" + }, + "href": "https://api.spotify.com/v1/shows/7v9lBX1tHCKRoaVtRngosw", + "id": "7v9lBX1tHCKRoaVtRngosw", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/528491d124962019c39967c13875ca8dbdfa0f4b", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/b749ab58e41dce9329e4bcc2b4963d4ce38b178f", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/0c09a0eef1e717c092ba888986c1f437a39b4e56", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "es" + ], + "media_type": "audio", + "name": "Exposiciones temporales Museos IEC", + "publisher": "Museos Guanajuato", + "type": "show", + "uri": "spotify:show:7v9lBX1tHCKRoaVtRngosw" + } + ], + "limit": 10, + "next": "https://api.spotify.com/v1/search?query=Muse&type=show&market=US&offset=15&limit=10", + "offset": 5, + "previous": "https://api.spotify.com/v1/search?query=Muse&type=show&market=US&offset=0&limit=10", + "total": 2101 + } +} diff --git a/target/test-classes/fixtures/responses/data/search/simplified/SearchTracksRequest.json b/target/test-classes/fixtures/responses/data/search/simplified/SearchTracksRequest.json new file mode 100644 index 0000000..0d3246f --- /dev/null +++ b/target/test-classes/fixtures/responses/data/search/simplified/SearchTracksRequest.json @@ -0,0 +1,2002 @@ +{ + "tracks": { + "href": "https://api.spotify.com/v1/search?query=Muse&type=track&market=US&offset=5&limit=10", + "items": [ + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0lw68yx3MhKflWFqCsGkIs" + }, + "href": "https://api.spotify.com/v1/albums/0lw68yx3MhKflWFqCsGkIs", + "id": "0lw68yx3MhKflWFqCsGkIs", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/9e5288926fadb82f873ccf2b45300c3a6f65fa14", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/f1cad0d6974d6236abd07a59106e8450d85cae24", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/81a3f82578dc938c53efdcb405f6a3d3ebbf009f", + "width": 64 + } + ], + "name": "Black Holes And Revelations", + "type": "album", + "uri": "spotify:album:0lw68yx3MhKflWFqCsGkIs" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 212439, + "explicit": false, + "external_ids": { + "isrc": "GBAHT0500593" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/3lPr8ghNDBLc2uZovNyLs9" + }, + "href": "https://api.spotify.com/v1/tracks/3lPr8ghNDBLc2uZovNyLs9", + "id": "3lPr8ghNDBLc2uZovNyLs9", + "name": "Supermassive Black Hole", + "popularity": 71, + "preview_url": "https://p.scdn.co/mp3-preview/7ab3e38ce1671da3a185d8685981983a6f39b7bd?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 3, + "type": "track", + "uri": "spotify:track:3lPr8ghNDBLc2uZovNyLs9" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2wart5Qjnvx1fd7LPdQxgJ" + }, + "href": "https://api.spotify.com/v1/albums/2wart5Qjnvx1fd7LPdQxgJ", + "id": "2wart5Qjnvx1fd7LPdQxgJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/849eecf3c9df835181c2970c435ac2d008346ea3", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/8b6392caa83625135f0f53d6e2b0631bbe4c4c0b", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/8978459cc3ad68b39bd6dbda418625b06ba5d80c", + "width": 64 + } + ], + "name": "Drones", + "type": "album", + "uri": "spotify:album:2wart5Qjnvx1fd7LPdQxgJ" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 316717, + "explicit": true, + "external_ids": { + "isrc": "GBAHT1500068" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/383QXk8nb2YrARMUwDdjQS" + }, + "href": "https://api.spotify.com/v1/tracks/383QXk8nb2YrARMUwDdjQS", + "id": "383QXk8nb2YrARMUwDdjQS", + "name": "Psycho", + "popularity": 70, + "preview_url": "https://p.scdn.co/mp3-preview/9825aad9fc20222cfd2db3eba32469181b90c8d8?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 3, + "type": "track", + "uri": "spotify:track:383QXk8nb2YrARMUwDdjQS" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0lw68yx3MhKflWFqCsGkIs" + }, + "href": "https://api.spotify.com/v1/albums/0lw68yx3MhKflWFqCsGkIs", + "id": "0lw68yx3MhKflWFqCsGkIs", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/9e5288926fadb82f873ccf2b45300c3a6f65fa14", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/f1cad0d6974d6236abd07a59106e8450d85cae24", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/81a3f82578dc938c53efdcb405f6a3d3ebbf009f", + "width": 64 + } + ], + "name": "Black Holes And Revelations", + "type": "album", + "uri": "spotify:album:0lw68yx3MhKflWFqCsGkIs" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 366213, + "explicit": false, + "external_ids": { + "isrc": "GBAHT0500600" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/7ouMYWpwJ422jRcDASZB7P" + }, + "href": "https://api.spotify.com/v1/tracks/7ouMYWpwJ422jRcDASZB7P", + "id": "7ouMYWpwJ422jRcDASZB7P", + "name": "Knights Of Cydonia", + "popularity": 69, + "preview_url": "https://p.scdn.co/mp3-preview/d7624ec5f93b6d92c1836a95c40ecce463584f6e?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 11, + "type": "track", + "uri": "spotify:track:7ouMYWpwJ422jRcDASZB7P" + }, + { + "album": { + "album_type": "single", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2mugumSqUWxhW2InJ9dPTv" + }, + "href": "https://api.spotify.com/v1/albums/2mugumSqUWxhW2InJ9dPTv", + "id": "2mugumSqUWxhW2InJ9dPTv", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/08d56eac0c7d48bb8bf7752b2202c3314db79394", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/e6e7234a572a83fa7a98ee51c225d161a6750e01", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/105e1c4fee340f987c8708b5eaf42b36cf742519", + "width": 64 + } + ], + "name": "Dig Down", + "type": "album", + "uri": "spotify:album:2mugumSqUWxhW2InJ9dPTv" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 228574, + "explicit": false, + "external_ids": { + "isrc": "GBAHT1700276" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/7JhTr0G0gr3ESY3B9uqPi4" + }, + "href": "https://api.spotify.com/v1/tracks/7JhTr0G0gr3ESY3B9uqPi4", + "id": "7JhTr0G0gr3ESY3B9uqPi4", + "name": "Dig Down", + "popularity": 67, + "preview_url": "https://p.scdn.co/mp3-preview/486883ff20e0149ba5f4e6fc2ea94614f442de40?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 1, + "type": "track", + "uri": "spotify:track:7JhTr0G0gr3ESY3B9uqPi4" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0HcHPBu9aaF1MxOiZmUQTl" + }, + "href": "https://api.spotify.com/v1/albums/0HcHPBu9aaF1MxOiZmUQTl", + "id": "0HcHPBu9aaF1MxOiZmUQTl", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ae61915fc3f4b3019200ba6ee58a2a85866461bf", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/523194c8f4f32d0d091a7686fea8fda0411b25a5", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/700cdaab602da14c4f007ad2f9cefcbd9292ac24", + "width": 64 + } + ], + "name": "Absolution", + "type": "album", + "uri": "spotify:album:0HcHPBu9aaF1MxOiZmUQTl" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 227440, + "explicit": false, + "external_ids": { + "isrc": "GBCVT0300083" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/7xyYsOvq5Ec3P4fr6mM9fD" + }, + "href": "https://api.spotify.com/v1/tracks/7xyYsOvq5Ec3P4fr6mM9fD", + "id": "7xyYsOvq5Ec3P4fr6mM9fD", + "name": "Hysteria", + "popularity": 67, + "preview_url": "https://p.scdn.co/mp3-preview/ff29ded2c1aa87ed04cb15ea9b1819dc4db95ad7?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 8, + "type": "track", + "uri": "spotify:track:7xyYsOvq5Ec3P4fr6mM9fD" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0HcHPBu9aaF1MxOiZmUQTl" + }, + "href": "https://api.spotify.com/v1/albums/0HcHPBu9aaF1MxOiZmUQTl", + "id": "0HcHPBu9aaF1MxOiZmUQTl", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ae61915fc3f4b3019200ba6ee58a2a85866461bf", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/523194c8f4f32d0d091a7686fea8fda0411b25a5", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/700cdaab602da14c4f007ad2f9cefcbd9292ac24", + "width": 64 + } + ], + "name": "Absolution", + "type": "album", + "uri": "spotify:album:0HcHPBu9aaF1MxOiZmUQTl" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 237039, + "explicit": false, + "external_ids": { + "isrc": "GBCVT0300078" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/2takcwOaAZWiXQijPHIx7B" + }, + "href": "https://api.spotify.com/v1/tracks/2takcwOaAZWiXQijPHIx7B", + "id": "2takcwOaAZWiXQijPHIx7B", + "name": "Time Is Running Out", + "popularity": 67, + "preview_url": "https://p.scdn.co/mp3-preview/b326e03624cb098d8387e17aa46669edac0d025a?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 3, + "type": "track", + "uri": "spotify:track:2takcwOaAZWiXQijPHIx7B" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0eFHYz8NmK75zSplL5qlfM" + }, + "href": "https://api.spotify.com/v1/albums/0eFHYz8NmK75zSplL5qlfM", + "id": "0eFHYz8NmK75zSplL5qlfM", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/6e1be3ceda70250c701caee5a16bef205e94bc98", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/28752dcf4b27ba14c1fc62f04ff469aa53c113d7", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/26098aaa50a3450f0bac8f1a7d7677accf3f3cb6", + "width": 64 + } + ], + "name": "The Resistance", + "type": "album", + "uri": "spotify:album:0eFHYz8NmK75zSplL5qlfM" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 235000, + "explicit": false, + "external_ids": { + "isrc": "GBAHT0900322" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/0It6VJoMAare1zdV2wxqZq" + }, + "href": "https://api.spotify.com/v1/tracks/0It6VJoMAare1zdV2wxqZq", + "id": "0It6VJoMAare1zdV2wxqZq", + "name": "Undisclosed Desires", + "popularity": 67, + "preview_url": "https://p.scdn.co/mp3-preview/b165dfbcf22b1c0e107c6b203b4753103b0059e3?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 3, + "type": "track", + "uri": "spotify:track:0It6VJoMAare1zdV2wxqZq" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6FxuPrpa8phaP3Xn73emhT" + }, + "href": "https://api.spotify.com/v1/artists/6FxuPrpa8phaP3Xn73emhT", + "id": "6FxuPrpa8phaP3Xn73emhT", + "name": "The Wood Brothers", + "type": "artist", + "uri": "spotify:artist:6FxuPrpa8phaP3Xn73emhT" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2xkAdEXW7nGQAJMptaOk2d" + }, + "href": "https://api.spotify.com/v1/albums/2xkAdEXW7nGQAJMptaOk2d", + "id": "2xkAdEXW7nGQAJMptaOk2d", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/afe446daa20f89d46cf63b5d5c43c2227104f216", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/2a19e9365f480f60243a7bb603b977adea4eb423", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/63099a2357dfa3d7057d20b4fcc910f71d8254da", + "width": 64 + } + ], + "name": "The Muse", + "type": "album", + "uri": "spotify:album:2xkAdEXW7nGQAJMptaOk2d" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6FxuPrpa8phaP3Xn73emhT" + }, + "href": "https://api.spotify.com/v1/artists/6FxuPrpa8phaP3Xn73emhT", + "id": "6FxuPrpa8phaP3Xn73emhT", + "name": "The Wood Brothers", + "type": "artist", + "uri": "spotify:artist:6FxuPrpa8phaP3Xn73emhT" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 218520, + "explicit": false, + "external_ids": { + "isrc": "QMZ6E1300118" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/5NNXPVydz9kE8xOY7ycj4r" + }, + "href": "https://api.spotify.com/v1/tracks/5NNXPVydz9kE8xOY7ycj4r", + "id": "5NNXPVydz9kE8xOY7ycj4r", + "name": "Keep Me Around", + "popularity": 53, + "preview_url": "https://p.scdn.co/mp3-preview/6df1759631dbe835bfb8ea3cc9adf0e5ea4b30dc?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 6, + "type": "track", + "uri": "spotify:track:5NNXPVydz9kE8xOY7ycj4r" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2HPaUgqeutzr3jx5a9WyDV" + }, + "href": "https://api.spotify.com/v1/artists/2HPaUgqeutzr3jx5a9WyDV", + "id": "2HPaUgqeutzr3jx5a9WyDV", + "name": "PARTYNEXTDOOR", + "type": "artist", + "uri": "spotify:artist:2HPaUgqeutzr3jx5a9WyDV" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/6s2isojT7rGZUgJyymjjKU" + }, + "href": "https://api.spotify.com/v1/albums/6s2isojT7rGZUgJyymjjKU", + "id": "6s2isojT7rGZUgJyymjjKU", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/93917ef812040cec02cac1b451886c108b2b8648", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/1de2653644245a48cf2af726395696f2e3c3eef1", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/d6dba63caac50a135743003214db7479a5f10bbe", + "width": 64 + } + ], + "name": "PARTYNEXTDOOR TWO", + "type": "album", + "uri": "spotify:album:6s2isojT7rGZUgJyymjjKU" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/2HPaUgqeutzr3jx5a9WyDV" + }, + "href": "https://api.spotify.com/v1/artists/2HPaUgqeutzr3jx5a9WyDV", + "id": "2HPaUgqeutzr3jx5a9WyDV", + "name": "PARTYNEXTDOOR", + "type": "artist", + "uri": "spotify:artist:2HPaUgqeutzr3jx5a9WyDV" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 203324, + "explicit": true, + "external_ids": { + "isrc": "USWB11401870" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/41ipOYFGT2MW4dvOPkoK1f" + }, + "href": "https://api.spotify.com/v1/tracks/41ipOYFGT2MW4dvOPkoK1f", + "id": "41ipOYFGT2MW4dvOPkoK1f", + "name": "Muse", + "popularity": 50, + "preview_url": "https://p.scdn.co/mp3-preview/d03f4da489977e44fe92e95f771b2ace9607fbcc?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 12, + "type": "track", + "uri": "spotify:track:41ipOYFGT2MW4dvOPkoK1f" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6FxuPrpa8phaP3Xn73emhT" + }, + "href": "https://api.spotify.com/v1/artists/6FxuPrpa8phaP3Xn73emhT", + "id": "6FxuPrpa8phaP3Xn73emhT", + "name": "The Wood Brothers", + "type": "artist", + "uri": "spotify:artist:6FxuPrpa8phaP3Xn73emhT" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2xkAdEXW7nGQAJMptaOk2d" + }, + "href": "https://api.spotify.com/v1/albums/2xkAdEXW7nGQAJMptaOk2d", + "id": "2xkAdEXW7nGQAJMptaOk2d", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/afe446daa20f89d46cf63b5d5c43c2227104f216", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/2a19e9365f480f60243a7bb603b977adea4eb423", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/63099a2357dfa3d7057d20b4fcc910f71d8254da", + "width": 64 + } + ], + "name": "The Muse", + "type": "album", + "uri": "spotify:album:2xkAdEXW7nGQAJMptaOk2d" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6FxuPrpa8phaP3Xn73emhT" + }, + "href": "https://api.spotify.com/v1/artists/6FxuPrpa8phaP3Xn73emhT", + "id": "6FxuPrpa8phaP3Xn73emhT", + "name": "The Wood Brothers", + "type": "artist", + "uri": "spotify:artist:6FxuPrpa8phaP3Xn73emhT" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TH", + "TR", + "TW", + "US", + "UY", + "VN" + ], + "disc_number": 1, + "duration_ms": 221186, + "explicit": false, + "external_ids": { + "isrc": "QMZ6E1300115" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/1hkC9kHG980jEfkTmQYB7t" + }, + "href": "https://api.spotify.com/v1/tracks/1hkC9kHG980jEfkTmQYB7t", + "id": "1hkC9kHG980jEfkTmQYB7t", + "name": "Sing About It", + "popularity": 54, + "preview_url": "https://p.scdn.co/mp3-preview/e6266c7042bcaddae79c7fe6f93b6c233217df11?cid=774b29d4f13844c495f206cafdad9c86", + "track_number": 3, + "type": "track", + "uri": "spotify:track:1hkC9kHG980jEfkTmQYB7t" + } + ], + "limit": 10, + "next": "https://api.spotify.com/v1/search?query=Muse&type=track&market=US&offset=15&limit=10", + "offset": 5, + "previous": "https://api.spotify.com/v1/search?query=Muse&type=track&market=US&offset=0&limit=10", + "total": 11113 + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/search/simplified/special/SearchAlbumsSpecialRequest.json b/target/test-classes/fixtures/responses/data/search/simplified/special/SearchAlbumsSpecialRequest.json new file mode 100644 index 0000000..e1d7b55 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/search/simplified/special/SearchAlbumsSpecialRequest.json @@ -0,0 +1,443 @@ +{ + "albums": { + "href": "https://api.spotify.com/v1/search?query=Muse&type=album&market=US&offset=5&limit=10", + "items": [ + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/0HcHPBu9aaF1MxOiZmUQTl" + }, + "href": "https://api.spotify.com/v1/albums/0HcHPBu9aaF1MxOiZmUQTl", + "id": "0HcHPBu9aaF1MxOiZmUQTl", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ab67616d0000b2738cb690f962092fd44bbe2bf4", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/ab67616d00001e028cb690f962092fd44bbe2bf4", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ab67616d000048518cb690f962092fd44bbe2bf4", + "width": 64 + } + ], + "name": "Absolution", + "release_date": "2004-03-23", + "release_date_precision": "day", + "total_tracks": 15, + "type": "album", + "uri": "spotify:album:0HcHPBu9aaF1MxOiZmUQTl" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2wart5Qjnvx1fd7LPdQxgJ" + }, + "href": "https://api.spotify.com/v1/albums/2wart5Qjnvx1fd7LPdQxgJ", + "id": "2wart5Qjnvx1fd7LPdQxgJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ab67616d0000b273808846f0223d97d5963c420d", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/ab67616d00001e02808846f0223d97d5963c420d", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ab67616d00004851808846f0223d97d5963c420d", + "width": 64 + } + ], + "name": "Drones", + "release_date": "2015-06-04", + "release_date_precision": "day", + "total_tracks": 12, + "type": "album", + "uri": "spotify:album:2wart5Qjnvx1fd7LPdQxgJ" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/4vGrte8FDu062Ntj0RsPiZ" + }, + "href": "https://api.spotify.com/v1/artists/4vGrte8FDu062Ntj0RsPiZ", + "id": "4vGrte8FDu062Ntj0RsPiZ", + "name": "Polyphia", + "type": "artist", + "uri": "spotify:artist:4vGrte8FDu062Ntj0RsPiZ" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/7EyDVKiEcQw9tE44UpcLWJ" + }, + "href": "https://api.spotify.com/v1/albums/7EyDVKiEcQw9tE44UpcLWJ", + "id": "7EyDVKiEcQw9tE44UpcLWJ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ab67616d0000b273679ea8567de7eb96c50daa86", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/ab67616d00001e02679ea8567de7eb96c50daa86", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ab67616d00004851679ea8567de7eb96c50daa86", + "width": 64 + } + ], + "name": "Muse", + "release_date": "2015-04-21", + "release_date_precision": "day", + "total_tracks": 11, + "type": "album", + "uri": "spotify:album:7EyDVKiEcQw9tE44UpcLWJ" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/1AP6uGYHdakRgwuWQsP5pK" + }, + "href": "https://api.spotify.com/v1/albums/1AP6uGYHdakRgwuWQsP5pK", + "id": "1AP6uGYHdakRgwuWQsP5pK", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ab67616d0000b273a9e6856251d6c4b13167924a", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/ab67616d00001e02a9e6856251d6c4b13167924a", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ab67616d00004851a9e6856251d6c4b13167924a", + "width": 64 + } + ], + "name": "Origin of Symmetry", + "release_date": "2001", + "release_date_precision": "year", + "total_tracks": 12, + "type": "album", + "uri": "spotify:album:1AP6uGYHdakRgwuWQsP5pK" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/6AyUVv7MnxxTuijp4WmrhO" + }, + "href": "https://api.spotify.com/v1/albums/6AyUVv7MnxxTuijp4WmrhO", + "id": "6AyUVv7MnxxTuijp4WmrhO", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ab67616d0000b27334dd1b3a44cccef2d3c8bfce", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/ab67616d00001e0234dd1b3a44cccef2d3c8bfce", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ab67616d0000485134dd1b3a44cccef2d3c8bfce", + "width": 64 + } + ], + "name": "Showbiz", + "release_date": "1999", + "release_date_precision": "year", + "total_tracks": 13, + "type": "album", + "uri": "spotify:album:6AyUVv7MnxxTuijp4WmrhO" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/57Ce6izcYKvFOFlhsUFzLJ" + }, + "href": "https://api.spotify.com/v1/artists/57Ce6izcYKvFOFlhsUFzLJ", + "id": "57Ce6izcYKvFOFlhsUFzLJ", + "name": "Ben Flocks", + "type": "artist", + "uri": "spotify:artist:57Ce6izcYKvFOFlhsUFzLJ" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/3oFFsDmGaUmFeAgljXFexD" + }, + "href": "https://api.spotify.com/v1/albums/3oFFsDmGaUmFeAgljXFexD", + "id": "3oFFsDmGaUmFeAgljXFexD", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ab67616d0000b27376b8f285df5be75a1de94a4a", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/ab67616d00001e0276b8f285df5be75a1de94a4a", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ab67616d0000485176b8f285df5be75a1de94a4a", + "width": 64 + } + ], + "name": "Mask of the Muse", + "release_date": "2019-08-16", + "release_date_precision": "day", + "total_tracks": 12, + "type": "album", + "uri": "spotify:album:3oFFsDmGaUmFeAgljXFexD" + }, + { + "album_type": "single", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/58uK0d4R5Rq4FDUNgNIFeI" + }, + "href": "https://api.spotify.com/v1/artists/58uK0d4R5Rq4FDUNgNIFeI", + "id": "58uK0d4R5Rq4FDUNgNIFeI", + "name": "Paperboy Fabe", + "type": "artist", + "uri": "spotify:artist:58uK0d4R5Rq4FDUNgNIFeI" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/5kW1rRJcQkY1MvgABvd824" + }, + "href": "https://api.spotify.com/v1/albums/5kW1rRJcQkY1MvgABvd824", + "id": "5kW1rRJcQkY1MvgABvd824", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ab67616d0000b273948d93d92e6b03910e8cf497", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/ab67616d00001e02948d93d92e6b03910e8cf497", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ab67616d00004851948d93d92e6b03910e8cf497", + "width": 64 + } + ], + "name": "Muse", + "release_date": "2019-02-07", + "release_date_precision": "day", + "total_tracks": 1, + "type": "album", + "uri": "spotify:album:5kW1rRJcQkY1MvgABvd824" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/1JdeDdujDbS6ZeSlkXqx3a" + }, + "href": "https://api.spotify.com/v1/artists/1JdeDdujDbS6ZeSlkXqx3a", + "id": "1JdeDdujDbS6ZeSlkXqx3a", + "name": "Loreena McKennitt", + "type": "artist", + "uri": "spotify:artist:1JdeDdujDbS6ZeSlkXqx3a" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/1rdm9B7mGLOZce7k804x6o" + }, + "href": "https://api.spotify.com/v1/albums/1rdm9B7mGLOZce7k804x6o", + "id": "1rdm9B7mGLOZce7k804x6o", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/bd06e254fdf6f802244fa004e2d28228474946d9", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/16325eaae9dd6c668d2910b2cf22f9e056680702", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/6113662fc817e4bad2bff6018dcb16a398064bd2", + "width": 64 + } + ], + "name": "An Ancient Muse", + "release_date": "2014-01-01", + "release_date_precision": "day", + "total_tracks": 10, + "type": "album", + "uri": "spotify:album:1rdm9B7mGLOZce7k804x6o" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/6UiJwR29GXZroy2iiUDQun" + }, + "href": "https://api.spotify.com/v1/artists/6UiJwR29GXZroy2iiUDQun", + "id": "6UiJwR29GXZroy2iiUDQun", + "name": "Samsonyte", + "type": "artist", + "uri": "spotify:artist:6UiJwR29GXZroy2iiUDQun" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/1n98cCidcYFGj668hdJXtE" + }, + "href": "https://api.spotify.com/v1/albums/1n98cCidcYFGj668hdJXtE", + "id": "1n98cCidcYFGj668hdJXtE", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ab67616d0000b273e0a148585514f9b5d3d54ddf", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/ab67616d00001e02e0a148585514f9b5d3d54ddf", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ab67616d00004851e0a148585514f9b5d3d54ddf", + "width": 64 + } + ], + "name": "The Muse", + "release_date": "2017-04-27", + "release_date_precision": "day", + "total_tracks": 12, + "type": "album", + "uri": "spotify:album:1n98cCidcYFGj668hdJXtE" + }, + { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI" + }, + "href": "https://api.spotify.com/v1/artists/12Chz98pHFMPJEknJQMWvI", + "id": "12Chz98pHFMPJEknJQMWvI", + "name": "Muse", + "type": "artist", + "uri": "spotify:artist:12Chz98pHFMPJEknJQMWvI" + } + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/2m7L60M210ABzrY9GLyBPZ" + }, + "href": "https://api.spotify.com/v1/albums/2m7L60M210ABzrY9GLyBPZ", + "id": "2m7L60M210ABzrY9GLyBPZ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ab67616d0000b27306abd7e9854cba988401707c", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/ab67616d00001e0206abd7e9854cba988401707c", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/ab67616d0000485106abd7e9854cba988401707c", + "width": 64 + } + ], + "name": "Live at Rome Olympic Stadium", + "release_date": "2013-11-25", + "release_date_precision": "day", + "total_tracks": 13, + "type": "album", + "uri": "spotify:album:2m7L60M210ABzrY9GLyBPZ" + } + ], + "limit": 10, + "next": "https://api.spotify.com/v1/search?query=Muse&type=album&market=US&offset=15&limit=10", + "offset": 5, + "previous": "https://api.spotify.com/v1/search?query=Muse&type=album&market=US&offset=0&limit=10", + "total": 1550 + } +} + diff --git a/target/test-classes/fixtures/responses/data/shows/GetSeveralShowsRequest.json b/target/test-classes/fixtures/responses/data/shows/GetSeveralShowsRequest.json new file mode 100644 index 0000000..2429dc3 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/shows/GetSeveralShowsRequest.json @@ -0,0 +1,234 @@ +{ + "shows": [ + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "Candid conversations with entrepreneurs, artists, athletes, visionaries of all kinds—about their successes, and their failures, and what they learned from both. Hosted by Alex Blumberg, from Gimlet Media.", + "explicit": true, + "external_urls": { + "spotify": "https://open.spotify.com/show/5CfCWKI5pZ28U0uOzXkDHe" + }, + "href": "https://api.spotify.com/v1/shows/5CfCWKI5pZ28U0uOzXkDHe", + "id": "5CfCWKI5pZ28U0uOzXkDHe", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/12903409b9e5dd26f2a41e401cd7fcabd5164ed4", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/4f19eb7986a7c2246d713dcc46684e2187ccea4f", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/c0b072976a28792a4b451dfc7011a2176ec8cd34", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en" + ], + "media_type": "audio", + "name": "Without Fail", + "publisher": "Gimlet", + "type": "show", + "uri": "spotify:show:5CfCWKI5pZ28U0uOzXkDHe" + }, + { + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "Giant Bomb discusses the latest video game news and new releases, taste-test questionable beverages, and get wildly off-topic in this weekly podcast.", + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/5as3aKmN2k11yfDDDSrvaZ" + }, + "href": "https://api.spotify.com/v1/shows/5as3aKmN2k11yfDDDSrvaZ", + "id": "5as3aKmN2k11yfDDDSrvaZ", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/9bd9b3be1111810a91cd768115a57ee5a08c7145", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/1f5c122086aa4602742ba2301302f2f9bc1f0345", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/b97f288023e547f40862976c89a5c342eacaaac1", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "en-US" + ], + "media_type": "audio", + "name": "Giant Bombcast", + "publisher": "Giant Bomb", + "type": "show", + "uri": "spotify:show:5as3aKmN2k11yfDDDSrvaZ" + } + ] +} diff --git a/target/test-classes/fixtures/responses/data/shows/GetShowRequest.json b/target/test-classes/fixtures/responses/data/shows/GetShowRequest.json new file mode 100644 index 0000000..2edbdef --- /dev/null +++ b/target/test-classes/fixtures/responses/data/shows/GetShowRequest.json @@ -0,0 +1,164 @@ +{ + "available_markets": [ + "AD", + "AE", + "AR", + "AT", + "AU", + "BE", + "BG", + "BH", + "BO", + "BR", + "CA", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "DZ", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IL", + "IN", + "IS", + "IT", + "JO", + "JP", + "KW", + "LB", + "LI", + "LT", + "LU", + "LV", + "MA", + "MC", + "MT", + "MX", + "MY", + "NI", + "NL", + "NO", + "NZ", + "OM", + "PA", + "PE", + "PH", + "PL", + "PS", + "PT", + "PY", + "QA", + "RO", + "SE", + "SG", + "SK", + "SV", + "TH", + "TN", + "TR", + "TW", + "US", + "UY", + "VN", + "ZA" + ], + "copyrights": [], + "description": "Wie navigiert die Welt durch die Coronakrise? Juan Moreno spricht mit den SPIEGEL-Korrespondentinnen und Korrespondenten ĂŒber die globale Herausforderung. Wie wirkt sie sich auf Politik und Gesellschaft aus? Wie gehen die Menschen weltweit damit um?", + "episodes": { + "href": "https://api.spotify.com/v1/shows/7iZEp9f2Gg8JvKNqK3t905/episodes?offset=0&limit=50", + "items": [ + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/fb7c635d9a0b86406b34a4c58282b5c0073cd50a", + "description": "Hat China die Coronakrise wirklich schon ĂŒberwunden? Wie fĂŒhlt sich das Leben in Peking jetzt an? Und verschiebt sich durch Corona die Weltordnung? Juan Moreno im GesprĂ€ch mit SPIEGEL-Korrespondent Bernhard Zand.", + "duration_ms": 1777964, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/4fCuyVT71S1OIOLVnSQDaq" + }, + "href": "https://api.spotify.com/v1/episodes/4fCuyVT71S1OIOLVnSQDaq", + "id": "4fCuyVT71S1OIOLVnSQDaq", + "images": [ + { + "height": 500, + "url": "https://i.scdn.co/image/8ddc7f3df7b9f8faed405924801d3f08fbb53382", + "width": 500 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/2875e4ec8f3dacda37f7a1af5ba2e8750e7f5b41", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/bbb683f74a5f28164432e2278b31c9d214ab3b32", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "de", + "languages": [ + "de" + ], + "name": "Coronakrise in China: Wie Peking die USA vorfĂŒhrt", + "release_date": "2020-03-30", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:4fCuyVT71S1OIOLVnSQDaq" + } + ], + "limit": 50, + "next": null, + "offset": 0, + "previous": null, + "total": 1 + }, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/show/7iZEp9f2Gg8JvKNqK3t905" + }, + "href": "https://api.spotify.com/v1/shows/7iZEp9f2Gg8JvKNqK3t905", + "id": "7iZEp9f2Gg8JvKNqK3t905", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/012f4d88c26885482415ec9b9d280753fc8c29c6", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/c3bc1fadca78b9f7725ab5d8af7b589f4389f51d", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/885360157d9c3170099a26ac0b8bbcfb5bdf2e99", + "width": 64 + } + ], + "is_externally_hosted": false, + "languages": [ + "de" + ], + "media_type": "audio", + "name": "Acht Milliarden – Der Auslands-Podcast", + "publisher": "DER SPIEGEL", + "type": "show", + "uri": "spotify:show:7iZEp9f2Gg8JvKNqK3t905" +} diff --git a/target/test-classes/fixtures/responses/data/shows/GetShowsEpisodesRequest.json b/target/test-classes/fixtures/responses/data/shows/GetShowsEpisodesRequest.json new file mode 100644 index 0000000..f10147f --- /dev/null +++ b/target/test-classes/fixtures/responses/data/shows/GetShowsEpisodesRequest.json @@ -0,0 +1,85 @@ +{ + "href": "https://api.spotify.com/v1/shows/38bS44xjbVVZ3No3ByF1dJ/episodes?offset=1&limit=2", + "items": [ + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/83bc7f2d40e850582a4ca118b33c256358de06ff", + "description": "Följ med Tobias Svanelid till Sveriges Ă€ldsta tegelkyrka, till Edsleskog mitt i den dalslĂ€ndska granskogen, dĂ€r ett religiöst skrytbygge skulle resas över ett skĂ€ndligt brott. I Edsleskog i Dalsland grĂ€ver arkeologerna nu ut vad som en gĂ„ng verkar ha varit en av Sveriges största medeltidskyrkor, och kanske ocksĂ„ den Ă€ldsta som byggts i tegel, 1200-talets high-tech-material. Tobias Svanelid reser dit för att höra historien om den mĂ€rkliga och bortglömda kyrkan som grundlades pĂ„ platsen för ett prĂ€stmord och dessutom kan ha varit Skarabiskopens försök att lĂ€gga beslag pĂ„ det vilda Dalsland. Dessutom om sjudagarsveckan idag ett vĂ€lkĂ€nt koncept runt hela vĂ€rlden, men hur gammal Ă€r egentligen veckans historia? Dick Harrison vet svaret.", + "duration_ms": 2685023, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/0Q86acNRm6V9GYx55SXKwf" + }, + "href": "https://api.spotify.com/v1/episodes/0Q86acNRm6V9GYx55SXKwf", + "id": "0Q86acNRm6V9GYx55SXKwf", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/b2398424d6158a21fe8677e2de5f6f3d1dc4a04f", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/a52780a1d7e1bc42619413c3dea7042396c87f49", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/88e21be860cf11f0b95ee8dfb47ddb08a13319a7", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "sv", + "languages": [ + "sv" + ], + "name": "OkĂ€nda katedralen i Dalsland", + "release_date": "2019-09-03", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:0Q86acNRm6V9GYx55SXKwf" + }, + { + "audio_preview_url": "https://p.scdn.co/mp3-preview/a712dea885b8d4090a61f0a903094181bd7d2005", + "description": "Electrolux firar hundra Ă„r av att ha dammsugit folkhemmet rent. Följ med Tobias Svanelid genom företagets historia och hör om dess grundare Axel Wenner-Gren - folkhemmets Elon Musk. 1919 drog Axel Wenner-Gren igĂ„ng företaget som skulle komma att stĂ€da rent i folkhemmet Sverige och samtidigt göra sin grundare ofantligt rik. Författaren Ronald FagerfjĂ€ll har fĂ€rdigstĂ€llt Electrolux jubileumsbok och guidar runt bland hundraĂ„riga dammsugare och kylskĂ„p. Men Wenner-grens sista projekt skulle bli ett fiasko, i Wennergrenland i British Columbia krossades de flesta av entreprenörens drömmar berĂ€ttar den kanadensiske historikern Frank Leonard. Dessutom reder Dick Harrison ut huruvida Julius Caesar fĂ„tt gĂ„ pĂ„ plankan.", + "duration_ms": 2685023, + "explicit": false, + "external_urls": { + "spotify": "https://open.spotify.com/episode/1spUiev4ggXPq95a7KKHjW" + }, + "href": "https://api.spotify.com/v1/episodes/1spUiev4ggXPq95a7KKHjW", + "id": "1spUiev4ggXPq95a7KKHjW", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/0bcb5e368982156f9da093d1e471b188af184559", + "width": 640 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/2023d6f3dc774a89e26b607e25c3b08ecaede0e9", + "width": 300 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/a2fa6895a86e61c149083adce7aa5f0404a19d8c", + "width": 64 + } + ], + "is_externally_hosted": false, + "is_playable": true, + "language": "sv", + "name": "Electrolux och folkhemmets Elon Musk", + "release_date": "2019-08-27", + "release_date_precision": "day", + "type": "episode", + "uri": "spotify:episode:1spUiev4ggXPq95a7KKHjW" + } + ], + "limit": 2, + "next": "https://api.spotify.com/v1/shows/38bS44xjbVVZ3No3ByF1dJ/episodes?offset=3&limit=2", + "offset": 1, + "previous": "https://api.spotify.com/v1/shows/38bS44xjbVVZ3No3ByF1dJ/episodes?offset=0&limit=2", + "total": 499 +} diff --git a/target/test-classes/fixtures/responses/data/tracks/GetAudioAnalysisForTrackRequest.json b/target/test-classes/fixtures/responses/data/tracks/GetAudioAnalysisForTrackRequest.json new file mode 100644 index 0000000..14a3209 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/tracks/GetAudioAnalysisForTrackRequest.json @@ -0,0 +1,115 @@ +{ + "bars": [ + { + "start": 251.98282, + "duration": 0.29765, + "confidence": 0.652 + } + ], + "beats": [ + { + "start": 251.98282, + "duration": 0.29765, + "confidence": 0.652 + } + ], + "meta": { + "analyzer_version": "4.0.0", + "platform": "Linux", + "detailed_status": "OK", + "status_code": 0, + "timestamp": 1456010389, + "analysis_time": 9.1394, + "input_process": "libvorbisfile L+R 44100->22050" + }, + "sections": [ + { + "start": 237.02356, + "duration": 18.32542, + "confidence": 1, + "loudness": -20.074, + "tempo": 98.253, + "tempo_confidence": 0.767, + "key": 5, + "key_confidence": 0.327, + "mode": 1, + "mode_confidence": 0.566, + "time_signature": 4, + "time_signature_confidence": 1 + } + ], + "segments": [ + { + "start": 252.15601, + "duration": 3.19297, + "confidence": 0.522, + "loudness_start": -23.356, + "loudness_max_time": 0.06971, + "loudness_max": -18.121, + "loudness_end": -60, + "pitches": [ + 0.709, + 0.092, + 0.196, + 0.084, + 0.352, + 0.134, + 0.161, + 1, + 0.17, + 0.161, + 0.211, + 0.15 + ], + "timbre": [ + 23.312, + -7.374, + -45.719, + 294.874, + 51.869, + -79.384, + -89.048, + 143.322, + -4.676, + -51.303, + -33.274, + -19.037 + ] + } + ], + "tatums": [ + { + "start": 251.98282, + "duration": 0.29765, + "confidence": 0.652 + } + ], + "track": { + "num_samples": 4585515, + "duration": 255.34898, + "sample_md5": "", + "offset_seconds": 0, + "window_seconds": 0, + "analysis_sample_rate": 22050, + "analysis_channels": 1, + "end_of_fade_in": 0, + "start_of_fade_out": 251.73333, + "loudness": -11.84, + "tempo": 98.002, + "tempo_confidence": 0.423, + "time_signature": 4, + "time_signature_confidence": 1, + "key": 5, + "key_confidence": 0.36, + "mode": 0, + "mode_confidence": 0.414, + "codestring": "eJxVnAmS5DgOBL-ST-B9_P9j4x7M6qoxW9tpsZQSCeI...", + "code_version": 3.15, + "echoprintstring": "eJzlvQmSHDmStHslxw4cB-v9j_A-tahhVKV0IH9...", + "echoprint_version": 4.12, + "synchstring": "eJx1mIlx7ToORFNRCCK455_YoE9Dtt-vmrKsK3EBsTY...", + "synch_version": 1, + "rhythmstring": "eJyNXAmOLT2r28pZQuZh_xv7g21Iqu_3pCd160xV...", + "rhythm_version": 1 + } +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/tracks/GetAudioFeaturesForSeveralTracksRequest.json b/target/test-classes/fixtures/responses/data/tracks/GetAudioFeaturesForSeveralTracksRequest.json new file mode 100644 index 0000000..49de84b --- /dev/null +++ b/target/test-classes/fixtures/responses/data/tracks/GetAudioFeaturesForSeveralTracksRequest.json @@ -0,0 +1,64 @@ +{ + "audio_features": [ + { + "danceability": 0.808, + "energy": 0.626, + "key": 7, + "loudness": -12.733, + "mode": 1, + "speechiness": 0.168, + "acousticness": 0.00187, + "instrumentalness": 0.159, + "liveness": 0.376, + "valence": 0.369, + "tempo": 123.99, + "type": "audio_features", + "id": "4JpKVNYnVcJ8tuMKjAj50A", + "uri": "spotify:track:4JpKVNYnVcJ8tuMKjAj50A", + "track_href": "https://api.spotify.com/v1/tracks/4JpKVNYnVcJ8tuMKjAj50A", + "analysis_url": "http://echonest-analysis.s3.amazonaws.com/TR/WhpYUARk1kNJ_qP0AdKGcDDFKOQTTgsOoINrqyPQjkUnbteuuBiyj_u94iFCSGzdxGiwqQ6d77f4QLL_8=/3/full.json?AWSAccessKeyId=AKIAJRDFEY23UEVW42BQ&Expires=1458063189&Signature=JRE8SDZStpNOdUsPN/PoS49FMtQ%3D", + "duration_ms": 535223, + "time_signature": 4 + }, + { + "danceability": 0.457, + "energy": 0.815, + "key": 1, + "loudness": -7.199, + "mode": 1, + "speechiness": 0.034, + "acousticness": 0.102, + "instrumentalness": 0.0319, + "liveness": 0.103, + "valence": 0.382, + "tempo": 96.083, + "type": "audio_features", + "id": "2NRANZE9UCmPAS5XVbXL40", + "uri": "spotify:track:2NRANZE9UCmPAS5XVbXL40", + "track_href": "https://api.spotify.com/v1/tracks/2NRANZE9UCmPAS5XVbXL40", + "analysis_url": "http://echonest-analysis.s3.amazonaws.com/TR/WhuQhwPDhmEg5TO4JjbJu0my-awIhk3eaXkRd1ofoJ7tXogPnMtbxkTyLOeHXu5Jke0FCIt52saKJyfPM=/3/full.json?AWSAccessKeyId=AKIAJRDFEY23UEVW42BQ&Expires=1458063189&Signature=qfclum7FwTaR/7aQbnBNO0daCsM%3D", + "duration_ms": 187800, + "time_signature": 4 + }, + { + "danceability": 0.281, + "energy": 0.402, + "key": 4, + "loudness": -17.921, + "mode": 1, + "speechiness": 0.0291, + "acousticness": 0.0734, + "instrumentalness": 0.83, + "liveness": 0.0593, + "valence": 0.0748, + "tempo": 115.7, + "type": "audio_features", + "id": "24JygzOLM0EmRQeGtFcIcG", + "uri": "spotify:track:24JygzOLM0EmRQeGtFcIcG", + "track_href": "https://api.spotify.com/v1/tracks/24JygzOLM0EmRQeGtFcIcG", + "analysis_url": "http://echonest-analysis.s3.amazonaws.com/TR/ehbkMg05Ck-FN7p3lV7vd8TUdBCvM6z5mgDiZRv6iSlw8P_b8GYBZ4PRAlOgTl3e5rS34_l3dZGDeYzH4=/3/full.json?AWSAccessKeyId=AKIAJRDFEY23UEVW42BQ&Expires=1458063189&Signature=bnTm0Hcb%2Bxo8ZCmuxm1mY0JY4Hs%3D", + "duration_ms": 497493, + "time_signature": 3 + } + ] +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/tracks/GetAudioFeaturesForTrackRequest.json b/target/test-classes/fixtures/responses/data/tracks/GetAudioFeaturesForTrackRequest.json new file mode 100644 index 0000000..6c1c851 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/tracks/GetAudioFeaturesForTrackRequest.json @@ -0,0 +1,20 @@ +{ + "danceability": 0.735, + "energy": 0.578, + "key": 5, + "loudness": -11.840, + "mode": 0, + "speechiness": 0.0461, + "acousticness": 0.514, + "instrumentalness": 0.0902, + "liveness": 0.159, + "valence": 0.624, + "tempo": 98.002, + "type": "audio_features", + "id": "06AKEBrKUckW0KREUWRnvT", + "uri": "spotify:track:06AKEBrKUckW0KREUWRnvT", + "track_href": "https://api.spotify.com/v1/tracks/06AKEBrKUckW0KREUWRnvT", + "analysis_url": "https://api.spotify.com/v1/audio-analysis/06AKEBrKUckW0KREUWRnvT", + "duration_ms": 255349, + "time_signature": 4 +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/tracks/GetSeveralTracksRequest.json b/target/test-classes/fixtures/responses/data/tracks/GetSeveralTracksRequest.json new file mode 100644 index 0000000..74662de --- /dev/null +++ b/target/test-classes/fixtures/responses/data/tracks/GetSeveralTracksRequest.json @@ -0,0 +1,382 @@ +{ + "tracks": [ + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0C0XlULifJtAgn6ZNCW2eu" + }, + "href": "https://api.spotify.com/v1/artists/0C0XlULifJtAgn6ZNCW2eu", + "id": "0C0XlULifJtAgn6ZNCW2eu", + "name": "The Killers", + "type": "artist", + "uri": "spotify:artist:0C0XlULifJtAgn6ZNCW2eu" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/4OHNH3sDzIxnmUADXzv2kT" + }, + "href": "https://api.spotify.com/v1/albums/4OHNH3sDzIxnmUADXzv2kT", + "id": "4OHNH3sDzIxnmUADXzv2kT", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ac68a9e4a867ec3ce8249cd90a2d7c73755fb487", + "width": 629 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/d0186ad64df7d6fc5f65c20c7d16f4279ffeb815", + "width": 295 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/7c3ec33d478f5f517eeb5339c2f75f150e4d601e", + "width": 63 + } + ], + "name": "Hot Fuss (Deluxe Version)", + "type": "album", + "uri": "spotify:album:4OHNH3sDzIxnmUADXzv2kT" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0C0XlULifJtAgn6ZNCW2eu" + }, + "href": "https://api.spotify.com/v1/artists/0C0XlULifJtAgn6ZNCW2eu", + "id": "0C0XlULifJtAgn6ZNCW2eu", + "name": "The Killers", + "type": "artist", + "uri": "spotify:artist:0C0XlULifJtAgn6ZNCW2eu" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "disc_number": 1, + "duration_ms": 222200, + "explicit": false, + "external_ids": { + "isrc": "GBFFP0300052" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/3n3Ppam7vgaVa1iaRUc9Lp" + }, + "href": "https://api.spotify.com/v1/tracks/3n3Ppam7vgaVa1iaRUc9Lp", + "id": "3n3Ppam7vgaVa1iaRUc9Lp", + "name": "Mr. Brightside", + "popularity": 73, + "preview_url": "https://p.scdn.co/mp3-preview/4839b070015ab7d6de9fec1756e1f3096d908fba", + "track_number": 2, + "type": "track", + "uri": "spotify:track:3n3Ppam7vgaVa1iaRUc9Lp" + }, + { + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0C0XlULifJtAgn6ZNCW2eu" + }, + "href": "https://api.spotify.com/v1/artists/0C0XlULifJtAgn6ZNCW2eu", + "id": "0C0XlULifJtAgn6ZNCW2eu", + "name": "The Killers", + "type": "artist", + "uri": "spotify:artist:0C0XlULifJtAgn6ZNCW2eu" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/4OHNH3sDzIxnmUADXzv2kT" + }, + "href": "https://api.spotify.com/v1/albums/4OHNH3sDzIxnmUADXzv2kT", + "id": "4OHNH3sDzIxnmUADXzv2kT", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ac68a9e4a867ec3ce8249cd90a2d7c73755fb487", + "width": 629 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/d0186ad64df7d6fc5f65c20c7d16f4279ffeb815", + "width": 295 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/7c3ec33d478f5f517eeb5339c2f75f150e4d601e", + "width": 63 + } + ], + "name": "Hot Fuss (Deluxe Version)", + "type": "album", + "uri": "spotify:album:4OHNH3sDzIxnmUADXzv2kT" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0C0XlULifJtAgn6ZNCW2eu" + }, + "href": "https://api.spotify.com/v1/artists/0C0XlULifJtAgn6ZNCW2eu", + "id": "0C0XlULifJtAgn6ZNCW2eu", + "name": "The Killers", + "type": "artist", + "uri": "spotify:artist:0C0XlULifJtAgn6ZNCW2eu" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "disc_number": 1, + "duration_ms": 197280, + "explicit": false, + "external_ids": { + "isrc": "GBFFP0300054" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/3twNvmDtFQtAd5gMKedhLD" + }, + "href": "https://api.spotify.com/v1/tracks/3twNvmDtFQtAd5gMKedhLD", + "id": "3twNvmDtFQtAd5gMKedhLD", + "name": "Somebody Told Me", + "popularity": 65, + "preview_url": "https://p.scdn.co/mp3-preview/34470fdacaec1a5e9265d3d7c00c84804a9b564a", + "track_number": 4, + "type": "track", + "uri": "spotify:track:3twNvmDtFQtAd5gMKedhLD" + } + ] +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/tracks/GetTrackRequest.json b/target/test-classes/fixtures/responses/data/tracks/GetTrackRequest.json new file mode 100644 index 0000000..19f7b6e --- /dev/null +++ b/target/test-classes/fixtures/responses/data/tracks/GetTrackRequest.json @@ -0,0 +1,189 @@ +{ + "album": { + "album_type": "album", + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0C0XlULifJtAgn6ZNCW2eu" + }, + "href": "https://api.spotify.com/v1/artists/0C0XlULifJtAgn6ZNCW2eu", + "id": "0C0XlULifJtAgn6ZNCW2eu", + "name": "The Killers", + "type": "artist", + "uri": "spotify:artist:0C0XlULifJtAgn6ZNCW2eu" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "external_urls": { + "spotify": "https://open.spotify.com/album/4OHNH3sDzIxnmUADXzv2kT" + }, + "href": "https://api.spotify.com/v1/albums/4OHNH3sDzIxnmUADXzv2kT", + "id": "4OHNH3sDzIxnmUADXzv2kT", + "images": [ + { + "height": 640, + "url": "https://i.scdn.co/image/ac68a9e4a867ec3ce8249cd90a2d7c73755fb487", + "width": 629 + }, + { + "height": 300, + "url": "https://i.scdn.co/image/d0186ad64df7d6fc5f65c20c7d16f4279ffeb815", + "width": 295 + }, + { + "height": 64, + "url": "https://i.scdn.co/image/7c3ec33d478f5f517eeb5339c2f75f150e4d601e", + "width": 63 + } + ], + "name": "Hot Fuss (Deluxe Version)", + "type": "album", + "uri": "spotify:album:4OHNH3sDzIxnmUADXzv2kT" + }, + "artists": [ + { + "external_urls": { + "spotify": "https://open.spotify.com/artist/0C0XlULifJtAgn6ZNCW2eu" + }, + "href": "https://api.spotify.com/v1/artists/0C0XlULifJtAgn6ZNCW2eu", + "id": "0C0XlULifJtAgn6ZNCW2eu", + "name": "The Killers", + "type": "artist", + "uri": "spotify:artist:0C0XlULifJtAgn6ZNCW2eu" + } + ], + "available_markets": [ + "AD", + "AR", + "AT", + "AU", + "BE", + "BG", + "BO", + "BR", + "CH", + "CL", + "CO", + "CR", + "CY", + "CZ", + "DE", + "DK", + "DO", + "EC", + "EE", + "ES", + "FI", + "FR", + "GB", + "GR", + "GT", + "HK", + "HN", + "HU", + "ID", + "IE", + "IS", + "IT", + "JP", + "LI", + "LT", + "LU", + "LV", + "MC", + "MT", + "MY", + "NI", + "NL", + "NO", + "NZ", + "PA", + "PE", + "PH", + "PL", + "PT", + "PY", + "SE", + "SG", + "SK", + "SV", + "TR", + "TW", + "UY" + ], + "disc_number": 1, + "duration_ms": 222200, + "explicit": false, + "external_ids": { + "isrc": "GBFFP0300052" + }, + "external_urls": { + "spotify": "https://open.spotify.com/track/3n3Ppam7vgaVa1iaRUc9Lp" + }, + "href": "https://api.spotify.com/v1/tracks/3n3Ppam7vgaVa1iaRUc9Lp", + "id": "3n3Ppam7vgaVa1iaRUc9Lp", + "name": "Mr. Brightside", + "popularity": 73, + "preview_url": "https://p.scdn.co/mp3-preview/4839b070015ab7d6de9fec1756e1f3096d908fba", + "track_number": 2, + "type": "track", + "uri": "spotify:track:3n3Ppam7vgaVa1iaRUc9Lp" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/users_profile/GetCurrentUsersProfileRequest.json b/target/test-classes/fixtures/responses/data/users_profile/GetCurrentUsersProfileRequest.json new file mode 100644 index 0000000..39fb4f4 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/users_profile/GetCurrentUsersProfileRequest.json @@ -0,0 +1,25 @@ +{ + "birthdate": "1937-06-01", + "country": "SE", + "display_name": "JM Wizzler", + "email": "email@example.com", + "external_urls": { + "spotify": "https://open.spotify.com/user/wizzler" + }, + "followers": { + "href": null, + "total": 3829 + }, + "href": "https://api.spotify.com/v1/users/wizzler", + "id": "wizzler", + "images": [ + { + "height": null, + "url": "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-frc3/t1.0-1/1970403_10152215092574354_1798272330_n.jpg", + "width": null + } + ], + "product": "premium", + "type": "user", + "uri": "spotify:user:wizzler" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/data/users_profile/GetUsersProfileRequest.json b/target/test-classes/fixtures/responses/data/users_profile/GetUsersProfileRequest.json new file mode 100644 index 0000000..ea9de30 --- /dev/null +++ b/target/test-classes/fixtures/responses/data/users_profile/GetUsersProfileRequest.json @@ -0,0 +1,21 @@ +{ + "display_name": "Lilla Namo", + "external_urls": { + "spotify": "https://open.spotify.com/user/tuggareutangranser" + }, + "followers": { + "href": null, + "total": 4561 + }, + "href": "https://api.spotify.com/v1/users/tuggareutangranser", + "id": "tuggareutangranser", + "images": [ + { + "height": null, + "url": "http://profile-images.scdn.co/artists/default/d4f208d4d49c6f3e1363765597d10c4277f5b74f", + "width": null + } + ], + "type": "user", + "uri": "spotify:user:tuggareutangranser" +} \ No newline at end of file diff --git a/target/test-classes/fixtures/responses/error.json b/target/test-classes/fixtures/responses/error.json new file mode 100644 index 0000000..09eceb2 --- /dev/null +++ b/target/test-classes/fixtures/responses/error.json @@ -0,0 +1,6 @@ +{ + "error": { + "status": 400, + "message": "Something went wrong" + } +} \ No newline at end of file