Support » Plugin: JSON Content Importer » JSON Importer for Rent Cafe

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    you should not post the apiToken, this is usually a to be secret info.

    When using the plugin or requesting the URL I get this answer:
    [{“Error”:”1020″}]

    Can you find out what is expected of this URL to be working or what’s the reason for this output.

    Bernhard

    Plugin Author berkux

    (@berkux)

    Hi,

    now it’s working.
    Try this:

    [jsoncontentimporter url=https://api.rentcafe.com/rentcafeapi.aspx?requestType=apartmentavailability&apiToken=b16f0849-2a99-4163-84a2-3f8de37cb557&propertyId=1087437 numberofdisplayeditems=5]
    <a href="{ApplyOnlineURL}" target="_blank" rel="noopener noreferrer">{FloorplanName}</a>
    {subloop-array:UnitImageURLs:1}<img src="{0}" width="100" border="1" />{/subloop-array:UnitImageURLs}
    <hr>[/jsoncontentimporter]

    Images like https://cdn.rentcafe.com/dmslivecafe/3/1087437/Unit%20B1%20Uptown_Web%2822%29.png are ok when used in the browser. But in the HTML on a page these images do not show up. Maybe cdn.rentcafe… does not do that…

    Bernhard

    • This reply was modified 4 months, 3 weeks ago by berkux.
    • This reply was modified 4 months, 3 weeks ago by berkux.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.