bit talk api docs

(subject to change)

————————————

/api/data

returns all data, will be moved to separate endpoints soon

/api/defpfp

returns the default profile picture

/api/getUserPfp/[username]

gets the specified user’s pfp url. unused.

/api/post/[content]/[username]/[password]

posts something using the given account. content must be base64 encoded.

/api/chatMsg/[content]/[username]/[password]

posts something to the (unopened) /chat page.

/api/like/[id]/[post creator]/[username]/[password]

likes the given post on someone’s page. for example, /api/like/0/8bit/[username]/[password] would like the first post on my account (@8bit).

/api/register/[username]/[password]

registers an account.

/api/login/[username]/[password]

doesnt actually login, but is rather used to check if your info is correct when logging in.

if you’re making a bot, dont use this.

/api/changeBio/[new bio]/[username]/[password]

changes your bio. your new bio must be url encoded.

/api/changePfp/[pfp url]/[username]/[password]

changes your pfp. the url must be base64 encoded.

comments (single view)

never!!! /j

jokes aside, i’ll look into it

View all comments