API

Welcome to the Zoo Property API Documentation section. One of our goals at Zoo Property is to provide the tools for web developers around the World to insert and extract their client’s data into the Zoo Property system.

We like to think of Zoo Property as a Property Data Hub where data can be imported, managed and then exported as our clients and their web developers desire.

At present their a number of different web services running to remit data in and out of the Zoo Property system. We break these down into the following groups:

Importation of Data (View)

Exportation of Data to 3rd party Portals (View)

Exportation of Data to Agent Websites & Applications (View)

WordPress Real Estate Plugin (View)


Agentpoint WordPress Theme (View)

24 Responses to “API”

  1. Yash says:

    Hello sir,

    I want to export property data and want to list that data on my website.For that i want to use your API.Please tell me detail
    what is the step by step procedure to get that?
    Please reply me as soon as possible with some explanation so that i understand that easily.

    Thanks

    Yash

  2. Team Zoo says:

    Yash, you should check out the info here http://www.zooproperty.com/api/export-data-agent-websites-apps/xml-api/ on the xml’s available. If you have any questions post it on that thread.

  3. Lili says:

    ‘ve set up an account to trial your system for a real estate site i’m designing.

    I’ve set up a wordpress account and installed your plugin, however the listings aren’t being transfered to the WP database.

    I’ve inserted all the URLs, Keys, and office IDs in the WP plugin settings.

    In the Zoo property Office API settings, I’ve enabled XML API & HTTP API. In the domains section I put my domain name in the Website Name field, but wasn’t sure what to put in The Property Notification field.

    Can someone help me with this issue. Thanks

  4. Team Zoo says:

    Dear Lili,
    can you please tell me the plugin name that you’ve installed ?
    I don’t know which one that you’ve installed on your site, but there are two plugins that send the listings through api :
    1. Zoo Property Api ( HTTP API )
    You need to set up this on Zoo property Office API settings.
    – Website Name : http://mysitename.com.au/
    – Property Notifications : http://mysitename.com.au/index.php
    Then press `Update` button. After this, go to Zoo property Office API settings again, and press the link `Send Current & Under Offer Listings` on the bottom of the page.

    2. Xml Parses / Xml to Array
    You set this up on the wp-admin page. First you need to set up the office ID, url and keys, then press `Save`. Then you need to press `Parse ALL Available Listings` button.

    I hope that information will help you solve your issue.

  5. Lili says:

    I had Zoo Real Estate plugin installed.

    I’ve now installed XML to Array and Zoo Property API plugins.

    I’m having no luck with any of them.

    Which one should i be using??

    The plugins say “Parse Successful” but nothing happens.

  6. John says:

    I would use number 1. as it is a lot better here are further details about that http://www.zooproperty.com/api/export-data-agent-websites-apps/http-api/wordpress-plugin-http-api/

  7. Lili says:

    I think I was having issues because the exec() function was disabled on the server (I read someone else was having the same issue in another post).

    I switched over to my local server (where exec() is enabled) and now the properties seem to be copying over fine.

    I’m using the Zoo Real Estate plugin.

    The sales listing page looks fine, however when you click on a property, it just reloads the page, it doesn’t go to a property page. I thought this feature was a part of the plugin or has something stuffed up??

    I’m also having no luck with the search form, which isn’t showing up at all. I’ve inserted the search code into the sidebar.php file. The search box is enabled in the plugin settings.

    Any ideas?

  8. Team Zoo says:

    Lili, for your property page issue :
    1. Login into wp-admin / all pages
    2. Can you make sure the `Property` page exist ?
    The issue might happened because the `Property` page hasn’t been created. If the `property` page hasn’t been created, please create the page
    – Add New Page
    – Name it `Property`
    – Put this code on the HTML area `< ! --realty_plugin:template:property -->` ( please removed all the white space on the code )
    – Save

    For the search form issue. Please insert the following code into the sidebar.php file. You can put the code on the first line or on the end line of the sidebar.php.

    < ?php
    global $realty;
    if(is_page('property'))$realty->element(‘property_sidebar’);
    elseif(is_page(‘sales’) || is_page(‘lease’))$realty->element(‘quick_search’);
    elseif(is_page(‘home’) && $realty->settings['general_settings']['quick_search_on_homepage']==’1′)$realty->element(‘quick_search’);
    ?>

  9. Lili says:

    The Property Page already exists with that html coding.

    The “Sales” page is creating the wrong Links for the properties. The links for all the properties is the same (…../?page_id=4) (which is the Sales page)

    I’ll have to keep working on the Search issue, which is still not working

  10. Team Zoo says:

    I think I know how to fix your property page
    - Go to wp-admin / Settings/ permalinks
    - choose `Custom Structure`
    - fill with `/%postname%/’
    - then press ‘Save’

  11. Lili says:

    thanks, that worked great!!

    The 2 featured properties on the home page are linked to the individual property pages now.

    However the listing pages are now not listing my properties, i get the following message:

    Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/Realty/controller/my_db.php on line 90

    It says:
    There are 3 properties available with your search results….but no properties are displayed.
    The pagination Link “1″ is displayed, (/wordpress/sales/1/)
    When I click on the link “1″…then the properties are displayed.

    The sales link /wordpress/sales/ does NOT work properly
    but the Link /wordpress/sales/1/ WORKS

  12. Lili says:

    I got rid of the warning by adding an “@” infront of mysql_fetch_assoc($result) on line 90

  13. Lili says:

    The properties are still not being displayed:

    The number of properties available is displayed
    aswell as the Sort By menu, and a Page 1 Link, but no properties

    I have to select Page 1 to see all the properties

  14. Team Zoo says:

    Lili,
    It is a bug in the plugin. If you have access to the ftp,
    - please edit wp-content / plugins / Realty / realty.php
    search for words `if (!empty($params['limit'])):`
    copy paste the following code above that line of code
    $params['page']=($params['page']==”)?’1′:$params['page'];
    - then saved the file
    If not, I will upload the latest version of this plugin.

  15. Lili says:

    All good now. All the listing pages are working fine.

    Thanks Heaps!!

    I’ll let you know if i can’t get the search working

    Thanks again.

  16. Lili says:

    The problem with the Search Form was the current WP TwentyEleven theme. It works fine with my own theme.

    Another question, how do I access your online store, the link is not working. I’m interested in having a look at what extra plugins are available, in particular the Subscriptions Manager.

  17. Team Zoo says:

    Hi, we’ve closed the online store at the moment. However, products are available through our web development company http://www.agentpoint.com.au/products/

  18. Michael Reck says:

    Hi all,

    cannot get the API to populate my database, comes up with No Logs. I have installed Zoo Property API Plugin and Zoo Real Estate Plugin.

    100% Fresh install of WP, seems like the feed is stopping before it gets to me, Error log is putting this out:

    [28-Nov-2011 01:32:39] PHP Warning: array_map() [function.array-map]: Argument #2 should be an array in /home1/malenyre/public_html/wp-content/plugins/zooproperty_api/lib/zooproperty_api_helper.class.php on line 60
    [28-Nov-2011 01:32:39] PHP Warning: array_map() [function.array-map]: Argument #2 should be an array in /home1/malenyre/public_html/wp-content/plugins/zooproperty_api/lib/zooproperty_api_helper.class.php on line 61

    Any help greatly appreciated, not sure if the error is related?

    Thanks

  19. Michael Reck says:

    Ok, properties started coming through so API was working. Properties were displaying on home page, sales etc as well which was great.

    I changed the page type for “home” from default to sidebar and listings were lost from page. I changed it back to default but feature listings and latest listings are still not showing up.

    Standard WP install, twenty eleven theme. Will look at theme, but has anyone else had this issue?

  20. Michael Reck says:

    BTW trying to reset the pages in the Zoo Realty plugin gives me “You do not have sufficient permissions to access this page.”

  21. Team Zoo says:

    Hi Michael,
    I think the shortcode for the homepage has been lost.
    1. Go to wp-admin / Pages
    2. Edit `Home` page
    3. Put this code on the `HTML` tab of the page content ( removed any white space on the code below )
    < ! --realty_plugin:template:home-- >
    4. `Update` page
    5. Refresh your homepage

    Hope this solves the problem.

  22. Michael Reck says:

    Have gotten further with this – Unfortunately the shortcode above did not work. I have attempted this with 3 templates and all seem to give the same results as below..

    I can get the home page to work again by deactivating the ZooRealty plugin, deleting the ‘Home’ page, then reactivating the plugin again.

    It seems any change I make to a page created by the plugin including sales, team, home etc. results in all parsed API information being lost from the page. This includes simply adding text to page…

    Am I supposed to wrap shortcode in [...] brackets? Sorry for the newb questions, but I hope this helps someone else down the track as well…

    At this stage I am not concerned with styling, I am simply trying to get the content I require on each page….

    Thanks in advance, again!

  23. Michael Reck says:

    OK, I did not read “remove whitespace” as I should have. That does work, thanks! Is there a list of the shortcodes anywhere for each page? This will help me, exactly what I needed!

  24. Team Zoo says:

    Hi Michael,
    Below are the list of pages and the short code that you can use. Please remove any white space between `< ` , `!` and `--`
    Sales / Buy Page : < ! --realty_plugin: list=sale template:search_results-->
    Lease / Rent Page : < ! --realty_plugin: list=lease template:search_results-->
    Sold Page : < ! --realty_plugin: list=sale template:sold-->
    Leased Page : < ! --realty_plugin: list=lease template:sold-->
    Team / Agent Page : < ! --realty_plugin:template:team-->
    Property Detail Page : < ! --realty_plugin: template:property-->
    Home Page : < ! --realty_plugin:template:home-->

    Thanks

Leave a Reply

About comments
Please be respectful of others when posting comments.

* = Required fields


(will not be published)