Class: Vk::API::Photos::Methods::Search
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::Search
- Defined in:
- lib/vk/api/photos/methods/search.rb
Overview
Returns a list of photos.
Arguments collapse
-
#count ⇒ Integer
Number of photos to return.
- #end_time ⇒ Integer
-
#lat ⇒ Number
Geographical latitude, in degrees (from '-90' to '90').
-
#long ⇒ Number
Geographical longitude, in degrees (from '-180' to '180').;.
-
#offset ⇒ Integer
Offset needed to return a specific subset of photos.
-
#q ⇒ String
Search query string.
-
#radius ⇒ Integer
Radius of search in meters (works very approximately).
-
#sort ⇒ Integer
Sort order:.
- #start_time ⇒ Integer
Instance Method Summary collapse
- #initialize(arguments) ⇒ Photos::Methods::Search constructor
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::Search
|
# File 'lib/vk/api/photos/methods/search.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of photos to return.
45 |
# File 'lib/vk/api/photos/methods/search.rb', line 45 attribute :count, API::Types::Coercible::Int.optional.default(100) |
#end_time ⇒ Integer
39 |
# File 'lib/vk/api/photos/methods/search.rb', line 39 attribute :end_time, API::Types::Coercible::Int.optional.default(nil) |
#lat ⇒ Number
Returns Geographical latitude, in degrees (from '-90' to '90').
33 |
# File 'lib/vk/api/photos/methods/search.rb', line 33 attribute :lat, API::Types::Coercible::Int.optional.default(nil) |
#long ⇒ Number
Returns Geographical longitude, in degrees (from '-180' to '180').;.
35 |
# File 'lib/vk/api/photos/methods/search.rb', line 35 attribute :long, API::Types::Coercible::Int.optional.default(nil) |
#offset ⇒ Integer
Returns Offset needed to return a specific subset of photos.
43 |
# File 'lib/vk/api/photos/methods/search.rb', line 43 attribute :offset, API::Types::Coercible::Int.optional.default(nil) |
#q ⇒ String
Returns Search query string.
31 |
# File 'lib/vk/api/photos/methods/search.rb', line 31 attribute :q, API::Types::Coercible::String.optional.default(nil) |
#radius ⇒ Integer
Returns Radius of search in meters (works very approximately). Available values: '10', '100', '800', '6000', '50000'.
47 |
# File 'lib/vk/api/photos/methods/search.rb', line 47 attribute :radius, API::Types::Coercible::Int.optional.default(5000) |