Monitor a device that only has an API call

I have a network device that does not support snmp
it does have and API call that can run the pulls the number of connections

how can I monitor and graph ? I