API Key & Notification Key的获取请通过Cube平台自助操作,详见说明文档
v4
category
period_type
curl --location --request GET 'https://api.linksfield.net/cube/v4/sims//usage?category=&period_type=&begin_from=&end_by=' \ --header 'Accept-Language: zh-CN' \ --header 'Authorization;' \ --header 'X-LF-Api-Version;' \ --header 'X-LF-Signature-Type;' \ --header 'timestamp;' \ --header 'nonce;' \ --header 'Content-Type: application/json'
{ "data": { "sim_id": "89852202306300023442", "usage": [ { "period": "2023-07-12", "update_at": "2023-07-13T14:05:02", "data": { "all": 32000 } }, { "period": "2023-07-13", "update_at": "2023-07-13T18:05:02", "data": { "all": 208000 } }, { "period": "2023-07-14", "update_at": "2023-07-14T18:05:02", "data": { "all": 96000 } }, { "period": "2023-07-17", "update_at": "2023-07-17T11:05:02", "data": { "all": 32000 } } ] }, "status": { "code": "CB-00-0000", "message": "成功", "detail": "https://developer.linksfield.net/doc-1413557?nav=01GBM770ARR76AXBD5856Z6J6P" } }