show how to use seafile api.