Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] support the Find Places api #128

Open
tlubz opened this issue Dec 12, 2019 · 1 comment
Open

[feature request] support the Find Places api #128

tlubz opened this issue Dec 12, 2019 · 1 comment

Comments

@tlubz
Copy link

tlubz commented Dec 12, 2019

The spots_by_query method currently returns all available data, regardless of passing a fields: argument. It looks like it's using the Text Search API, which always returns all available fields. This means that you incur costs not just for places search but also for atmosphere and contact requests. If you just want to find a single listing by query, the /findplacefromtext endpoint offers more control over costs, since it lets you limit which fields are returned when doing a text query.

maybe a new spot_from_text method or something similar.

@richardsondx
Copy link

@tlubz Did you a solution for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants