- 授权协议: 未知
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/dgoguerra/pokego-scan
- 软件文档: https://github.com/dgoguerra/pokego-scan/blob/master/readme.md
- 官方下载: https://github.com/dgoguerra/pokego-scan
软件介绍
Pokego-Scan 通过 PokeVision API实现口袋妖怪扫描的Node包。
使用:
$ npm install pokego-scan
var pokegoScan = require('pokego-scan');
var coords = {
latitude: 40.4164737,
longitude: -3.7042757
};
// obtain an array of pokemon close to the given coordinates
pokegoScan(coords, function(err, pokemon) {
if (err) throw err;
console.log(pokemon);
});
/* returns:
[ { id: '23578871',
data: '[]',
expiration_time: 1469133198,
pokemonId: '56',
latitude: 40.41668174482,
longitude: -3.7048426265191,
uid: '0d422880aed:23',
is_alive: true,
name: 'Mankey',
map: 'https://pokevision.com/#/@40.41668174482,-3.7048426265191',
image: 'https://ugc.pokevision.com/images/pokemon/56.png',
distance: 53,
distance_str: '53m',
despawns_in: 603,
despawns_in_str: '10:03' },
... ]
*/
// filter by max distance
pokegoScan(coords, {distance: 100}, function(err, pokemon) {
if (err) throw err;
console.log(pokemon);
});
// filter by specific pokemon
pokegoScan(coords, {filter: ["Zubat", "Pidgey"]}, function(err, pokemon) {
if (err) throw err;
console.log(pokemon);
});
REST实战
Jim Webber、Savas Parastatidis、Ian Robinson / 李锟、俞黎敏、马钧、崔毅 / 东南大学出版社 / 2011-10 / 78.00元
为何典型的企业项目无法像你为web所开发的项目那样运行得如此平滑?对于建造分布式和企业级的应用来说,rest架构风格真的提供了一个可行的替代选择吗? 在这本富有洞察力的书中,三位soa专家对于rest进行了讲求实际的解释,并且通过将web的指导原理应用到普通的企业计算问题中,向你展示了如何开发简单的、优雅的分布式超媒体系统。你将会学习到很多技术,并且随着一家典型的公司从最初的小企业逐渐成长为......一起来看看 《REST实战》 这本书的介绍吧!
HTML 压缩/解压工具
在线压缩/解压 HTML 代码
RGB转16进制工具
RGB HEX 互转工具
