Gr3atWh173 / fileioapi

An API wrapper for the file.io web service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File.io

An API wrapper for the file.io web service.

Install

$ pip3 install fileio

or

$ git clone https://github.com/gr3atwh173/fileioapi
$ cd fileioapi
$ python3 setup.py install

Usage

import fileioapi

# upload a file
resp = fileioapi.upload("image.png", expiry="12w")

# download a file and save to 'downloaded.png'
down = fileioapi.download(resp['link'], filename='downloaded.png')

About

An API wrapper for the file.io web service.

License:MIT License


Languages

Language:Python 100.0%