rino-arbitrage
  1. amber
rino-arbitrage
  • 登录
    • 登录
      POST
    • 登录信息
      GET
    • 注销
      DELETE
  • 国际化
    • 默认语言
      GET
    • 国际化信息
      GET
  • 公共接口
    • 字典库
      GET
    • 当前时间
      GET
  • 账号信息
    • 详情
      GET
    • 编辑
      PUT
    • 更新密码
      PUT
  • 首页
    • 分页查询
      GET
    • 统计
      GET
    • 状态数量
      GET
    • 详情/编辑初始化
      GET
    • 设备列表
      GET
    • 校验sn
      GET
    • 校验token
      GET
    • 充放电
      POST
    • 新增
      POST
    • 编辑
      PUT
    • 删除
      DELETE
    • 批量删除
      DELETE
  • Overview
    • 汇总
    • 能流图
    • 实时电价
    • 电价趋势
    • 功率趋势
  • Strategy
    • 详情/编辑初始化
    • 保存
  • Bill
    • 分页列表
    • 收益汇总
    • 导出
  • 用户管理
    • 分页
    • 明文密码
    • 详情
    • 校验用户名
    • 新增
    • 编辑
    • 更新状态
  • 角色管理
    • 菜单列表
    • 分页
    • 详情
    • 校验角色名
    • 新增
    • 编辑
  • devops
    • 同步管理
      • 同步设备
      • 同步实时价格
      • 同步价格
      • 同步账单
    • 公共接口
      • 雪花ID
      • 异常样例
      • 用户列表
      • 角色列表
    • 主页面
      • 路由树
    • 顶部导航栏
      • 用户配置
        • 查询
        • 保存
      • 消息通知
        • 未读数量
        • 消息通知列表
    • 工作台
      • 数据统计
      • 请求日志
      • 请求方法占比
      • 热门接口
      • 通知
    • 中间件
      • redis样例
        • 键树
        • 键列表
        • 键删除
        • 键值信息
        • 新增键
        • STRING#更新键
        • LIST#新增元素
        • SET#新增元素
        • LIST#修改元素
        • Hash#修改字段值
        • LIST#移除元素
        • HASH#移除元素
        • SET#移除元素
        • ZSET#新增元素
        • ZSET#设置分数
        • ZSET#移除元素
        • HASH#添加字段
        • 是否存在键
        • 键过期时间查询
        • 键过期时间设置
      • 消息队列
        • 发送消息
        • 查询消息
    • 系统管理
      • 通知管理
        • 新增
        • 发送
        • 删除
        • 批量删除
        • 编辑
        • 查询
        • 详情
        • 接收情况
    • 开发工具
      • 请求日志
        • 请求日志
      • 字典管理
        • 字典列表
        • 字典详情
        • 校验字典名称
        • 校验字典项展示名
        • 校验字典项值
        • 校验字典标识
        • 新增字典
        • 编辑字典
        • 删除字典
        • 删除字典值
        • 字典查询
        • 字典值列表
        • 展示名-值
        • 值-展示名
        • 字典展示名列表
        • 刷新缓存
        • 字典项树
        • 字典项详情
        • 字典项级联选择
        • 新增字典值
        • 编辑字典值
      • 代码生成
        • 分页
        • 详情
        • 预览
        • 下载
        • 列信息
        • 列信息保存
        • 表信息保存
      • 国际化管理
        • 刷新缓存
        • 分页
        • 详情
        • 导出
        • 校验code
        • 新增
        • 编辑
        • 删除
        • 批量删除
        • 下载模板
        • 上传文件
    • 个人中心
      • 个人通知
        • 列表
        • 详情
        • 已读
        • 删除
        • 批量删除
    • 时间管理
      • 解析
  • 第三方
    • amber
      • 站点列表
        GET
      • 当前可再生能源
        GET
      • 实时价格
        GET
      • 价格趋势
        GET
      • 使用情况
        GET
    • eCactus
      • 登录
      • 设备列表
      • 设备信息
      • 设备状态
      • 绑定设备
      • 充电
    • LocalVolts
      • LocalVolts
    • deye
      • 获取token
      • 获取会员
      • 获取token
      • 设备列表
      • 设备最新信息
      • 设备日志
      • 设备功率
  • 上报
    POST
  • 上报文件
    POST
  1. amber

使用情况

GET
https://api.amber.com.au/v1/sites/{siteId}/usage

请求参数

Path 参数

Query 参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.amber.com.au/v1/sites//usage?startDate=2024-12-03&endDate=2024-12-03' \
--header 'Authorization: Bearer psk_2d699742f8b3abdd11778fc9c9b51dd6' \
--header 'Authorization;'

返回响应

🟢200成功
application/json
Body

示例
[
    {
        "type": "Usage",
        "duration": 30,
        "date": "2024-12-01",
        "endTime": "2024-11-30T14:30:00Z",
        "quality": "billable",
        "kwh": 0.217,
        "nemTime": "2024-12-01T00:30:00+10:00",
        "perKwh": 38.40328,
        "channelType": "general",
        "channelIdentifier": "E1",
        "cost": 8.3335,
        "renewables": 23.64,
        "spotPerKwh": 11.56131,
        "startTime": "2024-11-30T14:00:01Z",
        "spikeStatus": "none",
        "tariffInformation": {
            "period": "peak"
        },
        "descriptor": "veryLow"
    },
    {
        "type": "Usage",
        "duration": 30,
        "date": "2024-12-01",
        "endTime": "2024-11-30T15:00:00Z",
        "quality": "billable",
        "kwh": 0.189,
        "nemTime": "2024-12-01T01:00:00+10:00",
        "perKwh": 27.69108,
        "channelType": "general",
        "channelIdentifier": "E1",
        "cost": 5.2336,
        "renewables": 25.206,
        "spotPerKwh": 13.03882,
        "startTime": "2024-11-30T14:30:01Z",
        "spikeStatus": "none",
        "tariffInformation": {
            "period": "offPeak"
        },
        "descriptor": "veryLow"
    },
    {
        "type": "Usage",
        "duration": 30,
        "date": "2024-12-01",
        "endTime": "2024-11-30T15:30:00Z",
        "quality": "billable",
        "kwh": 0.163,
        "nemTime": "2024-12-01T01:30:00+10:00",
        "perKwh": 26.86741,
        "channelType": "general",
        "channelIdentifier": "E1",
        "cost": 4.3794,
        "renewables": 28.527,
        "spotPerKwh": 12.29712,
        "startTime": "2024-11-30T15:00:01Z",
        "spikeStatus": "none",
        "tariffInformation": {
            "period": "offPeak"
        },
        "descriptor": "veryLow"
    },
    {
        "type": "Usage",
        "duration": 30,
        "date": "2024-12-01",
        "endTime": "2024-11-30T16:00:00Z",
        "quality": "billable",
        "kwh": 0.161,
        "nemTime": "2024-12-01T02:00:00+10:00",
        "perKwh": 26.41647,
        "channelType": "general",
        "channelIdentifier": "E1",
        "cost": 4.2531,
        "renewables": 28.193,
        "spotPerKwh": 11.89106,
        "startTime": "2024-11-30T15:30:01Z",
        "spikeStatus": "none",
        "tariffInformation": {
            "period": "offPeak"
        },
        "descriptor": "veryLow"
    },
    {
        "type": "Usage",
        "duration": 30,
        "date": "2024-12-01",
        "endTime": "2024-11-30T16:30:00Z",
        "quality": "billable",
        "kwh": 0.161,
        "nemTime": "2024-12-01T02:30:00+10:00",
        "perKwh": 25.85093,
        "channelType": "general",
        "channelIdentifier": "E1",
        "cost": 4.162,
        "renewables": 25.005,
        "spotPerKwh": 11.3818,
        "startTime": "2024-11-30T16:00:01Z",
        "spikeStatus": "none",
        "tariffInformation": {
            "period": "offPeak"
        },
        "descriptor": "veryLow"
    },
    {
        "type": "Usage",
        "duration": 30,
        "date": "2024-12-01",
        "endTime": "2024-11-30T17:00:00Z",
        "quality": "billable",
        "kwh": 0.175,
        "nemTime": "2024-12-01T03:00:00+10:00",
        "perKwh": 25.96931,
        "channelType": "general",
        "channelIdentifier": "E1",
        "cost": 4.5446,
        "renewables": 26.686,
        "spotPerKwh": 11.4884,
        "startTime": "2024-11-30T16:30:01Z",
        "spikeStatus": "none",
        "tariffInformation": {
            "period": "offPeak"
        },
        "descriptor": "veryLow"
    },
    {
        "type": "Usage",
        "duration": 30,
        "date": "2024-12-01",
        "endTime": "2024-11-30T17:30:00Z",
        "quality": "billable",
        "kwh": 0.135,
        "nemTime": "2024-12-01T03:30:00+10:00",
        "perKwh": 25.53053,
        "channelType": "general",
        "channelIdentifier": "E1",
        "cost": 3.4466,
        "renewables": 25.61,
        "spotPerKwh": 11.09329,
        "startTime": "2024-11-30T17:00:01Z",
        "spikeStatus": "none",
        "tariffInformation": {
            "period": "offPeak"
        },
        "descriptor": "veryLow"
    },
    {
        "type": "Usage",
        "duration": 30,
        "date": "2024-12-01",
        "endTime": "2024-11-30T18:00:00Z",
        "quality": "billable",
        "kwh": 0.172,
        "nemTime": "2024-12-01T04:00:00+10:00",
        "perKwh": 25.96931,
        "channelType": "general",
        "channelIdentifier": "E1",
        "cost": 4.4667,
        "renewables": 23.139000000000003,
        "spotPerKwh": 11.4884,
        "startTime": "2024-11-30T17:30:01Z",
        "spikeStatus": "none",
        "tariffInformation": {
            "period": "offPeak"
        },
        "descriptor": "veryLow"
    },
    {
        "type": "Usage",
        "duration": 30,
        "date": "2024-12-01",
        "endTime": "2024-11-30T18:30:00Z",
        "quality": "billable",
        "kwh": 0.151,
      
🟢200成功响应
修改于 2024-12-03 14:44:28
上一页
价格趋势
下一页
登录
Built with