Add the first API call

By no means perfect or even good.