Class: Vk::API::Audio::Methods::GetRecommendations
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Audio::Methods::GetRecommendations
- Defined in:
- lib/vk/api/audio/methods/get_recommendations.rb
Overview
Returns a list of suggested audio files based on a user's playlist or a particular audio file.
Arguments collapse
-
#count ⇒ Integer
Number of audio files to return.
-
#offset ⇒ Integer
Offset needed to return a specific subset of audio files.
-
#shuffle ⇒ Boolean
'1' — shuffle on.
-
#target_audio ⇒ String
Use to get recommendations based on a particular audio file.
-
#user_id ⇒ Integer
Use to get recommendations based on a user's playlist.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Audio::Methods::GetRecommendations
|
# File 'lib/vk/api/audio/methods/get_recommendations.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of audio files to return.
33 |
# File 'lib/vk/api/audio/methods/get_recommendations.rb', line 33 attribute :count, API::Types::Coercible::Int.optional.default(100) |
#offset ⇒ Integer
Returns Offset needed to return a specific subset of audio files.
31 |
# File 'lib/vk/api/audio/methods/get_recommendations.rb', line 31 attribute :offset, API::Types::Coercible::Int.optional.default(nil) |
#shuffle ⇒ Boolean
Returns '1' — shuffle on.
35 |
# File 'lib/vk/api/audio/methods/get_recommendations.rb', line 35 attribute :shuffle, API::Types::Form::Bool.optional.default(nil) |
#target_audio ⇒ String
Returns Use to get recommendations based on a particular audio file. The ID of the user or community that owns an audio file and that audio file's ID, separated by an underscore.;.
27 |
# File 'lib/vk/api/audio/methods/get_recommendations.rb', line 27 attribute :target_audio, API::Types::Coercible::String.optional.default(nil) |