Interact with the gofile.io API
Project description
gofile-client
A wrapper around the gofile.io API.
Installation
via pip
pip install --user gofile-client
Usage
from gofile import Gofile
client = Gofile(token='<your-token>')
# Upload a file
response = client.upload_file('path/to/file')
print(response)
# Get the link to a file
folder_contents = client.get_content('<file-id>')
for _, item in folder_contents:
print(item['link'])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gofile-client-1.0.1.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for gofile_client-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59def66cfcadf3d237e3bbf79eae8a53978d1f0004e0cb8c2cae515bbcfdf562 |
|
MD5 | 04f36f7fe05bf8826defec0c7f2f9744 |
|
BLAKE2b-256 | eb03ba68fc9d7582c7d536a0e4ddc7b70832f38b59f544f84fd14f7bb82febb6 |