How to Use the GeoDirectory REST API?

Extensive documentation for the REST API for GeoDirectory is available here: https://wpgeodirectory.com/docs-v2/api/

Examples

Add images to listing:

https://www.mysite.com/wp-json/geodir/v2/places/?title=The London Eye&content=The London Eye is a cantilevered observation wheel on the South Bank of the River Thames in London.&status=publish&package_id=1&post_tags=Thames,South Bank&post_category[]=4&post_category[]=10&street=Riverside Building, County Hall, Westminster Bridge Road&country=United Kingdom&region=Greater London&city=London&zip=SE1 7PB&latitude=51.503324&longitude=-0.119543&neighbourhood=South Bank&mapview=ROADMAP&mapzoom=8&post_images=https://www.londoneye.com/media/s2xes0bt/we-re-good-to-go-london-eye.jpg::https://www.londoneye.com/media/joqmuyuq/herohomepage1920x1080.jpg||hero home page|hero home caption


Add images to review:

https://www.mysite.com/wp-json/geodir/v2/reviews/?author=1&author_email=thisismyemailaddress@gmail.com&author_ip=127.0.0.1&author_name=Test User&author_url=https://www.google.co.in&status=1&post=801&content=This is comment via API&rating=5&images=http://www.mysite.com/images/1.png::http://www.mysite.com/images/2.png
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us