A basic module to access MediaFire's rest API
This module provides a subset of MediaFire’s REST API. Only the basic stuff is done : upload, download, create folder, read folder.
If you have questions, patches, etc. feel free to contact the author directly.
Let’s look at a simple session:
from pymediafire import MediaFireSession mf = MediaFireSession('firstname.lastname@example.org','password','123123','7kjshfksjdhf435lkj435345kj') # Load the root folder f = mf.load_folder() # The following print will give a list of pymediafire objects representing # files and folders on the server. print(f) # [FILE: dbcr.txt 198 bytes 2013-12-04 14:41:56 ma32h6y9fkmdmub, # FOLDER: backup_folder q3w4bx45i432c] # Download the first file of the loaded folder mf.download(f, f.filename)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pymediafire-0.1.0.zip (8.1 kB)||File type Source||Python version None||Upload date||Hashes View|