Title: subloop with wildcard basenode_subloop
Last modified: January 20, 2020

---

# subloop with wildcard basenode_subloop

 *  Resolved [Skeniver](https://wordpress.org/support/users/skeniver/)
 * (@skeniver)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/subloop-with-wildcard-basenode_subloop/)
 * Hi
 * I’m using your free version to get live bus times from: [https://www.transportapi.com](https://www.transportapi.com)
 * I’m using the `/uk/bus/stop/{atcocode}/live.json` endpoint to get live bus times
   for a given bus stop:
    [https://developer.transportapi.com/docs?raml=https://transportapi.com/v3/raml/transportapi.raml##uk_bus_stop_atcocode_live_json](https://developer.transportapi.com/docs?raml=https://transportapi.com/v3/raml/transportapi.raml##uk_bus_stop_atcocode_live_json)
 * Using JSON Content Importer, I want to loop over the objects in the “departures”
   basenode, but am required to put in the name, e.g. “17” or “89” or “16|gold”,
   here is a sample of my specific API call (keys removed):
    [https://jsonblob.com/14ac9f7d-3b49-11ea-87b1-d9d728308089](https://jsonblob.com/14ac9f7d-3b49-11ea-87b1-d9d728308089)
 * Here is my WP shortcode:
 *     ```
       [jsoncontentimporter url="http://transportapi.com/v3/uk/bus/stop/2400A045190A/live.json?app_id=XXX&app_key=XXX" basenode="departures"]
       <table>
       <tr><th>Bus No.</th><th>Scheduled time</th><th>Expected time</th></tr>
       {subloop-array:17:-1}
       <tr><td>{line_name}</td><td>{aimed_departure_time}</td><td>{expected_departure_time}</td></tr>
       {/subloop-array}
       </table>
       [/jsoncontentimporter]
       ```
   
 * Is it currently possible to loop over these items without specifying the ‘inner’
   basename?
    -  This topic was modified 6 years, 4 months ago by [Skeniver](https://wordpress.org/support/users/skeniver/).

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

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/subloop-with-wildcard-basenode_subloop/#post-12345826)
 * Hi,
 * unfortunately the answer is no. The pro plugin can do this without problems.
   
   The reason is that the free parser is quite simple.
 * Bernhard
    -  This reply was modified 6 years, 4 months ago by [berkux](https://wordpress.org/support/users/berkux/).
 *  Thread Starter [Skeniver](https://wordpress.org/support/users/skeniver/)
 * (@skeniver)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/subloop-with-wildcard-basenode_subloop/#post-12346867)
 * Thanks for the prompt response.
 * Can you confirm that the licence is perpetual but will only be updated while 
   the licence is valid? Or does the licence have to be renewed to be able to use
   the Pro version?
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/subloop-with-wildcard-basenode_subloop/#post-12457613)
 * Hi,
 * questions about the pro plugin answered not here, but here:
    [https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no](https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no)
 * Bernhard

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

The topic ‘subloop with wildcard basenode_subloop’ is closed to new replies.

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/subloop-with-wildcard-basenode_subloop/#post-12457613)
 * Status: resolved