Skip to content

rdnkarchiver/gofile-client

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages