Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

isd1ff/gab-lib

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gab-lib

Simple gab library for API, from a python beginner.

Require

Python 3+

Usage

You can find CLIENT_TOKEN in Gab Preferences > Developer > New Application

Some commands may not work if there's no permission in the application.

from gab import lib

BASE_URL="https://api.gab.com/"
CLIENT_TOKEN = "AAAAA-AAAA-AAAA"

auth = lib.AuthAPI(BASE_URL,CLIENT_TOKEN)
gab = lib.GabAPI(auth)

gab.toot_send("hello world");

About

Simple gab library for API, from a python beginner.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.