adding a new API document for player-api

Added a more systematic API documentation file.
s/Dict/Obj/