gofile-client

Interact with the gofile.io API


License
Apache-2.0
Install
pip install gofile-client==1.0.1

Documentation

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'])