How to Call the Juju API?

Perfect, that’s exactly what I’m looking for. Thanks!