drinkrain
9 years agoVisitor
Json Api help!
Hi,
I recently started building a Roku app. I noticed that there are a very limited amount of resources. This forum has been very helpful! I was wondering if you could give me some insight:
I am building an app using this repo: https://github.com/rokudev/hero-grid-channel as an example. The comments and print statements are very helpful. I am doing well with understanding the UI. But as far as bringing data in I am not sure where to start.
I have been provided a json api on the back end.
I just need to find the best way to bring it in. The 'hero-grid' example seems to handle the data very well but they are using an RSS feed. Would it be naive to build something that consumes the api and 'recreates' the xml file? The example would be this link on the HeroScreen.brs file of that repo:
http://api.delvenetworks.com/rest/organ ... /media.rss
I feel like this might be the wrong approach. So Are there any repos or examples that are similar to hero-grid repo but consume an api?
Any tips or advice will be VERY appreciated.
Thanks!
I recently started building a Roku app. I noticed that there are a very limited amount of resources. This forum has been very helpful! I was wondering if you could give me some insight:
I am building an app using this repo: https://github.com/rokudev/hero-grid-channel as an example. The comments and print statements are very helpful. I am doing well with understanding the UI. But as far as bringing data in I am not sure where to start.
I have been provided a json api on the back end.
I just need to find the best way to bring it in. The 'hero-grid' example seems to handle the data very well but they are using an RSS feed. Would it be naive to build something that consumes the api and 'recreates' the xml file? The example would be this link on the HeroScreen.brs file of that repo:
http://api.delvenetworks.com/rest/organ ... /media.rss
I feel like this might be the wrong approach. So Are there any repos or examples that are similar to hero-grid repo but consume an api?
Any tips or advice will be VERY appreciated.
Thanks!