Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhowarth committed Apr 2, 2021
1 parent 5c2714e commit 03804e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ client := roku.NewClient("http://192.168.0.21:8060", WithHttpClient(httpClient))
info, err := client.DeviceInfo()

// find the active app
apps, err := client.ActiveApp()
app, err := client.ActiveApp()

// display all apps on the device
apps, err := client.Apps()

// launch the YouTube app
youtube := "837"
Expand Down

0 comments on commit 03804e6

Please sign in to comment.