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_url 'https://<image_url>/'
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.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for alice_images-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18d90cd5adec1ab2cbf51e94ac9a9d37edbead33c3badc72bf15406634bc20e4 |
|
MD5 | 95128d4feee200effbd2f0ae7365bbdc |
|
BLAKE2b-256 | 83e95a044520afeedb1a0cea0e79f376a88ef0655fcf1a565fe9402f45fd5ee3 |