Skip to content

pennacap/cosmopawn-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CosmoPawn-Py : An API wrapper for CosmoPawn in Python

Installation

pip install cosmopawn
# or
pip3 install cosmopawn
# or
pip install git+https://github.com/pennacap/cosmopawn-py

Usage

import cosmopawn
wrapper = cosmopawn.CosmoPawn() # Or pass in an IP address / domain
wrapper.download('dog', prefix='dog_pics/dog', no=10) # downloads 10 dog pictures, prefixing their file name with dog and saving it to dog_pics/
wrapper.upload(['file1.jpg', 'file2.png'], ['keyword1', 'keyword2']) # upload file1.jpg and file2.png with keywords keyword1 and keywords2

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages