Navigation

  • index
  • next |
  • previous |
  • 2gis 1.3.0 documentation »
  • Usage »

Firms search¶

Documentation: http://api.2gis.ru/doc/firms/searches/search/

Allowed parameters:

  • what
  • where
  • point : list of two coordinates [lon, lat]
  • radius
  • bound : [[lon1, lat1], [lon2, lat2]]
  • page
  • pagesize
  • sort
  • filters

Examples¶

Search for firms and rubrics:

api.search(what=u'пиво', where=u'Иркутск')

Search for firms and rubrics in radius of 1000 m from a point:

api.search(what=u'пиво', point=[104.281352, 52.287771], radius=1000)

Search for firms and rubrics in a bounds:

api.search(what=u'пиво', bound=[[82.801886, 54.991984], [82.9019, 52.9910]])

Search with worktime filter:

filters = {
    'worktime': 'mon,23:01',
}
api.search(what=u'пиво', where=u'Иркутск', filters=filters)

Table Of Contents

  • Firms search
    • Examples

Previous topic

Rubricator

Next topic

Search in rubric

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

Navigation

  • index
  • next |
  • previous |
  • 2gis 1.3.0 documentation »
  • Usage »
© Copyright 2012, svartalf. Last updated on Mar 13, 2016. Created using Sphinx 1.4a0+.