Adds api-call command

No tests yet. I'm just showing this off to get comments from @briancline, @underscorephil, etc.