问题
Can I store the photoreferences returned with place-details API (max 10 are returned) so that I can use them later directly to fetch the photos using places-photos API call? ToS states that we can't store anything.
回答1:
Like you said, the ToS state the following:
3.2.4 Restrictions Against Misusing the Services.
(a) No Scraping. Customer will not extract, export, or otherwise scrape Google Maps Content for use outside the Services. For example, Customer will not: (i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download Google Maps tiles, Street View images, geocodes, directions, distance matrix results, roads information, places information, elevation values, and time zone details; (iii) copy and save business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services.
(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms.
And the Specific Terms of Service say the following on what caching is allowed for Places:
5.4 Caching. Customer can temporarily cache latitude (lat) and longitude (lng) values from the Places API for up to 30 consecutive calendar days, after which Customer must delete the cached latitude and longitude values. Customer can cache Places API Place ID (place_id) values, in accordance with the Places API Policies.
So it certainly doesn't look like you can store photo references. You may want to speak with a legal representative in any case.
Hope this answers your question.
来源:https://stackoverflow.com/questions/57533961/storing-of-photoreferences-which-are-returned-with-place-details