Skip to content
/ gab-lib Public

Simple gab library for API, from a python beginner.

License

Notifications You must be signed in to change notification settings

isd1ff/gab-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages