Python Script to Read JSON Data and Write Text File - Extra Life JSON Code Discussion & Sharing - Extra Life Community Hub Jump to content
mgorby

Python Script to Read JSON Data and Write Text File

Recommended Posts

I wrote a Python script which will pull the json data from the Extra-Life website at regular intervals and generate two text files: one with donors names and donation amounts; the other with the total amount raised and fundraising goal.  I read the text files into OBS using the "Text" source.  In the attached example image you can see the the total donation amount below the webcam image, and the donors + donations to the right of the Extra-Life logo (I have it scrolling vertically).

 

This is meant for people who have some familiarity with Python.  Feel free to use it "as is" or as a template for your own script, and no need to give me any credit anywhere.

 

I hope this helps, and good luck with your fundraising efforts!

 

exampleImage.jpg

 

 

Download Link: extra-life-json.py

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Hey Bud, looks good!  They're super similar.  Great minds, eh?

 

Good luck with the fund raising!

 

-Matt

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...