How to install API access for seafile on raspberryPi

I have installed Seafile 9.0.2 on a RaspberryPi. The basic installation works and I can access it via client. But now I would like to access Seafile via the API. What do I have to do to enable access via the API on the RaspBerryPi?