https://github.com/santaspeen/gitflic
GitflicApi wrapper
https://github.com/santaspeen/gitflic
gitflic python
Last synced: 3 months ago
JSON representation
GitflicApi wrapper
- Host: GitHub
- URL: https://github.com/santaspeen/gitflic
- Owner: SantaSpeen
- License: mit
- Created: 2022-03-15T20:40:39.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-04T06:27:26.000Z (over 3 years ago)
- Last Synced: 2025-04-13T10:07:42.897Z (3 months ago)
- Topics: gitflic, python
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitflic
### About
[](https://pypi.python.org/pypi/gitflic/)
[](https://pypi.python.org/pypi/gitflic/)This is wrapper of gitflic API.\
All API documentation is here: https://gitflic.ru/help/api/intro### Installation
Install via pip:
```shell
# Shell$ pip3 install gitflic
```### Example:
All examples in [examples](./examples) dir.
```python
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)
```