vk-audio-api-docs

audio.getAlbums

Returns a list of audio albums of a user or community.

This method can be called with a user token. Access rights required: audio.

Parameters

owner_id ID of the user or community that owns the audio file.
int (number), current user id is used by default
offset Offset needed to return a specific subset of albums.
positive number
count Number of albums to return.
positive number, maximum value 100, default 50

Result

Returns the total number of albums and an array of album objects, each containing the following fields:

Errors

Global errors can occur while running. See their descriptions on this page.