-
Notifications
You must be signed in to change notification settings - Fork 0
Me API
Romain Monteil edited this page Jan 3, 2019
·
2 revisions
$response = $spotify->me()->get();
Return an instance of UserResponse
$response = $spotify->me()->playlists([
QueryParametersInterface::PARAMETER_LIMIT => 10,
QueryParametersInterface::PARAMETER_OFFSET => 5,
]);
Return an instance of PagingResponse
$response = $spotify->me()->top(TypeInterface::TYPE_ARTISTS, [
QueryParametersInterface::PARAMETER_TIME_RANGE => 'medium_term',
QueryParametersInterface::PARAMETER_LIMIT => 10,
QueryParametersInterface::PARAMETER_OFFSET => 5,
]);
Return an instance of PagingResponse