Skip to content

ldreissi/python-seafile-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-seafile-api ======

This is fork of https://github.com/haiwen/python-seafile with support some additional features.

Requirements ------- Python 3.x - Requests

Getting started

The documentation gives some examples in more detail, as well as a full API specification, but here are the basics to get you started:

import seafileapi

client=seafileapi.connect('http://address:8000', 'admin@email.com', 'password')

client.admin.list_accounts()

Out[17]:
[SeafileAccount<id=1, user=sdsd@sdfsds.ru>,
 SeafileAccount<id=62, user=test@test.com>,
 SeafileAccount<id=104, user=ddd1@ddd.ru>]

client.repos.create_repo('new_repo')

Out[19]: SefileRepo<id=63ca0c53-7d8c-470c-b0a9-260afa755079, name=new_repo>

API Documentation ------https://manual.seafile.com/develop/web_api_v2.1.html

About

Python client for seafile web API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%