A Gitea-API wrapper in Python
Go to file
fkarg 8bc6d40eb2 it's hours not seconds 2019-05-02 15:41:38 +02:00
gitea it's hours not seconds 2019-05-02 15:41:38 +02:00
.gitignore added gitignore 2019-04-05 17:14:33 +02:00
LICENSE Create LICENSE 2017-09-07 17:13:06 +00:00
README.md updated Readme 2019-04-19 10:41:56 +02:00
__init__.py small improvements 2019-02-19 10:51:01 +01:00
requirements.txt updated requirements 2019-04-18 14:59:12 +02:00
tests.py rename 2019-04-18 15:01:01 +02:00

README.md

py-gitea

A very simple API client for Gitea (1.8.0-rc2)

This has been somewhat tested (and used!), so most things should work as expected.

Note that not the full Swagger-API is accessible. The implemented part is focused on Organization/Team/Repository/User-creation, also putting users in Teams in Organizations and adding Repositories to Teams. Sadly the API does not do all of what I wanted to use. Still, it should be pretty easy to add almost all API-calls.

tests

Can be run like this:

python3 -m pytest tests.py

Make sure to have a gitea-instance running on http://localhost:3000, and an admin-user token at .token.