This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This is a fairly low-level wrapper around the MediaAmp/MPX endpoints provided by theplatform.com. 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.

Usage

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(
    'example@example.com',
    'very_very_secret',
    'http://access.auth.theplatform.com/data/Account/{{YOURID}}',
    auth_token='YOUR_TOKEN',
)

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}}')
media_item['description']

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

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

Installation

pip install mediaampy

Or you can clone the source and run:

make init
Release History

Release History

0.2.8

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.7

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.6

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mediaampy-0.2.8-py2.py3-none-any.whl (9.8 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jun 25, 2015
mediaampy-0.2.8.tar.gz (7.2 kB) Copy SHA256 Checksum SHA256 Source Jun 25, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting