Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

HTTP Client for the MediaAmp/MPX API

Project Description

This is a fairly low-level wrapper around the MediaAmp/MPX endpoints provided by It primarily handles token authentication and provides HTTP methods with configurable default parameters (e.g. schema) for the service endpoints. Because of the multitude of available parameters available at each endpoint this package is intended to be used by your application to build your own abstractions on top of the request and response data. Currently it only supports the JSON (and cJSON) forms.


To get started, supply your credentials: username, password, account id (This is a URL and can be found on the “About” screen in the MPX console). You can optionally supply an authentication token if you have one.

import mediaamp
session = mediaamp.Session(

Once initialized, you can obtain services by key lookup:

media_data = session['Media Data Service']

The endpoints on the service have get(), put(), post(), and delete() methods you can use depending on the actions you are taking.

media_item = media_data.Media.get('{{MEDIA_ID}}')

You can specify your own defaults per-endpoint by calling the endpoint object.

media = media_data.Media(schema='1.8', form='cjson')


pip install mediaampy

Or you can clone the source and run:

make init

Release History

This version
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
(9.8 kB) Copy SHA256 Hash SHA256
Wheel 2.7 Jun 25, 2015
(7.2 kB) Copy SHA256 Hash SHA256
Source None Jun 25, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate