The quotes example is really simple and probably very close to what you want to do. I would start there:
On the JavaScript side, you will make your request to the webservice, check the response is ok and then just send the elements that you are interested in to the Pebble (with
Pebble.sendAppMessage()
.On the Pebble side, you initialize AppMessage in your
init()
function and then declare a handler that will be called every time a message is received (in_received_handler
in this example). That handler will update the information on the screen.