Work with alice skills images: upload|list|delete
Project description
Alice-images
Work with alice skills images: upload|list|delete
Usage
In code
from alice_images import upload_image
upload_image(
skill_id='<skill_id>',
oauth_token='<oauth_token>',
image_url='https://<image_url>/' # or image_path='/tmp/image.jpg'
)
CLI
Upload by url:
alice_images --skill_id '<skill_id>' --oauth_token '<oauth_token>' upload --image_url 'https://<image_url>/'
Upload by path:
alice_images --skill_id '<skill_id>' --oauth_token '<oauth_token>' upload --image_path '/tmp/image.jpg'
For more info use --help
:
$ alice_images --help
Usage: alice_images [OPTIONS] COMMAND [ARGS]...
Options:
--skill-id TEXT Alice skill id [required]
--oauth-token TEXT Account OAuth token [required]
--help Show this message and exit.
Commands:
delete
list
status
upload
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
alice-images-0.0.3.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for alice_images-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ab7161be3d679108c0792558fa522076766ebdd1f28fd042825562f5946fbaf |
|
MD5 | 28880467650d23bbfed526f89c813415 |
|
BLAKE2b-256 | ec5711738f3b397e2e2f514f42894be51962fc6c9ef5bc6692457a679158657b |