Class: Vk::API::Places::Methods::Search
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Places::Methods::Search
- Defined in:
- lib/vk/api/places/methods/search.rb
Overview
Returns a list of locations that match the search criteria.
Arguments collapse
-
#city ⇒ Integer
City ID.
-
#count ⇒ Integer
Number of locations to return.
-
#latitude ⇒ Number
Geographical latitude of the initial search point, in degrees (from '-90' to '90').
-
#longitude ⇒ Number
Geographical longitude of the initial search point, in degrees (from '-180' to '180').
-
#offset ⇒ Integer
Offset needed to return a specific subset of locations.
-
#q ⇒ String
Search query string.
-
#radius ⇒ Integer
Radius of the search zone:; '1' — 100 m.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Places::Methods::Search constructor
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Places::Methods::Search
|
# File 'lib/vk/api/places/methods/search.rb', line 15
|
Instance Method Details
#city ⇒ Integer
Returns City ID.
31 |
# File 'lib/vk/api/places/methods/search.rb', line 31 attribute :city, API::Types::Coercible::Int.optional.default(nil) |
#count ⇒ Integer
Returns Number of locations to return.
41 |
# File 'lib/vk/api/places/methods/search.rb', line 41 attribute :count, API::Types::Coercible::Int.optional.default(30) |
#latitude ⇒ Number
Returns Geographical latitude of the initial search point, in degrees (from '-90' to '90').
33 |
# File 'lib/vk/api/places/methods/search.rb', line 33 attribute :latitude, API::Types::Coercible::Int |
#longitude ⇒ Number
Returns Geographical longitude of the initial search point, in degrees (from '-180' to '180').
35 |
# File 'lib/vk/api/places/methods/search.rb', line 35 attribute :longitude, API::Types::Coercible::Int |
#offset ⇒ Integer
Returns Offset needed to return a specific subset of locations.
39 |
# File 'lib/vk/api/places/methods/search.rb', line 39 attribute :offset, API::Types::Coercible::Int.optional.default(nil) |