Dweepy to record temperature data: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

24 February 2024

23 February 2024

  • curprev 23:5923:59, 23 February 2024EdmondLascaris talk contribs 2,050 bytes +2,050 Created page with "= Get all data = <syntaxhighlight lang="python"> import dweepy url = dweepy.get_latest_dweet_for('MPPS-Tiny-House-11-bundoora') print(url) </syntaxhighlight> = Get temperature data = <syntaxhighlight lang="python"> import dweepy url = dweepy.get_latest_dweet_for('MPPS-Tiny-House-11-bundoora') print(url) dict = url[0] internalTemp = dict['content'][('intTemp')] print(f'The internal temperature is {internalTemp}') externalTemp = dict['content'][('extTemp')] prin..."