caching of Google Places API results

前端 未结 3 957
花落未央
花落未央 2021-02-20 02:49

I\'m building a mobile app that lists posts, each post has a place attached to it.

I want the list to be able to show distance from the user\'s location. without caching

3条回答
  •  孤城傲影
    2021-02-20 03:49

    "Note that the place ID, used to uniquely identify a place, is exempt from the caching restriction. You can therefore store place ID values indefinitely. The place ID is returned in the place_id field in Places API responses." https://developers.google.com/places/web-service/policies#usage_limits

提交回复
热议问题