Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

Document Micropython compatiblity #23

@peterfroehlich

Description

@peterfroehlich

Hey guys!

This awesome library can be made to work with micropython easily by using the micropython port of datetime and using the micropython versions of time and requests:

@@ -1,8 +1,8 @@
 # coding=utf-8

-import requests
+import urequests as requests
 import datetime
-from time import mktime
+import utime as time

Thats it, everything I tried worked.

What do you think, just a section in the README, an already patched file in a subfolder or a edited fork in a new repo?

XOX

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions