No API? No problem - Scrape the web portal of your AV device manufacturers to get data
HTML-код
- Опубликовано: 6 июн 2024
- Accompanying repo found here:
github.com/patrickgilsf/av-we...
How can we build observability automations when the manufacturer doesn't have an API? Scrape the data from the web. See an example where I use Puppeteer to scrape data from @q-sys , @logitech, and DTEN.
Here are all the links you will see in the embedded screen shots:
- Puppeteer - pptr.dev/
- OOP in Javascript - developer.mozilla.org/en-US/d...
- Targeting Selectors - www.w3schools.com/cssref/css_...
Here are the links to my older videos:
- Program Q-Sys in your IDE - • Use your IDE to progra...
- Use the control link to pass the same code to multiple Q-Sys cores
• Scaled Q-Sys Deploymen...
- Upload and parse config files to Q-Sys • Scaled Q-Sys Deploymen...
- build a Slack daily updater based off of Q-Sys Reflect Наука
Literally teaching this in my class this weekend using Zabbix’s built-in selenium monitoring (though puppeteer’s api is better 😊)
Nice!!! See you next week I hope!