I want to write a linux desktop application that uses flash via libflashplayer.so but where can i find the API?

Thanks,
Remco