import requests
import json
quote = requests.get("https://api.breakingbadquotes.xyz/v1/quotes").json()[0]
author = quote["author"]
quote = quote["quote"]
print(quote)
authJson = {"Authorization": "[redacted] (your wasteof token)"}
post = requests.post("https://api.wasteof.money/posts", headers = authJson, json = {"post": f"<h2>{author}</h2> <p>{quote}</p>"})
print(post.json())

ty ty, can i turn this code into a harry potter quote bot, with credit to you?

yeah, thats fine

how do i find my token?

go into your cookies on prod, and look for the token cookie

alright thx

See more replies

and if you have a raspberry pi or something, make a cron job to run it

My hobbies are painting and programming… uh… I develop videogames? That’s a kind of cool fact…

Your posts are cool, so I’ve decided to follow you 👍

Appreciate the support ✌

im sivyx

Everyone share your hobbies here, and comething cool about your self

This will be THE GREATEST WALL EVER

This is a big, beautiful wall. It will be even greater than China’s.