Skip to content

This is a simple application that authenticates a user through the Spotify API and then retrieves there top artists. Subsequently, the user can in turn click on the Artist in a listview and view information about the artist. (For example, popularity and the amount of followers an Artist has). Feel free to borrow this code to learn how to make ca…

Notifications You must be signed in to change notification settings

PaulCardoos/Artists-Data-Spotify-API-Android

Repository files navigation

Technologies & skills

  • Java
  • Android Studio
  • Gradle
  • Spotify API
  • Volley

Introduction

The goal of this project was to simply connect to an API, retrieve data from it, and display it in a listview. I used volley to make requests to the Spotify Web API. The steps I follow to connect can be found here :

https://developer.spotify.com/documentation/android/

What it looks like

You must have a spotify account to run this application. The application will authenticate the user through the spotify API.

After a successful login, you should be directed to a page with the Users spotify name on top and a listview of thier top artists.

How to Run

Make sure you have Android Studio installed and some type of emulator to test to program.

git clone https://github.com/PaulCardoos/Artists-Data-Spotify-API-Android.git

When you open the project in Android Studio it should fail to automatically build. You need to go to the developers portal in spotify and retrieve your client ID. The client ID then needs to be inserted into the AuthenticationActivity class. You can use the image below as a reference.

Now the application should successfully build.

Next, just click the play button on your app and your emulator should load and run the app. For reference look at the image below

Any questions feel free to contact me at [email protected]

Extras

Obviously, style is not the goal on this project

(side note) I am using a Pixel 4 x86 11GB Disk API 30 on Android 11.0 (google play).

About

This is a simple application that authenticates a user through the Spotify API and then retrieves there top artists. Subsequently, the user can in turn click on the Artist in a listview and view information about the artist. (For example, popularity and the amount of followers an Artist has). Feel free to borrow this code to learn how to make ca…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages