Working API

Simple but working.