Download the PHP package cameronredlet/onthemarket-adf without Composer
On this page you can find all versions of the php package cameronredlet/onthemarket-adf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cameronredlet/onthemarket-adf
More information about cameronredlet/onthemarket-adf
Files in cameronredlet/onthemarket-adf
Package onthemarket-adf
Short Description PHP library for the Rightmove Real Time Property Datafeed (ADF).
License MIT
Homepage https://github.com/frozensheep/rightmoveADF
Informations about the package onthemarket-adf
On the Market ADF
PHP library for the On the Market Real Time Property Datafeed.
Install
Prerequisites
To use this package, you need to:
- Be running PHP 5.4 or above
- Be using composer (if you want to follow the installation guide)
- On the Market will provide you with a PEM certificate/password and Network ID to use in the requests. You should also have a Branch ID.
Note that this package's dependencies will also be installed. Check the composer.json
file from the repository if you want to see what these are before using it.
Installation using Composer
To install with Composer:
Or add to a composer.json file:
Usage
Using the Examples
Examples are provided. It's recommended that you setup one of the examples to see how to interact with the library before continuing.
- Install this package using composer as outlined above.
-
create a directory for your project for example
public_html
-
copy the example code to the new
public_html
directory -
copy the config file to a working Version
- Edit the config file with your settings. You'll need to have a .pem file form On the Market with your Real Time Data Feed key in it, as well as your network and branch information.
-
run the local web server
- run one of the example files from you browser (eg
http://localhost:8080/getBranchPropertyList.php
)
Available Methods
All values that you set in the configuration will be checked against what the API expects and return exceptions if the wrong data type is set.
All 13 of the v1.2.3 API endpoints are supported.
- SendProperty [Example]
- RemoveProperty [Example]
- GetBranchPropertyList [Example]
- AddPremiumListing [Example]
- AddFeaturedProperty [Example]
- RemoveFeaturedProperty [Example]
- GetPropertyPerformance [Example]
- GetBranchPerformance [Example]
- GetBrandEmails [Example]
- GetBranchEmails [Example]
- GetBrandPhoneLeads [Example]
- GetBranchPhoneLeads [Example]
- GetPropertyEmails [Example]
Todo
- Add in a pre-send validation check for required fields.
Known Issues
- The On the Market media crawler doesn't work over Lets Encrypt https and will just return an MED_00001 error.
Please submit any to the Github repo.