Skip to content

Commit bae611b

Browse files
authored
Update random_data.py
1 parent d732c49 commit bae611b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/api/random_data.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
from Adafruit_IO import Client, Feed, RequestError
1313

1414
# Set to your Adafruit IO key.
15-
ADAFRUIT_IO_USERNAME = 'brubell'
16-
ADAFRUIT_IO_KEY = '6ec4b31bd2c54a09be911e0c1909b7ab'
15+
ADAFRUIT_IO_USERNAME = 'YOUR_IO_USERNAME'
16+
ADAFRUIT_IO_KEY = 'YOUR_IO_KEY'
1717

1818
# Create an instance of the REST client.
1919
aio = Client(ADAFRUIT_IO_USERNAME, ADAFRUIT_IO_KEY)
@@ -25,4 +25,4 @@
2525
# Parse the API response
2626
data = json.dumps(random_data)
2727
data = json.loads(data)
28-
print('Random Data: {0}'.format(data['value']))
28+
print('Random Data: {0}'.format(data['value']))

0 commit comments

Comments
 (0)