action netatmo_getuser { label: "getuser" description: "The method getuser returns information about a user such as prefered language, prefered units, and list of devices.\n" provider: netatmo method: GET path: "/getuser" encoding: json output: { properties: { body: { properties: { _id: { type: "string" } administrative: { properties: { country: { type: "string" description: "user country" } feel_like_algo: { type: "string" description: "algorithm used to compute feel like temperature, 0 -> humidex, 1 -> heat-index" } lang: { type: "string" description: "user locale" } pressureunit: { type: "string" description: "0 -> mbar, 1 -> inHg, 2 -> mmHg" } reg_locale: { type: "string" description: "user regional preferences (used for displaying date)" } unit: { type: "string" description: "0 -> metric system, 1 -> imperial system" } windunit: { type: "string" description: "0 -> kph, 1 -> mph, 2 -> ms, 3 -> beaufort, 4 -> knot" } } } date_creation: { properties: { sec: { type: "integer" format: "int32" } usec: { type: "integer" format: "int32" } } } devices: { type: "array" description: "An array of string containing the ids of the devices owned by the user" items: { type: "string" } } friend_devices: { type: "array" description: "An array of string containing the ids of the devices on which the user has a \"guest\" access\n" items: { type: "string" } } mail: { type: "string" } timeline_not_read: { type: "integer" format: "int32" } timeline_size: { type: "integer" format: "int32" } } } status: { type: "string" } time_exec: { type: "number" format: "double" } time_server: { type: "integer" format: "int32" } } } }