Python wrapper for the Ripple API
Project description
============================================
Python Ripple API and transaction management
============================================
Settings
========
* ``RIPPLE_ACCOUNT`` - account that acts as 'manager' and monitors incoming transactions
* ``RIPPLE_SECRET`` - secret for 'manager' account
* ``RIPPLE_API_DATA[0]['RIPPLE_API_URL']``
* ``RIPPLE_API_DATA[0]['RIPPLE_API_USER']``
* ``RIPPLE_API_DATA[0]['RIPPLE_API_PASSWORD']``
* ``RIPPLE_TIMEOUT`` - timeout for django manamgement command calls
* ``RIPPLE_TRANSACTION_MONITOR_MIN_LEDGER_INDEX`` - offset, ledger index to start transaction monitoring with,
default is the beginning of time
Example Config::
RIPPLE_API_DATA = [
{
'RIPPLE_API_URL': 'http://s_west.ripple.com:51234',
'RIPPLE_API_USER': '',
'RIPPLE_API_PASSWORD': '',
}
] # You can specify multiple servers and ripple_api app will try them in order if one of servers
# returns error
Signals
=======
* ``ripple_api.signals.transaction_status_changed = Signal(providing_args=["old_status"])`` - sent
when existing Transaction's status is changed
* default django's post_save signal is useful to get new Transactions
.. TODO:
* docs on api usage
* docs on management command
Python Ripple API and transaction management
============================================
Settings
========
* ``RIPPLE_ACCOUNT`` - account that acts as 'manager' and monitors incoming transactions
* ``RIPPLE_SECRET`` - secret for 'manager' account
* ``RIPPLE_API_DATA[0]['RIPPLE_API_URL']``
* ``RIPPLE_API_DATA[0]['RIPPLE_API_USER']``
* ``RIPPLE_API_DATA[0]['RIPPLE_API_PASSWORD']``
* ``RIPPLE_TIMEOUT`` - timeout for django manamgement command calls
* ``RIPPLE_TRANSACTION_MONITOR_MIN_LEDGER_INDEX`` - offset, ledger index to start transaction monitoring with,
default is the beginning of time
Example Config::
RIPPLE_API_DATA = [
{
'RIPPLE_API_URL': 'http://s_west.ripple.com:51234',
'RIPPLE_API_USER': '',
'RIPPLE_API_PASSWORD': '',
}
] # You can specify multiple servers and ripple_api app will try them in order if one of servers
# returns error
Signals
=======
* ``ripple_api.signals.transaction_status_changed = Signal(providing_args=["old_status"])`` - sent
when existing Transaction's status is changed
* default django's post_save signal is useful to get new Transactions
.. TODO:
* docs on api usage
* docs on management command
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-ripple_api-0.0.33.tar.gz
(20.0 kB
view hashes)
Built Distribution
Close
Hashes for django-ripple_api-0.0.33.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e36100ef428d85326674e57e2768bb2731bf96f2254d0e9616d1e482f612536 |
|
MD5 | 90e2c5aa94ff6ad751f12153413e5361 |
|
BLAKE2b-256 | 3070ab22634457e97c170acf74aeff000fa8f01eb35606f01630d2cb6a5728c3 |