|
|
|
RapLink
is a RapNet service that lets you retrieve diamond listings from
RapNet that you can post on your own website or save in your own database.
Typically this is useful if you have your own website, and want to have a diamond
search on it. RapLink allows you to do exactly that, to populate your website with
diamonds from RapNet.
The first step is to find the right diamonds for you. By default, diamond listings
are not included in RapLink, and only become available when a vendor lets you download
her stock. Some vendors have set everyone to be allowed to download their stock
listings. You can use the RapNet search and RapNet member directory to find vendors that match your
business needs.
Please note that automatically gathering information from the regular
RapNet search
or storing this information in your own database, is in violation of the RapNet
policy and will get you banned from
RapNet.
Click here for more information how to set up your feed.
Important notice: From January 1st we will not allow automated computer program access to
www.diamonds.net and www.rapnet.com. All automated access has to go to this website (technet.rapaport.com).
In order to change your program you will have to change the old codes generated (URL) and change the authentication
method as you can find in the code samples.
To change the old URL's subsitute a part with this:
| Old |
http://www.rapnet.com/rapnet/DownloadListings/download.aspx |
| New |
http://technet.rapaport.com/HTTP/RapLink/download.aspx |
| |
|
| Old |
http://www.diamonds.net/rapnet/DownloadListings/download.aspx |
| New |
http://technet.rapaport.com/HTTP/RapLink/download.aspx |
For example:
http://www.diamonds.net/rapnet/DownloadListings/download.aspx?CaratSizeFrom=0.30&CaratSizeTo=5&ColorFrom=D&ColorTo=K&SortBy=owner&White=1&Fancy=1&Programmatically=yes
would become:
http://technet.rapaport.com/HTTP/RapLink/download.aspx?CaratSizeFrom=0.30&CaratSizeTo=5&ColorFrom=D&ColorTo=K&SortBy=owner&White=1&Fancy=1&Programmatically=yes
In the code example this will be refered to as "GENERATED_URL_QUERY".
If you don't do a separate authentication request, but rather want to pass the username
and password in the POST request, you can do so, but you will have to change "HTTP" to "HTTPS".
Related links:
|
|