bom-api:BOM(气象学)api的节点包装器

时间:2021-06-21 11:12:09
【文件属性】:
文件名称:bom-api:BOM(气象学)api的节点包装器
文件大小:24KB
文件格式:ZIP
更新时间:2021-06-21 11:12:09
JavaScript #bom-api# BOM(气象学)api的节点包装器 需要 #用# npm install bom-api var bom = require('bom-api'); 例子: bom.getBomDataByLatitudeLongitude(lat, lng, functions(data){ //do stuff with data; }); 获取纬度和经度参数并返回一组最近的气候数据。 bom.getBomDataBySiteNumberState(siteNumber, stateName, function(error, data)){ // do stuff with data }); 获取 BoM 站点编号 ( ) 和州代码(例如:'qld')并返回一组最近的气候数据。 从 bomInfoArray 返回的数据示例。 [{ ai
【文件预览】:
bom-api-master
----createDistanceVincentyCallback.js(248B)
----getLocationDistancesByState.js(727B)
----getClosestLocation.js(363B)
----getBomDataByLatitudeLongitude.js(868B)
----bomdata.json(57KB)
----app.js(319B)
----createWhenDoneCallback.js(243B)
----LICENSE(1KB)
----test()
--------index.js(737B)
----README.md(1KB)
----getLocationDistances.js(520B)
----getBomDataBySiteNumberState.js(1KB)
----.gitignore(535B)
----index.js(343B)
----router.js(492B)
----package.json(711B)

网友评论