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.
The late singer of the legendary metal band named Motörhead was called Ian Fraser Kilmister, but he was known by his nickname "Lemmy". That's where the name comes from, Python combined with Motörhead.
Where can I find the relation between languages and the languages_id ints?
When I log in into a lemmy instance I check the protected member _requestor.nodeinfo to detect if the problem it’s the connection or the user/password:
lemmy = Lemmy(instance)
if not lemmy.log_in(user, password):
if not lemmy._requestor.nodeinfo:
raise LemmyException(f"Sorry, cannot connect to lemmy instance {instance}.")
raise LemmyException(
f"Sorry, cannot login {user} into {instance}. Bad user or wrong password."
)