mirror of
https://gitflic.ru/project/santaspeen/gitflic.git
synced 2026-02-16 10:40:50 +00:00
4ae5a1ded51c3f9ccf509aefa42b518a4c087e54
gitflic
About
This is wrapper of gitflic API.
All API documentation is here: https://gitflic.ru/help/api/intro
Installation
Install via pip:
pip install gitflic
Example:
All examples in examples dir.
from gitflic import Gitflic, GitflicAuth
# Your authentication token.
# See: https://gitflic.ru/settings/oauth/token/create
token = "token_here"
# Creating authorized session with our token.
gf_session = GitflicAuth(token)
gf = Gitflic(gf_session)
# Call method to get authorized user from API.
user_me = gf.call("/user/me")
print(user_me)
Languages
Python
100%