
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
一个用于访问 intel.ingress.com 的 API 客户端
httpx
进行异步请求pip install intel-map-client
下面是获取指定区间内全部 Portals 的简单示例
import asyncio
from IntelMapClient import AsyncClient, AsyncAPI
from IntelMapClient.types import MapTiles
cookies = "<cookies>" # Put your cookies here
client = AsyncClient()
api = AsyncAPI(client)
client.set_cookies(cookies) # Set Cookies
client.set_proxy(proxy_url="socks5://127.0.0.1:7890") # Set proxy if you need
async def main():
lat, lng = 23.105252, 113.240577
map_tiles = MapTiles.from_square(lat, lng, 7000, zoom=15) # Build MapTiles
async with client:
await client.authorize()
tile_set = await api.GetEntitiesByMapTiles(map_tiles)
print(list(tile_set.portals())) # Portals List
if __name__ == '__main__':
asyncio.run(main())
更多用法详情可以等待 API 文档更新
SearchPortalByLatLng
- 通过经纬度搜索最近的 portalGetEntitiesByMapTiles
- 下载 MapTiles 范围内的 GameEntities该版本是原来分支的重构,更多更新将在以后版本发布
MIT License
FAQs
An API client for Intel Map
We found that intel-map-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.