We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d732c49 commit bae611bCopy full SHA for bae611b
examples/api/random_data.py
@@ -12,8 +12,8 @@
12
from Adafruit_IO import Client, Feed, RequestError
13
14
# Set to your Adafruit IO key.
15
-ADAFRUIT_IO_USERNAME = 'brubell'
16
-ADAFRUIT_IO_KEY = '6ec4b31bd2c54a09be911e0c1909b7ab'
+ADAFRUIT_IO_USERNAME = 'YOUR_IO_USERNAME'
+ADAFRUIT_IO_KEY = 'YOUR_IO_KEY'
17
18
# Create an instance of the REST client.
19
aio = Client(ADAFRUIT_IO_USERNAME, ADAFRUIT_IO_KEY)
@@ -25,4 +25,4 @@
25
# Parse the API response
26
data = json.dumps(random_data)
27
data = json.loads(data)
28
-print('Random Data: {0}'.format(data['value']))
+print('Random Data: {0}'.format(data['value']))
0 commit comments