Automate the interaction of a webpage on the internet?

Automate the interaction of a webpage on the internet?

When a user is attempting to create an automated workflow in their optimization journey, they may need to extract information from the internet or access a webapp online. This is possible with HEEDS through a custom Python script to access this information as part of an automated workflow. It is required that HEEDS be able to access and drive the webapp through a command line. Using the command structure of the webapp, the user can write a custom script to dictate where to access the information (URL), what data to access, and any custom required information. This is unique to the webapp being driven. A example using mathjs.org is shown below. The example presented relies on the capabilities of the Web App to be accessed, operated, and automated through its API.

Python script:

  1. Libraries required
  2. URL of the API of the Web App
  3. Definition of the headers required
  4. Data section
  5. Request based on the URL and Headers and Data
  6. Post Processing and Return back of data


要查看或添加评论,请登录

HEEDS Design Space Exploration的更多文章

社区洞察

其他会员也浏览了