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

[schemas] Bug - PlaceEditorialSummary didn't return #409

Closed
kayac-chang opened this issue Dec 4, 2022 · 4 comments
Closed

[schemas] Bug - PlaceEditorialSummary didn't return #409

kayac-chang opened this issue Dec 4, 2022 · 4 comments
Assignees
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@kayac-chang
Copy link

kayac-chang commented Dec 4, 2022

I follow this thread,
but I still can't see editorial_summary in the response.
Did I miss something?

Environment details

  • OS type and version
    macOS Ventura version 13.0.1

Steps to reproduce

I'm using New York for testing, which place_id is ChIJOwg_06VPwokRYv534QaPC8g.

curl https://maps.googleapis.com/maps/api/place/details/json\?place_id\=ChIJOwg_06VPwokRYv534QaPC8g\&fields\=editorial_summary\&key\=<key>

Stack trace

curl https://maps.googleapis.com/maps/api/place/details/json\?place_id\=ChIJOwg_06VPwokRYv534QaPC8g\&fields\=editorial_summary\&key\=<key>
{
   "html_attributions" : [],
   "result" : {},
   "status" : "OK"
}
@kayac-chang kayac-chang added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Dec 4, 2022
@amuramoto amuramoto assigned wangela and unassigned amuramoto Dec 8, 2022
@Mahes2
Copy link

Mahes2 commented Dec 29, 2022

i think you can use fields which are available for Places Library, Maps JavaScript API. The document is here: https://developers.google.com/maps/documentation/javascript/place-data-fields

Also please change your key from the stacktrace into "<key>"

@kayac-chang

@wangela
Copy link
Member

wangela commented Jan 26, 2023

@kayac-chang Try a differerent Place ID, e.g. ChIJ3S-JXmauEmsRUcIaWtf4MzE

The place you used, New York (the locality), doesn't have an editorial summary. To learn more about which place types might have editorial summaries, see this explanation about Google Maps.

@wangela wangela closed this as not planned Won't fix, can't repro, duplicate, stale Jan 26, 2023
@wangela
Copy link
Member

wangela commented Aug 9, 2023

@kayac-chang please take care to delete the API key above and replace it in any projects that use it.

@kayac-chang
Copy link
Author

@kayac-chang please take care to delete the API key above and replace it in any projects that use it.

Thank you for reminding 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

4 participants