【文件属性】:
文件名称:nodejs-geolocation:适用于Node.js的Google Maps Geolocation API(非官方)
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-03 05:29:08
nodejs geolocation triangulation wifi api-client
google-geolocation
适用于Node.js的Google Maps Geolocation API(非官方)
您需要具有访问Google Maps Geolocation API的Google API密钥。
例子
const geolocation = require ( 'google-geolocation' ) ( {
key : 'api key'
} ) ;
// Configure API parameters
const params = {
wifiAccessPoints : [
{
macAddress : '01:23:45:67:89:AB' ,
signalStrength : - 65 ,
signalToNoiseRatio : 40
}
]
} ;
// Get data
g
【文件预览】:
nodejs-geolocation-develop
----.eslintrc(4KB)
----test.js(2KB)
----.travis.yml(88B)
----LICENSE(1KB)
----.bithoundrc(134B)
----README.md(4KB)
----.gitignore(540B)
----index.js(2KB)
----CHANGELOG.md(4KB)
----package.json(905B)