Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gofile_client-1.0.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file gofile-client-1.0.1.tar.gz.

File metadata

  • Download URL: gofile-client-1.0.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for gofile-client-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1cc54630f1f4cbc09654ded012b4a5cd4992aa6ee67442dbba873edd63d01eff
MD5 a532385d0423f9d41b19dd3a13bf455b
BLAKE2b-256 a9ca3183e835bd013d40486cbf922615c482d39fb647dc656d74acd0e05380d0

See more details on using hashes here.

File details

Details for the file gofile_client-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: gofile_client-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for gofile_client-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59def66cfcadf3d237e3bbf79eae8a53978d1f0004e0cb8c2cae515bbcfdf562
MD5 04f36f7fe05bf8826defec0c7f2f9744
BLAKE2b-256 eb03ba68fc9d7582c7d536a0e4ddc7b70832f38b59f544f84fd14f7bb82febb6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page