Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Brecht

    (@brechtvds)

    Hi there,

    At the moment there is no API available, but I like the idea. Is there anything specific you’d be using this for?
    I’ll add it to the todo list, but it would be great if you could give us some requirements at support@wpultimaterecipe.com so we can work something out.

    Kind regards,
    Brecht

    Thread Starter telltale

    (@telltale)

    Thanks for quick response. We want to show related recipes in our product web page. We need the json response of the recipes that the ingredient is used, so we should be able to send an ajax request to show the details of the recipes.

    http get /json?ingredient=lemon

    will return (of course the json should include all data of the recipe)

    { “recipes”: {
    “recipe”: {
    “title” : “Recipe Title”,
    “imageUrl” : “Recipe Main Image url”
    }
    }
    }

    I will also wonder when we will use the feature. It is a “must” for our project.

    Thanks.

    Thread Starter telltale

    (@telltale)

    Is there any progress on this feature?

    Plugin Author Brecht

    (@brechtvds)

    Hi again,

    We’re currently working hard on getting WP Ultimate Recipe 2.0 out of the door, which is going to take another 2-3 weeks, probably (we’re beta testing with a couple of customers at the moment). Once that is finished I can get back to other features, so I’m afraid I won’t be able to give you a deadline just yet.

    Kind regards,
    Brecht

    Hi BrechtVds

    I am unable to get the contents written in WP Ultimate recipe plugin in my Json output of that particular post. IS there something I need to do on Wp Ultimate recipe plugin to get the content on Json output?

    Plugin Author Brecht

    (@brechtvds)

    How are you getting that json output?
    Our fields are stored as metadata of the post.

    I am trying to fetch using normal json query on the URL

    http://mydomain.com/wp-json/posts/post-id

    isn’t this supported to bring the contents of wp ultimate recipe?

    Plugin Author Brecht

    (@brechtvds)

    So you’re using this plugin?
    https://wordpress.org/plugins/json-rest-api/

    Apparently it’s possible to get the metadata like this: /wp-json/posts/<id>/meta

    Yes I am using that Plugin, but when I try this I get this message from my Postman add on which I use to check th Json results.\

    I am new to this so sorry if I am missing something basic here

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    [
        {
            "code": "json_cannot_edit",
            "message": "Sorry, you cannot edit this post"
        }
    ]
    Plugin Author Brecht

    (@brechtvds)

    I’m not familiar with that plugin myself. Their support can probably help you out better.
    This topic seems to be related: https://wordpress.org/support/topic/custom-meta-data-2?replies=6

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘json support for ingredients’ is closed to new replies.