An API wrapper for convertio.co
Project description
convertio
An API wrapper for convertio.co. Before starting, make sure you've got an API key. The full API reference can be found on convertio.co/api/docs/, but I'll make a documentation for this package soon.
Get started
- Sign-up to developers.convertio.co.
- Get your free API key from the homepage
Quick start
import convertio
import time
client = convertio.Client(token="INSERT_YOUR_TOKEN_HERE")
id = client.convert_by_filename('source.txt', 'pdf')
while client.check_conversion(id).step != 'finish':
time.sleep(1)
client.download(id, 'result.pdf')
client.delete(id)
Notes
Version 1.0.0
This module is neither created nor managed by convertio.co. It represents services faithful to the API and documentation from their website. This API is not unofficial, and it can be payable if you exceed a certain usage. Notice that you must respect convertio.co's terms of use.
Links
- Get an API key
- API pricing
- OCR (options) pricing
- Conversion types
- GitHub
- PHP module by convertio.co
- CLI for convertio.co, by themselves
Changelog
- Initial commit
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
convertio-1.0.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for convertio-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd9a7b5901c5f0895754f7687c84c4e49f58fd5e4f7343b95486789d4c7bded |
|
MD5 | cc9374774ea7f548442f2b4caf827ba3 |
|
BLAKE2b-256 | 936c51aa5c52f5ec3762527e8413f6ee244093156869f95237562bb3f76140ce |