0.1.3 • Published 6 years ago

finds-signature v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

FindS-Signature

a tool for api signature of FindS, unofficial

Installing

Using npm:

$npm install finds-signature

Features

  • Sign with the api params for FindS

Test

mocha

API

sign({ apiName, params, timestamp, sis, sik })
//sign for the locate api
sign ({
    apiName: 'gpsp.point.locate',
    params:{
        bizType: 'general',
        entityNames: 'eid12345678',
        activeTime: '30',
        fields: `["lon","lat","gtm","altitude"]`,
    },
    timestamp: new Date().getTime(),
    sis: `${你账户对应的sis}`,
    sik: `${您账户对应的sik}`,
})

License

MIT