Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Commit

Permalink
Added track endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
CommandString committed May 24, 2023
1 parent 6b467d4 commit 35188fd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Rest/Endpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ class Endpoint
public const ARTISTS_ID_ALBUMS = '/artists/:id:/albums';
public const ARTISTS_ID_TOP_TRACKS = '/artists/:id:/top-tracks';
public const ARTISTS_ID_RELATED_ARTISTS = '/artists/:id:/related-artists';
public const TRACKS = '/tracks';
public const TRACKS_ID = '/tracks/:id:';
public const ME_TRACKS = '/me/tracks';
public const TRACK_AUDIO_ANALYSIS = '/audio-analysis/:id:';
public const TRACK_AUDIO_FEATURES = '/audio-features';
public const TRACK_AUDIO_FEATURES_ID = '/audio-features/:id:';

public static function bind(string $endpoint, array $params = [], array $getParams = [], ?string $market = null): string
{
Expand Down

0 comments on commit 35188fd

Please sign in to comment.