Skip to content

timestreams.count_measurements XML RPC procedure

pszjmb1 edited this page Jun 22, 2012 · 3 revisions

Timestreams is an API that provides functions to add and organise sensor data. This page describes the timestreams.count_measurements XML-RPC API procedure.

Description

A POST request containing this procedure name will have returned the count of measurements in a measurement container for a given blog's device. The following is the procedure call signature to retrieve a count of the measurements in a given measurement container: <methodCall> <methodName>timestreams.count_measurements</methodName> <params> <param><value><string>User Name</string></value></param> <param><value><string>Password</string></value></param> <param><value><string>Measurement Container Name</string></value></param> </params> </methodCall>

Parameter Description
User Name Name of blog user
Password Password of blog user
Measurement Container Name Value returned from timestreams.create_measurements

Example Response

<?xml version="1.0"?> <methodResponse> <params> <param> <value> <string>5</string> </value> </param> </params> </methodResponse>