djotaku's Content - Extra Life Community Hub Jump to content

djotaku

Members
  • Content Count

    156
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by djotaku

  1. I created a discord account. And while it seems to be Slack-like or IRC-like - I've never used it before. I take it I need to find the server you're on the find your channel. What server are you on?
  2. Different issue I'm noticing. Maybe I'm hitting the API too much post DDOS? But I amd getting connection timeout errors. If you could take a quick peek and let me know what you think - https://github.com/djotaku/ELDonationTracker I haven't changed anything in extralifedonations.py since before the DDOS. Lines 172-203 govern the loop. I have it sleeping 30 seconds between each iteration. However, within that 30 seconds I hit at least 4 times - participant, donors, team, team donors. Is that too much now? Is there a more efficient way that's more compliant in the post-DDOS world?
  3. If you're following this topic to see when I have a new release - please switch over to following
  4. Rather than continue to hijack the thread where I was calling for features and coders, I'm starting this new thread for new releases. Of course, you can always subscribe to the releases on github. Github page: https://github.com/djotaku/ELDonationTracker What does this software do? Well, on either Windows or Linux (wherever you choose to game) you can run this program with a GUI or on the commandline to generate text files from the Extra Life data. You can then use these text files in OBS or XSplit to update as donations come in as you play. Current release: v2.2.3 - https://github.com/djotaku/ELDonationTracker/releases/tag/v2.2.3 I'm about to release v2.5, but it doesn't add any extra functionality. It adds in unit tests for people who want to help with development and for me as I refactor the code for better maintenance. If you have issues and need a bug fix, the best and fastest way to contact me is by making an issue on Github. (That's basically a bug report, but you can also use it for a feature request) Second best would be in this thread. I've got a bunch of instructions on the github page on how to use the software. But I'll copy into here the current videos of how to use it:
  5. Two things: 1) Now that I have headers, it works even with http (doesn't need https) 2) the amount of places I had to change it drives home how much I need to refactor my code!
  6. did a bit of googling and ... maybe I need to add a header. Will research and get back to you. OK, yup. That fixes it.
  7. Hey Tim, Is this a new requirement post-DDOS? I've been using the code without HTTPS all 2019 (and previously, of course). My code https://github.com/djotaku/ELDonationTracker does not use HTTPS, but that's why I tried it on the commandline in my previous post and that failed for some reason. But github with https didn't give me that warning. edit to add, not sure what this guy's code is doing, but it's another complaint of python not workign:
  8. Sure. I did a quick sample call: Python 3.7.4 (default, Jul 9 2019, 16:32:37) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import urllib.request >>> url="http://www.extra-life.org/api/participants/348774" >>> urllib.request.urlopen(url) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python3.7/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib64/python3.7/urllib/request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python3.7/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/lib64/python3.7/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: Forbidden And if I visit that url in my browser it works. Now, the browser changes it to HTTPS, so I wanted to double-check that: >>> url="https://www.extra-life.org/api/participants/348774" >>> urllib.request.urlopen(url) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python3.7/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib64/python3.7/urllib/request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python3.7/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/lib64/python3.7/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: Forbidden And just to make sure it's not my machine: >> url="https://www.github.com" >>> urllib.request.urlopen(url) <http.client.HTTPResponse object at 0x7f4ba7254f10> Thanks!
  9. Hey there, Since the DDOS, my Python program is getting a 403 when trying to access the API. Is there something new that needs to be done?
  10. video tutorial for release v2.2 on Linux is now live:
  11. video tutorial for using v2.2 on Windows is now live:
  12. It's been a few releases since I last posted. I'm now at v2.2. https://github.com/djotaku/ELDonationTracker/releases/tag/v2.2 Because of all the new features I'll be recording a new instructional video this weekend if all goes well. Release notes: ot exactly a superstitious person, but release 13 had an issue I immediately discovered upon release - it doesn't handle anonymous donors well. So this fix handles that. Found it when testing against another user's donors. Note: You can select a sound file to play when you get a donation. I've provided on called Donation.mp3 that you'll find in the same directory as the files. You will need to manually add it via the settings because, unlike the image file, it needs to know exactly where it is on your computer. I plan to record some new instructional videos soon. If you're a GUI user: pyinstaller created releases that will allow you to run this program even if you don't have Python or the necessary libraries installed. If you prefer to use the commandline utilities without the GUI, just download the source code.tar.gz (Linux) or source code.zip file (Windows). Please file any bug reports on either the GUI or the commandline! Enjoy!
  13. Interestingly enough the TOP donor is not a good candidate. He's raised like $42k from just 9 people. The guy below him, however, is perfect. Turns out for what I needed, I can actually get the API to provide it for me, eliminating the need to access more than 100 donations. But we'll see what the future brings.
  14. I'm continuing to develop a program to create streaming overlays using Extra Life datan. However, I never have more than a dozen donors. I'd like to test code for >100 donors - if you have more than 100 donors in the current campaign, please reply so I can use your data to improve the program. Thanks!
  15. A new release to get the Team info into the GUI! (https://github.com/djotaku/ELDonationTracker/releases/tag/v1.9.3) Now it's probably going to be a bit until the next release so I can finalize the GUI stuff. Release notes: Another day, another release! Team data will now appear on the GUI after your first run with the Team ID filled out in the settings. (And remember to hit 'save') As a reminder, the team data is: Team_captain.txt Team_goal.txt Team_numDonations.txt Team_Top5ParticipantsHorizontal.txt Team_Top5Participants.txt Team_TopParticipantNameAmnt.txt Team_totalRaised.txt I'm hoping to make the next release the 2.0 release that gets the GUI out of beta. From now until game day there might be a higher level than usual of releases, so keep checking back! If you're a GUI user: pyinstaller created releases that will allow you to run this program even if you don't have Python or the necessary libraries installed. If you grab the Linux install - you will need to grab participant.conf and Engineer.png from the Github repo and put it into the dist/gui folder. (Just growing pains on learning Github's CI) If you prefer to use the commandline utilities without the GUI, just download the source code.tar.gz (Linux) or source code.zip file (Windows). New for YOU this release: Addition of requirements.txt so that you can do a pip3 install -r requirements.txt and it will grab any packages you need. Please file any bug reports on either the GUI or the commandline! Enjoy!
  16. Another release! @Keegan it includes Team Data, so if you want, feel free to come back over to the software. Here are the release notes: 1. I move to semantic versioning which is recommended by Github and is also more Pythonic. So instead of going by date on the tags, we're now on v.1.9.2. v2.0 - FYI - is going to be the first ready-to-go GUI version. 2. Team data is now generated! This release includes: - Team_captain.txt - Team_goal.txt - Team_numDonations.txt - Team_Top5ParticipantsHorizontal.txt - Team_Top5Participants.txt - Team_TopParticipantNameAmnt.txt - Team_totalRaised.txt Thanks to Keegan over on the Extra Life community forums for asking for Team data. There's more I hope to do with the Team data, but if there's something specific you want, open a feature request issue. The next release should be to include the Team info on the GUI! From now until game day there might be a higher level than usual of releases, so keep checking back! If you're a GUI user: pyinstaller created releases that will allow you to run this program even if you don't have Python or the necessary libraries installed. If you grab the Linux install - you will need to grab participant.conf and Engineer.png from the Github repo and put it into the dist/gui folder. (Just growing pains on learning Github's CI) If you prefer to use the commandline utilities without the GUI, just download the source code.tar.gz (Linux) or source code.zip file (Windows). New for YOU this release: Addition of requirements.txt so that you can do a pip3 install -r requirements.txt and it will grab any packages you need. Please file any bug reports on either the GUI or the commandline! Enjoy!
  17. No worries. I already started work on it, so feel free to come back and check on what I put together in case it meets your needs and allows it all to be in one program.
  18. Sure, I can get that into the next milestone. In the past, I've captured the goal, sum of the donations, and top members. Looking at the current donor drive API (https://github.com/DonorDrive/PublicAPI/blob/master/docs/1.0/resources/teams.md ) I'm not sure if the top members is available anymore - I'm going to have to do some experimentation. Of the other fields available, the ones that make sense to me that someone might be interested in are the name and the team captain. Edit to add: it actually is there, just documented in a different part of the API. What team data would you be interested in?
  19. Finally got the GUI working. Here are videos for that! Linux: and Windows video coming a little later tonight.
  20. New version released! It's all object-oriented now in preparation for finally getting a GUI working. At this time the important user-facing change is moving the user options out into another file rather than having them edit the main file. So, videos to go along with the new procedures! https://youtu.be/sKaFQPoQeJw https://youtu.be/hN94aPcEFng
  21. Found out about this when someone made a bug report against my donation tracker code. Before the API would always push all the fields and just have "None" if it was empty. But not some of the fields might not be there. For example, if there wasn't a message with the donation, the message field won't be pushed onto the API.
  22. And now a video for how to use it on Windows:
  23. I've just added a video on Youtube on how to use it!
×
×
  • Create New...