You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ Crownstone cloud is initialized with 2 arguments:
84
84
* User email
85
85
* User password
86
86
87
-
If you do not yet have a Crownstone account, go to (My Crownstone)[my.crownstone.rocks] to set one up.
87
+
If you do not yet have a Crownstone account, go to [My Crownstone](my.crownstone.rocks) to set one up.
88
88
The email and password are used to re-login after an access token has expired.
89
89
```Python
90
90
cloud = CrownstoneCloud('email', 'password')
@@ -222,7 +222,7 @@ A User has the following fields in the cloud lib:
222
222
223
223
### Sphere
224
224
225
-
#### get_keys() -> dict
225
+
#### get_keys() -> Dict
226
226
> Async function. Returns a dict with the keys of this sphere. The keys can be used for BLE connectivity with the Crownstones.
227
227
228
228
### Crownstones
@@ -244,7 +244,7 @@ A User has the following fields in the cloud lib:
244
244
#### turn_off()
245
245
> Async function. Send a command to turn a Crownstone off. To make this work make sure to be in the selected sphere and have Bluetooth enabled on your phone.
246
246
247
-
#### set_brightness(percentage: int)
247
+
#### set_brightness(percentage: Int)
248
248
> Async function. Send a command to set a Crownstone to a given brightness level. To make this work make sure to be in the selected sphere and have Bluetooth enabled on your phone.
249
249
250
250
### Locations
@@ -263,10 +263,10 @@ A User has the following fields in the cloud lib:
263
263
#### update()
264
264
> Async function. Sync the Users with the cloud for a sphere. Doing this will replace all the current user data with that of the cloud.
265
265
266
-
#### find_by_first_name(first_name: String) -> list
266
+
#### find_by_first_name(first_name: String) -> List
267
267
> Returns a list of all users with that first name, as duplicate first names can exist.
268
268
269
-
#### find_by_last_name(last_name: String) -> list
269
+
#### find_by_last_name(last_name: String) -> List
270
270
> Return a list of all users with that last name, as duplicate last names can exist.
0 commit comments