Skip to content

Robw94/carelinelive-interview-task-spotify

 
 

Repository files navigation

CareLineLive Interview Task - Spotify

This repository contains a scaffolded Angular application for interacting with the Spotify API. It serves as a open-ended starting point for CareLineLive technical tests.

Configuration

Create a file called credentials.ts in src/environments and add the following, filling in your Spotify App Client ID & Secret:

export const CLIENT_ID = '';
export const CLIENT_SECRET = '';

App structure

This is a very basic Angular application, with no routing. Once you've added the Spotify API credentials, starting the app should load and display a playlist.

SpotifyApiService will fetch a playlist, all of it's tracks, and their audio features.

Spotify API Reference

https://developer.spotify.com/documentation/web-api/reference/#/operations/get-playlist https://developer.spotify.com/documentation/web-api/reference/#/operations/get-playlists-tracks https://developer.spotify.com/documentation/web-api/reference/#/operations/get-several-audio-features

Development server

Run ng serve, or npm run start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 73.2%
  • HTML 17.6%
  • SCSS 6.0%
  • JavaScript 3.2%