For AI agents: visit https://developers.tokkobroker.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
Jump to Content
Tokko Broker Developers HubGuidesDiscussions
HomeGuidesAPI ReferenceDiscussions
v1.0

GuidesDiscussionsTokko Broker Developers Hub
Discussions
v1.0HomeGuidesAPI ReferenceDiscussions

Discussions

Ask a Question
Back to all

Filtro por coordenadas, dejo de funcionar

3 years ago by Luciano

Buen día,

Les escribo porque tenía implementado el filtro por coordenadas y dejo de funcionar hace unos días. Esta query según recuerdo me retornaba cero resultados:

Como la envió:
http://tokkobroker.com/api/v1/property/search/?lang=es_ar&format=json&limit=20&offset=0&data=%7B%22price_from%22%3A0%2C%22price_to%22%3A9999999999%2C%22operation_types%22%3A%5B%5D%2C%22property_types%22%3A%5B%5D%2C%22filters%22%3A%5B%5B%22geo_lat%22%2C%22%3C%22%2C%2223123%22%5D%2C%5B%22geo_lat%22%2C%22%3E%22%2C%22123123%22%5D%2C%5B%22geo_long%22%2C%22%3C%22%2C%2223123%22%5D%2C%5B%22geo_long%22%2C%22%3E%22%2C%22123123%22%5D%5D%7D&key=****

Sin encodear:
http://tokkobroker.com/api/v1/property/search/?lang=es_ar&format=json&limit=20&offset=0&data={"price_from":0,"price_to":9999999999,"operation_types":[],"property_types":[],"filters":[["geo_lat","<","23123"],["geo_lat",">","123123"],["geo_long","<","23123"],["geo_long",">","123123"]]}&key=****

Pero ahora me devuelve todas las propiedades, a menos que incluya otro filtro... ¿la query esta mal?