IDX API with Antonio

Post on 19-Jan-2017

191 views 2 download

transcript

IDX API@Antonioortegajr

Where we started in Original

17 endpoints

SOAP and WSDL

XML Schema

No Examples

Used by few

SOAP Interface Documentation

Pretty much everything.

What changed?

An API built RESTfully

The key principles of REST involve separating the API into logical resources. This means resources are manipulated using HTTP requests where the method (GET, POST, PUT, DELETE) has specific meaning.

IDX Broker Application Programming Interface

Allowed via API Not Allowed via API

Called RESTfully Get all the raw MLS data

Creation of time saving tools (examples shown later) Query the raw MLS data

Get aggregated calls. Data across your clients in one call Submission of properties to a MLS data set

Pull featured listings for accounts

Pull lead data from client accountsAdd/modify non MLS data in accounts

Build custom integrations

An API meant to be used by everyone

Simple API endpointsGive me all the Leads

Give me all the featured listings

$url = 'https://api.idxbroker.com/clients/featured';

$url = 'https://api.idxbroker.com/leads/leads';

Easy to use sample code// headers (required and optional)

$headers = array( 'Content-Type: application/x-www-form-urlencoded', // required

'accesskey: abcdefghijklmnopqrstuvwx', 'outputtype: json');

// set up cURL $handle = curl_init();

curl_setopt($handle, CURLOPT_URL, $url); curl_setopt($handle, CURLOPT_HTTPHEADER, $headers); curl_setopt($handle, CURLOPT_RETURNTRANSFER, true); curl_setopt($handle, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($handle, CURLOPT_SSL_VERIFYPEER, false);

$response = curl_exec($handle);

Today's API

More than 50 API endpoints

New components for

Developer Partners only

More hourly API calls avaiabale for Developer

Partners

System and MLS

information returned

Your choice of JSON or XML

New documentation

with code examples

Versioning Active new development

API support, well ok it's

mostly me and Nick

Power Themes and Plugins• Bring Featured Listings into your theme• Create search widgets• Create or display Supplemental listings

Power CRMs• Poll the API for New Leads• Update Existing Leads• Get and analyze Lead

Traffic Data• Create Saved Searches for

Leads

Power Mobile Apps

• Import Featured Listings

• Add Saved Lead Properties

Showcasing Your Integrationshttp://idxbroker.com/developers/integrations

Showcasing CRMs

Showcasing WordPress

Showcasing Mobile