This is even better...
Basic $api module