Skip to main content

A basic module to access MediaFire's rest API

Project description

This module provides a subset of MediaFire’s REST API. Only the basic stuff is done : upload, download, create folder, read folder. We support http(s) proxy.

If you have questions, patches, etc. feel free to contact the author directly at schampailler at skynet dot be.

Please note that this module is in no way endorsed by MediaFire.


Let’s look at a simple session:

from pymediafire import MediaFireSession

# Open a session with your credential (check MediaFire's developper page
# for all the information). It's basically email, password, appid, sessionkey.
# You can http(s) proxy information as well; check the source code
# for full constructor parameters.

mf = MediaFireSession('', 'password', '123123',

# Load the root folder (no parameter == root folder)

f = mf.load_folder()

# The following print will give a list of pymediafire objects representing
# files and folders on the server.


# [FILE: dbcr.txt 198 bytes 2013-12-04 14:41:56 ma32h6y9fkmdmub,
# FOLDER: backup_folder q3w4bx45i432c]

# Download the first file of the loaded folder[0], f[0].filename)

Project details

Release history Release notifications

History Node


History Node


History Node


This version
History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date (8.3 kB) Copy SHA256 hash SHA256 Source None Jan 18, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page