piermesh/docs/Components/hopper.md

29 lines
775 B
Markdown
Raw Normal View History

2024-08-01 22:03:59 +00:00
<a id="hopper-small-internet-interop-utilities"></a>
2024-08-01 01:00:46 +00:00
# hopper: Small internet interop utilities
2024-07-28 11:21:15 +00:00
2024-08-01 22:03:59 +00:00
[🔗 Source](https://git.utopic.work/PierMesh/piermesh/src/branch/main/Sponge/Protocols/map.py)
<a id="module-Components.hopper"></a>
2024-11-26 17:43:02 +00:00
### 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)
2024-07-28 11:21:15 +00:00
http/s get request
* **Parameters:**
* **url** (*str*)
* **params** Requests (library) parameters
2024-11-26 17:43:02 +00:00
* **followTags** None or list of tags to download the src/href from
2024-07-28 11:21:15 +00:00
### Components.hopper.post(url: str, params=None)
http/s post request
* **Parameters:**
* **url** (*str*)
* **params** Requests (library) parameters