API get graphs with time frame

Hi everyone,

Im new to API requests first time can say i had succes to work on any api world.

So what im trying to do is get a graph but i need it with time frame by default it is like 24hr. I need to make those graphs with time frame week, month and yearly.

curl -H ‘X-Auth-Token: tokenid…’ http://192.168.x.x/api/v0/devices/1/ports/TenGigE0%2F2%2F0%2F0.589/port_bits

Any one has any idea how to.

If you worked it out let me know. I’m having a similar issue

Hi Richard didnt still,

But one step closer looking in to this link.
API - port bits graph - Help - LibreNMS Community