pdf of api stuff and python code