caching of Google Places API results

前端 未结 3 886
死守一世寂寞
死守一世寂寞 2021-02-20 02:45

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:27

    "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

提交回复
热议问题