so uh i want to make an ebooks bot

what's the easiest way to cache all of my toots in python? i know there's
"Mastodon.account_statuses()" but how do i travel the pagination until i download all of my toots? and how should i store them locally? has any of this already been solved and i should stop trying to reinvent the wheel?

also please do not respond to this with non-python solutions or linking to a twitter bot solution. i'm not looking for a solution for the markov chain, i want to fetch all of my toots first

there's this github.com/Srol/mastodon-ebook

but um, it uses redis and sql ??????

why in the world.

no.

at worst i'll use sqlite if i REALLY need to store my toots into sql. but i'd rather just put them down in plaintext.

anyway yeah. i'm going to bed now but i'd love some help with this.

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!