PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: joe on February 27, 2020, 10:54:07 AM

Title: Interact with external web sites
Post by: joe on February 27, 2020, 10:54:07 AM
Is there a was to connect with external websites from a PVX program?

Lets say I wanted to connect to the weather channel and get a copy of the screen.

Is it possible to do this via a program? I am not interested in the graphical parts just the text parts that I can parse thru.

For example I can manually do this by googling weather milwaukee. Then highlighting the parts I want. Then copy. Then paste into notepad. then save on the server. See attached file. My program can then parse that data for what I need.

I would like to automate it.
Title: Re: Interact with external web sites
Post by: Devon Austen on February 27, 2020, 12:45:22 PM
Check out "*plus/web/request" which is documented here https://manual.pvxplus.com/?Web%20Services/Overview.htm

It will allow you to get the HTML of the web page which you can parse.