Google在Node.js中的流行时间 [英] Google popular times in nodejs

查看:44
本文介绍了Google在Node.js中的流行时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google提供了最新的Api流行时间",以获取有关特定企业或繁忙或流行的特定时间的数据.但是,它带有python实现.

有人知道在Node.js项目中使用Google流行时间api的方法吗?

在上方的BestTime.app雷达工具图片中,显示了纽约市热门景点的人流数据.左侧显示了整天的行人流量预测.该地图上覆盖了一个热图,该热图指示了每个位置当前小时的预测步行流量强度.使用右侧面板中的过滤器,您可以通过例如仅选择星期五下午的安静纽约市景点来缩小搜索范围.

披露:我为BestTime.app工作

Google provided the latest Api "Popular times" to get data regarding to the specific time a particular business or else is busy or popular. However it comes with python implementation.

Does anyone know a way to use the google popular times api inside a Node.js project?

https://github.com/m-wrzr/populartimes this link gets you for a python code..how to include or how we can get api for node project

解决方案

You could try the foot traffic API service BestTime.app, which also works with Node.JS. Unfortunately, it's paid, but they offer a free test account.

BestTime.app provides foot traffic data almost similar to Google Popular Times and Foursquare data, but with more functionality. You can also analyze and filter foot traffic data of multiple places in an area. So you can for example filter places and show only bars that are busy on Friday evening, or show only supermarkets that are quiet on Sunday morning.

You can view the data through their website tools (e.g. on a heatmap), or get the same data through their software API (Software API tutorial). Integrating the API is really useful if you want to e.g. make consumer-focused apps/websites to inform people to which place they should and at what time.

In the picture above the BestTime.app Radar tool shows foot traffic data for popular attractions in New York City. On the left the a foot traffic prediction is shown for the whole day. The map is overlayed with a heatmap that indicates the predicted foot traffic intensity for current hour per place. Using the filters, in the right panel, you can narrow down your search by selecting for example only the quiet NYC attractions on Friday afternoon.

Disclosure: I work for BestTime.app

这篇关于Google在Node.js中的流行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆