Finished advanced api - starting documentation