简体   繁体   English

在Google Places API中使用线程

[英]Using Threads with Google Places API

I am trying to use Google Places API: https://developers.google.com/maps/documentation/places/ 我正在尝试使用Google Places API: https//developers.google.com/maps/documentation/places/

I am Implementing in Java with multiple threads. 我正在用多个线程在Java中实现。 The idea is to fetch multiple POI(Point of interests : Pharmacy, School, Parks etc ) around a given address. 这个想法是在给定地址周围获取多个POI(兴趣点:药房,学校,公园等)。 So, I am using for example 52 threads to fetch 52 POIs at the same time for a given address in parallel . 因此,我使用例如52个线程同时为给定地址并行获取52个POI。

My questions is : Is it against the Google policy or will it be considered intrusion by Google, since there is nothing in the documentation that I could find against it. 我的问题是:是违反Google政策还是被Google视为入侵,因为我在文档中找不到反对它的内容。 ?? ??

I am trying to develop a long term use application, which I do not want to be abandoned because of usage of Multi-threading. 我正在尝试开发一个长期使用的应用程序,由于使用了多线程,我不想将其废弃。

Thank you 谢谢

~ Nav 〜导航

我知道的唯一限制是,您不能在24小时内使用相同的API密钥发送超过1000个请求(除非您付费),但是使用多线程或不发送请求不会有任何区别。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM