Can I use External JSON weather data in business catalyst and use with liquid? -


im trying create live weather app using liquid in business catalyst.

i can live data http://openweathermap.org/

using this: http://api.openweathermap.org/data/2.5/weather?q=dubbo

and thought insert include using:

{module_json json="http://api.openweathermap.org/data/2.5/weather?q=dubbo" template="/_system/includes/tpl/current.tpl"}

im not sure call in template. going wrong?

i know there has way call json data not sure if tag supports external urls...

please , if know how call data great too.

no, the module_json tag not support accessing external json data. when attempting use in way, render:

<!-- no input data found --> 

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -