Asynchronous Python Wrapper for the Ufile API

Overview

Ufile.io Hits

Asynchronous Python Wrapper for the Ufile API (Unofficial).

Installation :

pip3 install ufile.io

Usage :

>> from ufile import Ufile

>> ufile = Ufile(api_key='') #  is your ufile api key

# or

>> ufile = Ufile() # as a guest

# to upload
>> data = await ufile.upload_file(file='/path/to/text.bin')
>> print(data)
{'id': 9111424, 'url': 'https://ufile.io/2j9mqrug', 'destination': 'https://ufile.io/2j9mqrug', 'name': 'test.bin', 'filename': '2j9mqrug-1g3er.bin', 'slug': '2j9mqrug', 'size': '10.0 MB', 'type': 'other', 'expiry': '∞', 'location': '6'}

>> file_url = data['url']

>> direct_url = await ufile.download_file(url='https://ufile.io/2j9mqrug')
>> print(direct_url)
https://cdn-eu-hz-1.ufile.io/get/2j9mqxug?token=MDY2NzA4NDU4MzE0MGQwYmJmNWY2MjAyMjU5ZDI0ZDI2NGI3OWVhMTEwOGNiYzZkMzA0YjY0M2FiMTY1YWM2NzJmMjAwYzI2MjFjM2U4NGUwZGE2YmYzNTc1MmU0NzljN2JhZTQ3NDZmNmZjNjM2NTk0NTkwY2YwMGQ1OTliYTJxcmtxOTNKbXdRS3N3L1Y2aWZ6ZTNza2gwU1BQS2huayt2ckNwaFV2K2V6L01wR1ZaREtNalFmeG93T0Q4elBIcHFXOVZVemhRWDd5UUR4UmF4d0VlK2lXQ0ZkMllUYjNuT0RWQ0xtMlU1elBYjF1WG9Xbjg5Qll0Mm90ZVdheUlVeUVJMWkrRWcwUUxSUkVHK1lKaEdlV1RyeVhvcGZjYUR0MTM1ZjBvMVBrOXRhSW53WTdtMjFZTTk1dmpObXZHT3ZaZFc0Ukl2U2VDeDdRPT0=

>> await ufile.delete_file(file_id=9111424)

Credits: โšก

Owner
Gautam Kumar
~ loser
Gautam Kumar
Telephus is a connection pooled, low-level client API for Cassandra in Twisted python.

Telephus Son of Heracles who loved Cassandra. He went a little crazy, at one point. One might almost say he was twisted. Description Telephus is a con

Brandon Williams 93 Apr 29, 2021
Make low level API wrapper in fast, easy.

The lowrapper is a library for quickly and easily creating an environment for tapping the API without implementation.

tasuren 1 Oct 25, 2022
Technical Test - Python Programmer Grupo Nexxera

Technical Test Nexxera Group Teste Tรฉcnico - Grupo de Programadores Python Nexxera ๐Ÿ“ Prepare-se para usar a API Nossa API de transaรงรตes de contas dig

Raul dos Santos Moraes 1 Mar 16, 2022
A multi purpose discord bot for python

Sypher The best multi purpose discord bot. Add Sypher right now Invite Me | Join

Johan Naizu 1 Dec 15, 2022
Create Discord Accounts Semi-Automatically Without Captcha Solving API Key

Discord-Account-Generator Create Discord Accounts Semi-Automatically without captcha solving api key IMPORTANT: Your chromedriver version should be th

NotSakshyam 11 Mar 21, 2022
It is a useful project for developers that includes useful tools for Instagram

InstagramIG It is a useful project for developers that includes useful tools for Instagram Installation : pip install InstagramIG Logan Usage from In

Sidra ELEzz 14 Mar 14, 2022
Spore API wrapper written in Python

A wrapper for the Spore API that simplifies and complements its functionality

1 Nov 25, 2021
N3RP (the NFT Rental Protocol) allows users to trustlessly rent out their ERC721-based assets.

N3RP โ€ข N3RP - An NFT Rental Protocol (pronounced "nerp") Smart Contracts Passing Tests, Frontend Functional But Is Being Beautified. ๐Ÿ›  Introduction T

Grant Stenger 56 Dec 07, 2022
Cogs for RedDiscord-Bot V3

Cogs v3 Disclaimer: This is an unapproved repo, meaning no one has formally reviewed this repo yet and any loss of data in your bot isn't my fault (An

Honkertonken 5 Nov 17, 2022
A tool that helps keeping track of your AWS quota utilization

aws-quota-checker A tool that helps keeping track of your AWS quota utilization. It'll determine the limits of your AWS account and compare them to th

Max 63 Dec 14, 2022
The wrapper you need for the osu!api v2

oppy (op.py) oppy is the wrapper for use on the osu! v2 API. Version 1.0.0 Installation To install please use pip to install oppy pip install op.py To

Wayde 2 May 01, 2022
A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

disfork A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using async a

2 Feb 09, 2022
A modified Sequential and NLP based Bot

A modified Sequential and NLP based Bot I improvised this bot a bit with some implementations as a part of my own hobby project :) Note: I do not own

Jay Desale 2 Jan 07, 2022
Pure Python 3 MTProto API Telegram client library, for bots too!

Telethon โญ๏ธ Thanks everyone who has starred the project, it means a lot! Telethon is an asyncio Python 3 MTProto library to interact with Telegram's A

LonamiWebs 7.3k Jan 01, 2023
A program that generates discord.py code

discord-py-generator A program that generates discord.py code Setup in cmds.txt file add your user id, client id and bot token you can change the bot

3 Dec 15, 2022
The official command-line client for spyse.com

Spyse CLI The official command-line client for spyse.com. NOTE: This tool is currently in the early stage beta and shouldn't be used in production. Yo

Spyse 43 Dec 08, 2022
A Python library for the Buildkite API

PyBuildkite A Python library and client for the Buildkite API. Usage To get the package, execute: pip install pybuildkite Then set up an instance of

Peter Yasi 29 Nov 30, 2022
M3U Playlist for free TV channels

Free TV This is an M3U playlist for free TV channels around the World. Either free locally (over the air): Or free on the Internet: Plex TV Pluto TV P

Free TV 964 Jan 08, 2023
Python library for Spurwing API to schedule appointments, manage calendars and custom integrations.

Spurwing API Python Library Lightweight Python library for Spurwing's API. Spurwing's API makes it easy to add robust scheduling and booking to your a

Spurwing 1 Jul 14, 2021