What is the `sensor` parameter for in the Google Places API?

后端 未结 3 1408
太阳男子
太阳男子 2020-11-30 00:18

The Google Places API requests have a sensor parameter? How does this parameter affect the results?

3条回答
  •  失恋的感觉
    2020-11-30 01:00

    Edit: The sensor parameter is no longer required, and will now be ignored if it's used.

    The parameter doesn't impact the results. It's a parameter that Google is required to collect for Google's data providers who charge differently based on whether the request uses a sensor or not.

    see Google docs

提交回复
热议问题