Mastodon.py
Mastodon.py copied to clipboard
[Question] Is there a way to export lists as CSV?
Hi there,
I was wondering if there is a way to export lists into CSV using this API wrapper in the same way it's possible through the web client?
Not entirely sure what you mean. Lists of followers / following / blocked etc.? There is no native, one-shot way to get a CSV download, but probably you could build something that exports the same data
Yes, I'm reffering to the Import/export menu in Mastodon web application settings: https://docs.joinmastodon.org/user/moving/#export
By clicking on ":arrow_down: CSV", it allows to export following accounts, lists of accounts. Then it's can shared for example on something like https://trutzig89182.github.io/Mastodon-Sociologists/ (or just sending csv obvioulsy).
As you say, it's fairly simple to export lists of accounts using mastodon.py (my script in dev if someone is looking for the same thing).
But, there are some information is present in Mastodon UI's export but missing in account object through Mastodon.py:
Show boostLanguagesNotify on new posts