Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Is there a way to export lists as CSV? #369

Open
Guts opened this issue Feb 5, 2024 · 2 comments
Open

[Question] Is there a way to export lists as CSV? #369

Guts opened this issue Feb 5, 2024 · 2 comments

Comments

@Guts
Copy link

Guts commented Feb 5, 2024

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?

@halcy
Copy link
Owner

halcy commented Feb 11, 2024

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

@Guts
Copy link
Author

Guts commented Feb 13, 2024

Yes, I'm reffering to the Import/export menu in Mastodon web application settings: https://docs.joinmastodon.org/user/moving/#export

image

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 boost
  • Languages
  • Notify on new posts

Guts added a commit to geotribu/cli that referenced this issue Feb 14, 2024
Et utilise le package Mastodon.py pour communiquer avec l'API Mastodon.

Voir halcy/Mastodon.py#369
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants