Skip to main content

An API Client Library for Rapnet for Python 3

Project description

Rapnet Python SDK

.. image::

This is a very primary API Client Library to work with Rapnet_.


Currently it only supports `Premium JSON API`_ and `Price List API`_, DSL_ and `Upload API`_.

Via pip:

.. code:: bash

pip install rapnet

Simply Instantiate a ``RapNetAPI`` object with proper ``usernmae`` and ``password``.

.. code:: python

from rapnet import RapNetAPI
rapi = RapNetAPI(username, password)


*Arguments: None*
Returns price sheet's metadata.

*Arguments: Shape[Optional]*
Returns price list sheet by shape.

*Arguments: Shape[Optional]*
Returns price changes by shape.

*Arguments: params(format: JSON)[Optional]*
Returns filtered price list. For filters consult `Price Doc`_.

*Arguments: params(format: JSON)[Optional]*
Returns paginated, filtered diamond details. For filter parameters consult `Details Doc`_.

*Arguments: id(format: Integer)*
Return a single diamond detail by ID.

*Arguments: datafile(format: String)[Optional]*
Return all diamonds details in the API. Time Consuming, Beware!

*Arguments: datafile(format: String)[Optional]*
Get Download Listing Service Data. Extra supscription needed.

*Arguments: datastring(format: String)*
Upload single diamond details in a string.
For formatting details consult:

*Arguments: uploadfile(format: String)*
Upload diamonds details in a csv file.
For formatting details consult:

.. _Rapnet:
.. _`Premium JSON API`:
.. _`Price Doc`:
.. _`Details Doc`:
.. _`Price List API`:
.. _DSL:
.. _`Upload API`:

Project details

Download files

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

Files for rapnet, version 2.1.9
Filename, size File type Python version Upload date Hashes
Filename, size rapnet-2.1.9-py3.6.egg (9.0 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size rapnet-2.1.9.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page