You'll want to use an HTTP client, e.g. Requests.jl. On Thu, Oct 15, 2015 at 1:37 PM, Douglas Bates <[email protected]> wrote:
> I have a Tablo over-the-air video recorder (tablotv.com) which > communicates via a TCP socket. I almost know enough to be able to write > Julia code to communicate with it but not quite. For the sake of > illustration let's assume that its IP address on my network is > 192.168.1.87. It communicates over port 18080 and provides meta-data via > urls like > > http://192.168.1.87:18080/plex/ch_ids > > If I type that URL into a browser I will receive, in this case, a > JSON-encoded vector of integers. > > If I understand the Manual section on "Networking and Streams" correctly I > should be able to use > > sock = connect(ip"192.168.1.87",18080) > > to create a TcpSocket device. After that do I simply use > println(sock,"plex/ch_ids") to send a query and some form of read to > receive the result? > >
