osnapi/core.py
def mySensors() -> List[Sensor]:
    """ HTTP: GET
        Note: This function requires previous authentication.

        Output:
            - A List of the Sensors you've created / own.
        Note: Returns a List, even if you've only created one Sensor so far.
        Example:
            [
                {
                    'id': 61,
                    'userId': 2,
                    'measurandId': 1,
                    'unitId': 1,
                    'location': {'lat': 1.0, 'lng': 1.0},
                    'altitudeAboveGround': 0.0,
                    'directionVertical': 0,
                    'directionHorizontal': 0,
                    'sensorModel': 'test_string',
                    'accuracy': 0,
                    'attributionText': 'test_string',
                    'attributionURL': 'test_url',
                    'licenseId': 1
                  },
            ]
    """
    query = build_query(target='/sensors/mysensors')
    return send_get(query, requires_auth=True)
 HTTP: GET
        Note: This function requires previous authentication.

        Output:
            - A List of the Sensors you've created / own.
        Note: Returns a List, even if you've only created one Sensor so far.
        Example:
            [
                {
                    'id': 61,
                    'userId': 2,
                    'measurandId': 1,
                    'unitId': 1,
                    'location': {'lat': 1.0, 'lng': 1.0},
                    'altitudeAboveGround': 0.0,
                    'directionVertical': 0,
                    'directionHorizontal': 0,
                    'sensorModel': 'test_string',
                    'accuracy': 0,
                    'attributionText': 'test_string',
                    'attributionURL': 'test_url',
                    'licenseId': 1
                  },
            ]
    
GET
Note: This function requires previous authentication.

A List of the Sensors you've created / own.
Note: Returns a List, even if you've only created one Sensor so far.
GET Note : This function requires previous authentication . A List of the Sensors you ' ve created / own . Note : Returns a List even if you ' ve only created one Sensor so far .
def mySensors() -> List[Sensor]:
    query = build_query(target='/sensors/mysensors')
    return send_get(query, requires_auth=True)
def mySensors ( ) -> List [ Sensor ] : query = build_query ( target = '/sensors/mysensors' ) return send_get ( query , requires_auth = True )
HTTP: GET
Note: This function requires previous authentication.
HTTP : GET Note : This function requires previous authentication .
""" HTTP: GET
        Note: This function requires previous authentication.

        Output:
            - A List of the Sensors you've created / own.
        Note: Returns a List, even if you've only created one Sensor so far.
        Example:
            [
                {
                    'id': 61,
                    'userId': 2,
                    'measurandId': 1,
                    'unitId': 1,
                    'location': {'lat': 1.0, 'lng': 1.0},
                    'altitudeAboveGround': 0.0,
                    'directionVertical': 0,
                    'directionHorizontal': 0,
                    'sensorModel': 'test_string',
                    'accuracy': 0,
                    'attributionText': 'test_string',
                    'attributionURL': 'test_url',
                    'licenseId': 1
                  },
            ]
    """
examples
[
{
'id': 61,
'userId': 2,
'measurandId': 1,
'unitId': 1,
'location': {'lat': 1.0, 'lng': 1.0},
'altitudeAboveGround': 0.0,
'directionVertical': 0,
'directionHorizontal': 0,
'sensorModel': 'test_string',
'accuracy': 0,
'attributionText': 'test_string',
'attributionURL': 'test_url',
'licenseId': 1
},
]
[ { ' id ' : 61 ' userId ' : 2 ' measurandId ' : 1 ' unitId ' : 1 ' location ' : { ' lat ' : 1 . 0 ' lng ' : 1 . 0 } ' altitudeAboveGround ' : 0 . 0 ' directionVertical ' : 0 ' directionHorizontal ' : 0 ' sensorModel ' : ' test_string ' ' accuracy ' : 0 ' attributionText ' : ' test_string ' ' attributionURL ' : ' test_url ' ' licenseId ' : 1 } ]