Skip to content

SantaSpeen/gitflic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitflic

GitHub license GitHub stars magic
preview

About

PyPI download month PyPI download week

This is wrapper of gitflic API.
All API documentation is here: https://gitflic.ru/help/api/intro

Installation

Install via pip:

# Shell

$ pip3 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)