Removed token
@@ -31,8 +31,9 @@ socket = socketpool.SocketPool(wifi.radio)
https = requests.Session(socket, ssl.create_default_context())
# Paste your API token below
-#TOKEN = "YOUR_API_TOKEN"
-TOKEN = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYwYTdlYmZiZjk2N2U2MDAxNzNmNWY0MCIsImlhdCI6MTYzMzM2NzM5NiwiZXhwIjoxNjQyMDA3Mzk2fQ.vJsMVR_b8QMl7APrqoEFNPXIq-jeLKXB8yUeQPIDK_o" # pylint: disable=line-too-long
+TOKEN = "YOUR_API_TOKEN"
+
+
def font_width_to_dict(font):
# Reads the font file to determine how wide each character is
# Used to avoid bad wrapping breaking the QR code
@@ -87,7 +88,6 @@ def wrap(text, max_width, max_lines, font):
return "\n".join(lines[:max_lines])
-
# Get first 300 items, saving only the OSHWA UIDs. The first 300 are also used to find the
# number of requests that will need to be made.
# This was done this way since if the items themselves were all asked for and stored, the MagTag
