Skip to main content

GitflicApi wrapper

Project description

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:

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitflic-1.1.tar.gz (11.9 kB view hashes)

Uploaded Source

Built Distribution

gitflic-1.1-py3-none-any.whl (12.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page