29 lines
775 B
Markdown
29 lines
775 B
Markdown
<a id="hopper-small-internet-interop-utilities"></a>
|
||
|
||
# hopper: Small internet interop utilities
|
||
|
||
[🔗 Source](https://git.utopic.work/PierMesh/piermesh/src/branch/main/Sponge/Protocols/map.py)
|
||
|
||
<a id="module-Components.hopper"></a>
|
||
|
||
### Components.hopper.downloadFile(url, text=True, mimeType=None)
|
||
|
||
Download resource from url and convert it to text or a data url
|
||
|
||
### Components.hopper.get(url: str, params=None, followTags=None)
|
||
|
||
http/s get request
|
||
|
||
* **Parameters:**
|
||
* **url** (*str*)
|
||
* **params** – Requests (library) parameters
|
||
* **followTags** – None or list of tags to download the src/href from
|
||
|
||
### Components.hopper.post(url: str, params=None)
|
||
|
||
http/s post request
|
||
|
||
* **Parameters:**
|
||
* **url** (*str*)
|
||
* **params** – Requests (library) parameters
|