Does an API to automate measurements exist?