That's what the API is for.