
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
kyemap-server-api
Advanced tools
对服务端api进行二次封装,简化使用
参数名称 | 类型 | 描述 | 是否必传 | 默认值 |
---|---|---|---|---|
token | String | 登录后的令牌 | 是 | - |
appKey | String | 应用的唯一标识 | 否 | '50243' |
token | Number | 请求超时时间(毫秒) | 否 | 2000 |
headers | Object | 请求头配置,参考axios | 否 | 见下 |
{
"appkey": "***", // 同appKey
"format": "json",
"timestamp": "***", // 当前时间戳
"method": "***",
"sign": "***"
}
const baseUrl = '/router/rest' // 根据项目环境进行设置,并配置对应代理
const token = '311148a0-29bb-4fc0-bfb4-40a52d5f719d'
const api = new.KyemapServerApi({ token, baseUrl })
const data = {
districtId: 'XZ1-29',
geoType: 'geo'
}
api.getNextLevelGeoInfos({data}).then(res => {
console.info('res', res)
})
// 查询边界信息 参数 参考:http://api.kyepm.com/open-api/interface/1419488814831841280
getNextLevelGeoInfos().then()
// 路线规划 参数 参考:http://api.kyepm.com/open-api/interface/1363464306638852096
getPlanRoad().then()
// 位置详情 参数 参考:http://api.kyepm.com/open-api/interface/1247770861477367808
getLocationDes().then()
// 关键词查询 参数 参考:http://api.kyepm.com/open-api/interface/1082523023148388385
getFindPosition().then()
// 网点查询 参数 参考:http://api.kyepm.com/open-api/interface/1323957281114689536
getNetPostion().then()
// 网点位置详情 参数 参考:http://api.kyepm.com/open-api/interface/1363464306638852096
getNetlocationDes().then()
// 逆地址解析 参数 参考:http://api.kyepm.com/open-api/interface/1363464306638852096
getReverseGEO().then()
FAQs
> TODO: description
We found that kyemap-server-api demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.