Skip to main content

Client library for the BigDoor API, based on RESTkit

Project description

BigDoor Client

This is a Python client library for the BigDoor API.

Basic Usage

The bigdoorkit client requires your keys as provided by BigDoor:

>>> from bigdoorkit import Client
>>> client = Client(app_secret, app_key)
>>> currency_types = client.get('currency_type')
>>> from pprint import pprint
>>> pprint(currency_types)
[[{u'can_be_cross_publisher': 0,
   u'can_be_purchased': 1,
   u'can_be_rewarded': 0,
   u'created_timestamp': 1263933875,
   u'description': None,
   u'has_dollar_exchange_rate_integrity': 1,
   u'id': 1,
   u'modified_timestamp': 1263933875,
   u'read_only': 0,
   u'resource_name': u'currency_type',
   u'title': u'Purchase'},
  {u'can_be_cross_publisher': 0,
   u'can_be_purchased': 0,
   u'can_be_rewarded': 1,
   u'created_timestamp': 1263933875,
   u'description': None,
   u'has_dollar_exchange_rate_integrity': 0,
   u'id': 2,
   u'modified_timestamp': 1263933875,
   u'read_only': 0,
   u'resource_name': u'currency_type',
   u'title': u'Reward'},
  {u'can_be_cross_publisher': 0,
   u'can_be_purchased': 1,
   u'can_be_rewarded': 1,
   u'created_timestamp': 1263933875,
   u'description': u'',
   u'has_dollar_exchange_rate_integrity': 0,
   u'id': 3,
   u'modified_timestamp': 1264002256,
   u'read_only': 0,
   u'resource_name': u'currency_type',
   u'title': u'Hybrid'},
  {u'can_be_cross_publisher': 1,
   u'can_be_purchased': 0,
   u'can_be_rewarded': 0,
   u'created_timestamp': 1263933875,
   u'description': None,
   u'has_dollar_exchange_rate_integrity': 1,
   u'id': 4,
   u'modified_timestamp': 1263933875,
   u'read_only': 0,
   u'resource_name': u'currency_type',
   u'title': u'\xdcber'}],
 {}]

Known Issues

  • The resource module is under heavy development and should not be used for now.

  • Very little formal documentation.

  • Unit tests are sparse.

News

0.1.3

Release date: 29-Jul-2010

  • Some progress on the resource module

  • Fixed deprecation warning from RESTkit

  • Requests no longer modify params/payload dicts in place, using a copy to build the request. This prevents the original dicts from being filled with request specific data (auto-generated token, time, etc).

0.1.2

Release date: 23-Jun-2010

  • DELETE methods now automatically add the delete_token parameter.

  • DELETE methods no longer try to decode the JSON response as the BigDoor API returns 204 NO CONTENT.

0.1.1

Release date: 18-Jun-2010

  • Improved docstrings.

  • Removed hard coded logging to client_log.txt.

0.1

Release date: 10-Jun-2010

  • Initial release.

Project details


Download files

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

Source Distribution

bigdoorkit-0.1.4.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

bigdoorkit-0.1.4-py2.6.egg (22.4 kB view details)

Uploaded Source

File details

Details for the file bigdoorkit-0.1.4.tar.gz.

File metadata

  • Download URL: bigdoorkit-0.1.4.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bigdoorkit-0.1.4.tar.gz
Algorithm Hash digest
SHA256 56ef0a1bf154b59f40d5701786bf6a4079f846ac274e80d9ac2497cfa87e7286
MD5 35493bfffeb27e5aa38072aa4ad9982f
BLAKE2b-256 ea79a7189c7bedb9b5c92a95aabc1b1b50b6569a192b09e048da5dbfe309275e

See more details on using hashes here.

File details

Details for the file bigdoorkit-0.1.4-py2.6.egg.

File metadata

File hashes

Hashes for bigdoorkit-0.1.4-py2.6.egg
Algorithm Hash digest
SHA256 75f3564cd062772dc58e400d205aaa84700f60a56b12860c8da866466dda7516
MD5 077c042421c4804781b52cce47c7d872
BLAKE2b-256 5ea2e72594903361ddbf7a5891dcac07d3ee06c378958b6911de2ff442da47e0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page