pyfax.tools.url_helpers
¶
Helpers for loading data from URLs.
Module Contents¶
Functions¶
|
Load data from an RSS feed. |
|
Load data from a JSON feed. |
|
Load data from a CSV feed. |
|
Load data from a URL. |
- pyfax.tools.url_helpers.load_rss(url)¶
Load data from an RSS feed.
- Parameters:
url – The URL of the feed.
- pyfax.tools.url_helpers.load_json(url, headers={}, cookies={})¶
Load data from a JSON feed.
- Parameters:
url – The URL of the feed.
headers – Headers to send with the request.
cookies – Cookies to send with the request.
- pyfax.tools.url_helpers.load_csv(url, headers={}, cookies={})¶
Load data from a CSV feed.
- Parameters:
url – The URL of the feed.
headers – Headers to send with the request.
cookies – Cookies to send with the request.
- pyfax.tools.url_helpers.load(url, headers={}, cookies={})¶
Load data from a URL.
- Parameters:
url – The URL.
headers – Headers to send with the request.
cookies – Cookies to send with the request.