Skip to main content

Vingd API interface client.

Project description

Vingd enables users to pay with money or with time. Money goes directly to publishers and time is monetized indirectly through interaction with brands, content creation, loyalty, bringing new users, etc. As a result Vingd dramatically increases monetization while keeping reach. Vingd’s secret sauce are mathematical models that are adapting to each user in order to extract as much value as possible from their time.

We use vingds (think of it as “digital currency”, points, or credits) to express the value (“price”) of intangible goods (such as TV streams or newspaper articles), to reward users for their activity (time), or to authorize (“charge”) them access to digital goods.

Vingd API for Python

Vingd API enables you to register Vingd objects you’re selling, create Vingd purchase orders, verify and commit Vingd purchases. You can also reward users, either directly (in backend), or indirectly via Vingd vouchers. Detailed docs and demos are available.

Installation

To install the last stable release of Vingd API:

$ pip install vingd

Or, to install from GitHub source:

$ git clone https://github.com/vingd/vingd-api-python
$ cd vingd-api-python
$ make env && source env/bin/activate   (skip if already in virtualenv)
$ python setup.py install

Example Usage

from vingd import Vingd

v = Vingd(username="<vingd-login-username>", password="<vingd-login-password>")

balance = v.get_user_balance()
print 'My balance is VINGD %.2f.' % (balance/100.0)

vouchers = v.get_vouchers()
print "I have %d active vouchers." % len(vouchers)

For more examples, see example/test.py in source.

Documentation

Automatically generated documentation for latest stable version is available on: https://vingd-api-for-python.readthedocs.org/en/latest/.

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

vingd-0.1.1.tar.gz (12.4 kB view details)

Uploaded Source

File details

Details for the file vingd-0.1.1.tar.gz.

File metadata

  • Download URL: vingd-0.1.1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for vingd-0.1.1.tar.gz
Algorithm Hash digest
SHA256 32ad9b752c9c33d6c9277dae398c50a41d236dac807d6880f96a769f4b0b7a46
MD5 afc2be4f5902bcb886d0352d7f2b753d
BLAKE2b-256 3ddc0c0d256d2fbded210b47e5616574c081ba7eaae0977b105c4055ca85fdfc

See more details on using hashes here.

Supported by

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