osnapi/core.py
def addValue(body:Value) -> str:
    """ HTTP: POST
        Note: This function requires previous authentication.

        Input:
            - A Value, including the sensorId that it should be added to.
        Note: You can only add values to sensors you've created / own.
        Example:
            {
                "sensorId": 61,
                "timestamp": "2019-11-23T01:23:45.678Z",
                "numberValue": 1.0
            }

        Output:
            - The string 'OK' if operation was successful, weird status codes otherwise.
        Note: weird status codes cause an Exception() to be thrown.
    """
    query = build_query(target='/sensors/addValue')
    return send_post(query, body, requires_auth=True)
 HTTP: POST
        Note: This function requires previous authentication.

        Input:
            - A Value, including the sensorId that it should be added to.
        Note: You can only add values to sensors you've created / own.
        Example:
            {
                "sensorId": 61,
                "timestamp": "2019-11-23T01:23:45.678Z",
                "numberValue": 1.0
            }

        Output:
            - The string 'OK' if operation was successful, weird status codes otherwise.
        Note: weird status codes cause an Exception() to be thrown.
    
POST
Note: This function requires previous authentication.

A Value, including the sensorId that it should be added to.
Note: You can only add values to sensors you've created / own.
POST Note : This function requires previous authentication . A Value including the sensorId that it should be added to . Note : You can only add values to sensors you ' ve created / own .
def addValue(body:Value) -> str:
    query = build_query(target='/sensors/addValue')
    return send_post(query, body, requires_auth=True)
def addValue ( body : Value ) -> str : query = build_query ( target = '/sensors/addValue' ) return send_post ( query , body , requires_auth = True )
HTTP: POST
Note: This function requires previous authentication.
HTTP : POST Note : This function requires previous authentication .
""" HTTP: POST
        Note: This function requires previous authentication.

        Input:
            - A Value, including the sensorId that it should be added to.
        Note: You can only add values to sensors you've created / own.
        Example:
            {
                "sensorId": 61,
                "timestamp": "2019-11-23T01:23:45.678Z",
                "numberValue": 1.0
            }

        Output:
            - The string 'OK' if operation was successful, weird status codes otherwise.
        Note: weird status codes cause an Exception() to be thrown.
    """
body
Value
examples
None