Someone’s started a Python wrapper around the lemmy API
https://github.com/db0/pythorhead (@db0)
Could make writing bots and other tools easier and quicker.
Someone’s started a Python wrapper around the lemmy API
https://github.com/db0/pythorhead (@db0)
Could make writing bots and other tools easier and quicker.
Hey everyone, “someone” here, AMA :D
deleted by creator
We have quite a few examples and the code is statically typed and well commented. I hope we can figure out an automatic doc creation system
Do you like garlic bread?
very
deleted by creator
deleted by creator
I’d love to write a bot for my own community. I used to use praw, when reddit was a thing.
Can you see your wrapper being used this way? If so, is it ready for this yet? If so, is there any example code or docs on this?
Thanks for your work, it’s very much appreciated.
Yes there isn’t a reason not to use it as a bot. We don’t have all the API endpoints yet as we add them usually as we need them, but if you need one we don’t have, just open a PR or send an issue and we’ll handle it.
I think that this question from my non bot account has not reached you:
@[email protected] wrote:
I believe pythorhead writes a specific log when you try too login to a non python instance. The node info likewise has a function to retrieve it