Created
May 25, 2015 20:14
-
-
Save wircho/327fef8392c1865dec5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "city-card", | |
"title": "City", | |
"icon_url": "http://relevant.ai/city.png", | |
"summary": "Card's summary for the library.", | |
"credits": "The Web", | |
"settings_type": "NONE", | |
"_LOAD": { | |
"json_info":{ | |
"_URL":"https://gist.githubusercontent.com/wircho/d6c606350f8a6dca29ee/raw/b7872ecebfcc868ff825c88fe1c5e06d13ad618c/cities" | |
}, | |
"first_city":{ | |
"_PATH": ["json_info","cities",0] | |
}, | |
"_RETURN":[ | |
[ | |
{ | |
"banner":{ | |
"image": {"_PATH":["first_city","picture"]} | |
} | |
}, | |
{ | |
"description":{ | |
"title": {"_PATH":["first_city","name"]}, | |
"body": {"_PATH":["first_city","nickname"]} | |
} | |
}, | |
{ | |
"footer":{ | |
"caption": {"_PATH":["first_city","province"]} | |
} | |
} | |
] | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment