2017 © Pedro Peláez
 

library qowisio-cloud-api-bundle

Access data from Qowisio Cloud API

image

a5sys/qowisio-cloud-api-bundle

Access data from Qowisio Cloud API

  • Friday, December 2, 2016
  • by arnaudgoulpeau
  • Repository
  • 3 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Qowisio Cloud API Bundle

Qowisio offers an UNB network to let connected object send their data, hardware to create connected objects themselves, a Web API to retreive the data stored into their cloud, and many more things., (*1)

This bundle focuses on the Qowisio Cloud API., (*2)

The connected object has already sent its data through the UNB network, the data has already been read by the Qowisio cloud preprocessing programs, and now, you can use this bundle to query the Qowisio Cloud API to get "cooked" data., (*3)

Why cooked data ?, (*4)

A connected object using a UNB network is designed to be the less electric consuming as possible. For that reason, the message sent over UNB network must be as short as possible (12 bytes max). Data is binary encoded, and then sent over the UNB network. If their is no preprocessing, its up to you to extract all values of the message., (*5)

Example : GPS is latitude and longitude. 2 values are sent at the same time in the message, but on the API, you will access 2 data., (*6)

Install

composer, (*7)

composer require "a5sys/qowisio-cloud-api-bundle"

AppKernel.php, (*8)

$bundles = [
    ...
    new A5sys\QowisioCloudApiBundle\QowisioCloudApiBundle(),
    ...
];

Configuration

config.yml, (*9)

qowisio_cloud_api:
    authentication:
        email: %qowisio_api_email%
        password: %qowisio_api_password%

parameters.yml, (*10)

qowisio_api_email: email_you_suscribed_with@tld.com
qowisio_api_password: 'yourpassword'

Note : to get your Qowisio account : https://developer.qowisio.com/log, (*11)

Implemented functionnalities of the bundle VS API capabilities

Authentication API, (*12)

Authentication, (*13)

  • [ ] GET /confirm/{hash}
  • [x] POST /login > used for each query in the Data API
  • [ ] POST /resendconfirm
  • [ ] POST /signup
  • [ ] POST /password/reset
  • [ ] POST /password/update
  • [ ] POST /user/update

Data API, (*14)

Authentication, (*15)

  • [x] GET /amiauthenticated

Package, (*16)

  • [ ] GET /packages
  • [ ] GET /packages/{id}

Devices / Sensors, (*17)

  • [x] GET /devices
  • [ ] PUT /devices
  • [ ] POST /devices
  • [ ] DELETE /devices
  • [x] GET /devices/type
  • [x] GET /devices/{uid}/sensors

Measures, (*18)

  • [x] GET /measures/{sensor_id}/{from}/{to}/{limit}

Aggregations, (*19)

  • [ ] GET /aggregations/{sensor_uid}/lastday
  • [ ] GET /aggregations/{sensor_uid}/lastweek
  • [ ] GET /aggregations/{sensor_uid}/lastmonth
  • [ ] GET /aggregations/{sensor_uid}/lastquarter
  • [ ] GET /aggregations/{sensor_uid}/{from}/{to}
  • [ ] GET /aggregations/{sensor_uid}/{agg}/{from}/{to}/{limit}

Usage

All available services automatically authenticate before sending any query to the Cloud API:, (*20)

qowisio.cloud.api.authentication, (*21)

Get infos about authentication., (*22)

qowisio.cloud.api.devices.and.sensors, (*23)

Get infos about devices and their sensors, (*24)

qowisio.cloud.api.measures, (*25)

Get infos about sensor measures, (*26)

qowisio.tracker, (*27)

Get info about the specific tracker device provided during IoT connected days., (*28)

Returns a list of specific Coordinate object, in which you find latitude, longitude and a date., (*29)

qowisio.cloud.api.caller, (*30)

makes the calls to API. You should use it if you want to develop a not yet implemented call., (*31)

Resources

https://developer.qowisio.com/dev/documentation/cloudapi, (*32)

The Versions

02/12 2016

dev-master

9999999-dev

Access data from Qowisio Cloud API

  Sources   Download

The Requires

 

02/12 2016

V1.0.4

1.0.4.0

Access data from Qowisio Cloud API

  Sources   Download

The Requires

 

02/12 2016

dev-composer-naming

dev-composer-naming

Access data from Qowisio Cloud API

  Sources   Download

The Requires

 

02/12 2016

V1.0.3

1.0.3.0

Access data from Qowisio Cloud API

  Sources   Download

The Requires

 

02/12 2016

dev-fix-deprecation-notices

dev-fix-deprecation-notices

Access data from Qowisio Cloud API

  Sources   Download

The Requires

 

01/12 2016

V1.0.2

1.0.2.0

Access data from Qowisio Cloud API

  Sources   Download

The Requires

 

01/12 2016

V1.0.1

1.0.1.0

Access data from Qowisio Cloud API

  Sources   Download

The Requires

 

01/12 2016

V1.0.0

1.0.0.0

Access data from Qowisio Cloud API

  Sources   Download

The Requires