Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isaacxbt/TransfershAPI
Transfer.sh API Wrapper
https://github.com/isaacxbt/TransfershAPI
api download python simple transfer upload
Last synced: about 2 months ago
JSON representation
Transfer.sh API Wrapper
- Host: GitHub
- URL: https://github.com/isaacxbt/TransfershAPI
- Owner: isaacxbt
- License: mit
- Created: 2021-04-11T17:33:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-26T14:00:49.000Z (about 2 years ago)
- Last Synced: 2024-05-29T00:27:38.747Z (4 months ago)
- Topics: api, download, python, simple, transfer, upload
- Homepage:
- Size: 17.6 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Transfer.sh-api
[![License](https://img.shields.io/badge/license-MIT-blue)](https://choosealicense.com/licenses/mit/)
[![Python 3.x](https://img.shields.io/badge/python-3.x-yellow.svg)](https://www.python.org/)Transfersh is a Python library for upload files on [transfer.sh](https://transfer.sh/).
## About
This Python API was created to make uploading and downloading files from [transfer.sh](https://transfer.sh/) simple.## Installation
```bash
pip install transfersh-cli && pip install wget
```## Usage
### Upload files
```bash
transfersh "filepath"
```### Download files
```python
import wgettry:
download = wget.download("direct URL") # How? https://encrypting.host/uRZkzQnPb8.gif?key=R4WzyRMxLBDjcp
except Exception as e:
print(e)
# your file can't be downloaded.
```## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.