Search via API

This topic contains 2 replies, has 3 voices, and was last updated by  Kiran 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #528574

    Rodney Chatman
    Expired Member
    Post count: 89

    Hello,

    I am attempting to do a keyword search via the API but I’m getting an empty value on return. I’d like for users to add one or more search terms and get back all listings with the keyword in their name, description or tags. I’m using the below screen which doesn’t appear to be working for me.

    https://www.site-url.com/wp-json/geodir/v2/business?search=fashion
    #528611

    Alex Rollin
    Moderator
    Post count: 27815

    The developers will get back to you with information about that.

    Don’t forget to renew your membership to receive support for your site with premium addons.

    https://wpgeodirectory.com/downloads/membership/

    #528657

    Kiran
    Moderator
    Post count: 7069

    Hi Rodney,

    search=xyz will search results matching keyword in title & description. To search with multiple keywords you can use while pace between keywords. Ex: search=xyz abc

    Kiran

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount