I'm interested in helping out here. Do you have a github up?
Baseball
The fans' home for baseball.
Mods wanted!
If you’re a member of the original mod team for r/baseball (or just wish to help out in general), DM @[email protected] and I’ll restore your position :)
AL East
[email protected] [email protected] [email protected] [email protected] [email protected]
AL Central
[email protected] [email protected] [email protected] [email protected] [email protected]
AL West
[email protected] [email protected] [email protected] [email protected] [email protected]
NL East
[email protected] [email protected] [email protected] [email protected] [email protected]
NL Central
[email protected] [email protected] [email protected] [email protected] [email protected]
NL West
[email protected] [email protected] [email protected] [email protected] [email protected]
Yup! Here's my fork. We're working on a PR into the main redball repo now. @[email protected] AKA @[email protected] and I are discussing dev on discord.
I spent some time thumbing through the Redball code, and it looks like it is tied pretty tightly to the praw library. I’m thinking the simplest first step is to clone that interface. I just can’t shake thinking that there is already someone doing the same :)
Haha I feel that same thing. I've been checking on github and the matrix server for a lemmy python client but haven't found anything.
We have a typescript one that is pretty well documented. It might be easier to convert this into a python version. It won't be extensive as praw but will work
Yes, I was looking at that. Praw is huge - I figured we could focus on just implementing the methods used by redball. My thought is then we won't need to touch the redball code much at all, mostly just changing out the Reddit text references.
Agreed. We really just need to login (to get the auth token) and the GetPost
and EditPost
methods for the basic game day bot. I am not a python developer so what I've been working on is just a hack to get this to work, not a praw replacement 😁
I am interested in seeing how the redball templates look in lemmy once I get it working.
FYI: One of the lemmy devs, Sleepless One, just confirmed he doesn't know anyone working on a python client.
I'll leave you to it then. Let me know if there is anything you'd like me to take a look at.