dmo
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2020
02:11 PM
How to extract data from Roku by using Web serviecs API
Hi
I'm looking for help, i'm trying to extraction of data (billing, etc.) by using my API key, i read the doc but don't understand how to do a REST API and how to fill information at the endpoint Url
Any information will be useful
1 REPLY 1
chaklasiyanikun
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020
11:37 PM
Re: How to extract data from Roku by using Web serviecs API
I don't know what you are doing exactly. I pick one extraction of data
'Make API call to get detailed metadata for each channel 'Here also use Foreach loop for multiple API call ch = "APILink" 'Here File Call From Server rxfer.SetUrl(ch) raw = rxfer.GetToString() channelJSON = ParseJSON(raw) ' create a node for the channel and set its metadata fields channelNode = CreateObject("roSGNode", "ContentNode") channelNode.title = channelJSON.JSONField ' Here you write JSON Field name channelNode.hdposterurl = channelJSON.JSONField
Here the REST API Documentation. Here the question of JSON parsing using Brightscript for Roku app