Skip to content

antonioortegajr/create-price-range-of-saved-links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

READ ME

This code is for demonstration purposes. It does use the IDX Broker API, but IS NOT supported by IDX Broker in any way.

DO NOT contact IDX Broker regarding this code.

IDX Broker API documentation located at: http://middleware.idxbroker.com/docs/api/1.1/clients.php

This script is two simple files. One does a GET API (version 1.2.1 ONLY) call to collect the saved links.

This is get-saved-links.php and will use one API call on each load. This then passes the API key, and link info to post-saved-links.php which creates several saved links using the existing fields, but adding/editing a price range. For simplicity I am just going to pass these via url string. I don't really recommend passing API keys this way however.

Saved links are created via API PUT method. Links are built from a already existing saved link The first newly built saved link will have a price range of 100000 to 200000 and the next link will be 200000 to 300000 and so on until 500000 is reached.

About

Use API calls to create savedlinks for a price range

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages