文件名称:evDash_serverapi
文件大小:732KB
文件格式:ZIP
更新时间:2024-06-02 18:17:14
JavaScript
evDash_serverapi 用于[evDas] h的Rest API( ) 注册新的ApiKey $ curl -X GET -H "Content-Type: application/json" https://api.example.com/\?register {"ret":"ok","apikey":"abcdef123456"} 从api获取数据 最后记录 $ curl -d '{"apikey":"abcdef123456"}' -H "Content-Type: application/json" -X GET https://api.example.com {"values":{"timestamp":"2020-12-02 00:41:23","carType":null,"socPerc":-1,"sohPerc":562.7,"batPowerKw":-0
【文件预览】:
evDash_serverapi-master
----api()
--------.gitignore(11B)
--------config.example.php(181B)
--------index.php(2KB)
--------api.class.php(8KB)
----README.md(3KB)
----db.sql(2KB)
----gui()
--------.gitignore(11B)
--------gui.class.php(2KB)
--------config.example.php(123B)
--------index.php(4KB)
--------js()
--------css()
--------pages()