Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
uarlive
Level 7

WAN IP Address from roDeviceInfo

Is there currently a way to retrieve the WAN ip address directly from a Roku device? Could this be done by using roDeviceInfo? Thanks.
0 Kudos
2 REPLIES 2\
TheEndless
Level 10

Re: WAN IP Address from roDeviceInfo

There's no way to get it directly from the device that I'm aware of, but you could use a free service like http://freegeoip.net
The following query should get you the public IP: http://freegeoip.net/json/
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
uarlive
Level 7

Re: WAN IP Address from roDeviceInfo

Thanks Endless. This makes things a lot easier. (No more geocoding scripts.)
0 Kudos