Query dude data

Hi,

is it possible to query the dude for specific stats from external script? i like to find out how much traffic goes through an interface on different mikrotik devices. hat the dude an api or other interfaces to query by script?

Best
Marc