piermesh/docs/Components/hopper.md

29 lines
775 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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