API获取公司的行业部门

API获取公司的行业部门

本文介绍了使用Google Places API获取公司的行业部门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过使用Google Places API来了解公司所属行业的类型.

I am trying to get the type of industry sector a company belongs to by using the Google Places API.

例如,当我在右边的信息框中执行"rhythmboat cruises pyrmont"的强制性示例搜索时,Google告诉我该公司是邮轮代理商"-但是,我很难找到Google Places API中的这些信息-既不使用常规搜索之一也不使用详细搜索.

For example, when I do the obligatory example search for "rhythmboat cruises pyrmont", in the information box on the right side, Google tells me that this company is a "Cruise Agency" - however I am having a hard time finding this information within the Google Places API - neither using one of the general searches nor by using the detail search.

我可以假设Google不通过Places API提供此信息吗?如果可以,是否有其他Google API提供此数据?

Am I right with my assumption that Google does not provide this information via the Places API and if yes, does another Google API provide this data?

推荐答案

Places API对此场所公开了几种 types :

Places API exposes several types for this place:

https://maps.googleapis.com/maps/api/place/details/json?placeid = ChIJyWEHuEmuEmsRm9hTkapTCrk& key = YOUR_API_KEY

types: [
    "travel_agency",
    "restaurant",
    "food",
    "point_of_interest",
    "establishment"
],

我认为您可以通过这些类型将任何地方分类为行业.

I think you can classify any place into an industry sector by these types.

至少看起来它应该与 4个主要行业一起使用,全球行业分类标准,或普华永道列表.我只希望在四个主要行业部门中,每个公司都只属于一个部门.

At least it seems like it should work with the 4 major industry sectors, the broader Global Industry Classification Standard, or PwC's list. Only in the 4 major industry sectors would I expect that every company fits under just one sector though.

这篇关于使用Google Places API获取公司的行业部门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 11:17