4c3e / rrtprequest

Similar to the Python request library, but for Reticulum

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rrtprequest

Similar to the Python request library, but for Reticulum

NOTE: This library blocks as it waits for a response, in order to keep it's use syncronous.

Usage example:

from RIPRequest import RIPRequest

request = RIPRequest()
r = request.get("rip://2578107e805ce83655fd")
print(r.status)
print(r.type)
print("---")
print(r.body)

Outputs something like:

20
text/micron
---
>Hello World
This is my Webpage written in Micron!

About

Similar to the Python request library, but for Reticulum

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 100.0%