ShadowTrackr

Log in >
RSS feed

API: get your network graph as PNG

19 July 2020
You can now get an image (PNG) of any of your network graphs through the API!

We’ve had multiple requests for this feature and it has been on the backlog for a while. Thing is, the graphs are dynamic and generated with D3 in your browser. So unlike other API endpoints that pull data directly from the database, this one needed something that rendered the D3 code first before creating a snapshot and converting it to a PNG image.

The quick and dirty option would have been providing a url that you could get with something like headless chrome. However, this would mean all API users had to install headless Chrome and implement their own solution. Much more efficient and convenient to do this centrally and just deliver the final output. If you still like to go the browser way (maybe you want to build a graph for on your wall), please let us know and we’ll help you out.

More info in the API docs. It’s also implemented in our ShadowTrackr python package.
Older posts >

Resources
API
Blog
Documentation
Integrations
Shodan
OpenCTI