working example with json data extracted from API.