Search the Community

Showing results for tags 'json'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Categories

  • Podcast
  • Gaming News
  • Community Content
  • Features
  • Extra Life News
  • Best Practices
  • Fundraising
  • Why I Extra Life
  • Contests

Forums

  • News & Information
    • Announcements
  • Extra Life Discussions
    • General Extra Life Discussion
    • Local Extra Lifers
    • Fundraising Ideas
    • Live Streaming Tips & Tricks
    • Official Extra Life Stream Team Discussion
    • Extra Life JSON Code Discussion & Sharing
    • Extra Life United
    • Extra Life Q & A
  • Official Extra Life Guilds
    • Guild information and Discussion
    • Canada
    • Northeastern US
    • Southeastern US
    • Midwestern US
    • Northwestern US
    • Southwestern US
  • Gaming Discussions
    • General Gaming Discussion.
    • PC Gaming
    • Nintendo
    • Playstation
    • Xbox
    • Mobile
    • Retro
    • Board & Dice Games
    • Card Games
    • Pen & Paper
  • Other Stuff
    • Community Feedback
    • Off Topic

Calendars

  • Extra Life Community Calendar
  • Akron Guild
  • Albany Guild
  • Albuquerque Guild
  • Anchorage Guild
  • Atlanta Guild
  • Austin Guild
  • Bakersfield Guild
  • Baltimore Guild
  • Birmingham Guild
  • Boston Guild
  • Burlington Guild
  • Buffalo Guild
  • Calgary, AB Guild
  • Morgantown Guild
  • Charlottesville Guild
  • Chicago Guild
  • Cincinnati Guild
  • Cleveland Guild
  • Columbia, MO Guild
  • Columbus, OH Guild
  • Dallas Guild
  • Dayton Guild
  • Denver Guild
  • Des Moines Guild
  • Detroit Guild
  • Edmonton, AB Guild
  • Fargo-Valley City Guild
  • Fresno Guild
  • Ft. Worth Guild
  • Gainesville-Tallahassee Guild
  • Grand Rapids Guild
  • Halifax, NS Guild
  • Hamilton, ON Guild
  • Hartford Guild
  • Hershey Guild
  • Hudson Valley Guild
  • Houston Guild
  • Indianapolis Guild
  • Jacksonville Guild
  • Kansas City Guild
  • Knoxville Guild
  • Lansing Guild
  • London, ON Guild
  • Los Angeles Guild
  • Milwaukee / Madison Guild
  • Minneapolis / Twin Cities Guild
  • Montreal / Quebec City Guild
  • Nashville Guild
  • Newark Guild
  • NYC & Long Island Guild
  • Oakland / San Francisco Guild
  • Omaha Guild
  • Orange County Guild
  • Orlando Guild
  • Ottawa, ON Guild
  • Philadelphia Guild
  • Phoenix Guild
  • Pittsburgh Guild
  • Portland, OR Guild
  • Portland, ME Guild
  • Raleigh-Durham Guild
  • Richmond Guild
  • Sacramento Guild
  • Salt Lake City Guild
  • San Antonio Guild
  • San Diego Guild
  • San Juan, PR Guild
  • Saskatchewan Guild
  • Seattle Guild
  • Spokane Guild
  • Springfield-Champaign, IL Guild
  • Springfield, MA Guild
  • St. Louis Guild
  • Tampa / St. Petersburg Guild
  • Toronto, ON Guild
  • Vancouver, BC Guild
  • Washington DC Guild
  • Winnipeg, MB Guild

Categories

  • Broadcasting Toolkit
    • Extra Life Donation Alerts
    • Miracle Stories and Commercial Breaks
    • Streaming Overlays
    • Talking Points
    • Twitch Profile Buttons
  • Multimedia Kit
    • All Countries
  • Extra Life Guild Tool Kit
    • Talking Points & Elevator Pitch
    • Guild Logo
    • Offline Registration Tools
    • Reports
    • Extra Life Booth Kit

Group


Hospital


Location:


Interests


Twitter


Twitch


AIM


Yahoo


Skype


Gamertag


PSN ID


Steam


Origin

Found 7 results

  1. Hi guys, This year was my first Extra Life and it was an incredible experience. Once the stream was over, I decided I would make some edits and release the stream overlay code I had wrote for keeping track of donations and donors. Everything is up now over at my Github page and it is all free to use under the MIT license. All of the information on how to setup the overlay is on the Github link but at the very least, you will need Node.js and NodeCG in order to run it. From there, it is only some very simple edits to the HTML (and two JS files) to get going. Feel free to mess around and change whatever you like, all I ask is that you link back to the original Github project if you use it. https://github.com/cshomo11/b2aExtraLife See the stream in action here: https://www.youtube.com/playlist?list=PLZbJi5BUPLE6lcXtvMB3KkGQeWSlFuXBT
  2. Hello! We've been working on a dashboard for our team to have up on projectors, TVs, share with donors and sponsors, etc. In doing so, we decided to make it available to any team. All you have to do is go to this page and enter your Extra Life team ID: http://nerdery.life/dashboard. I've attached a screenshot of a random team that I pulled from Extra Life's homepage. The DNS is still propagating, so you may see some weird errors from name.com, but I expect that to be resolved in 24 hours. We are trying to be respectful of refresh rates to avoid slamming EL servers too bad, but let us know if this causes any issues and we can discuss further. Let us know how it goes!
  3. 11/3/2016 Update (Version 0.6.9): Fixed strange behavior where new donations weren't alerting. 10/31/2016 Update (Version 0.6.8): Fixed the names not displaying correctly on the team totals, after they changed the API slightly. 11/4/2015 Update (Version 0.6.5): There is now a (rudimentary) progress bar that you can pop open and capture. You can set colors under the settings window, and key out the background. It updates whenever your totals are updated. If I get time, I may work on a circular progress indicator, but it's getting close to gameday, and I'm not sure I'll have time. 10/30/2015 Update (Version 0.6.1): Fixed bug: When servers were slow, personal totals would display as $0 while waiting for server responses. Fixed bug: last 5 donations were always hiding titles, except for the first, introduced in 0.6.0 10/28/2015 Update (Version 0.6.0): Donation amounts that are hidden, for whatever reason, are handled a little more gracefully. Omitted at times, displayed as (hidden) in others, and wording changed in some spots. If all donations are hidden, then your top donation will always be $0, but there's not much I can do about that. Your total is now pulled from your user page, rather than the sum of your public donations. This piece of data may not be as current (I think they only update that page every 15 minutes) but it will always be accurate to the moment it was last updated by the EL servers. 10/16/2015 Update (Version 0.5.2): When you change user ID, all previous donations in the queue are cleared. Prevents my donations from alerting before all yours when you first change the ID. 10/14/2015 Update (Version 0.5.1): Fixed bugs preventing sounds from loading when first selected Added "clear" buttons for both image and sound to deselect your setting. --------------- Alright, finally ready to release this thing out into the public. It's still in Beta, and there are likely still bugs hiding that I haven't ironed out. My email is in the application to submit bug reports to. Download Link So you download it, and install it. You'll need Adobe Air, which you can get at Adobe.com. Here's the quick rundown: It will fill in my ID as a default. To change it, head over to Settings and fill in your ID from your URL (the numeric one, not your screen name). Set any other defaults you want, things like background color of the alert window, currency sign, etc. Then be sure you click Save After you save, it should refresh the display with your information, not mine. If for some reason it doesn't, hit the 'Force refresh' button. Click Tracker to bring up the window where New Donation alerts will be displayed. It should be flashing all donations you have already received. I'll explain this more later. You should be good go to. How it works Once you've set up your ID/settings the program checks your donation list every 30 seconds. Every 15 minutes, it also checks for team information (if you're on a team). It updates the display inside the app window, but also sends information in various formats out to text files in a folder on your Desktop titled "extra-life-output". The titles should be pretty self-explanatory. Every time it detects a donation that it hasn't seen before, it adds that to a locally-stored database. Simultaneously to all that, every 10 seconds, it is checking that database for any donations that have yet to be displayed in the alert window. If it finds one, it displays the image and plays the sound you've selected, along with the name and amount of the donator. If you don't have the tracker window open, that check simply exits out. This means if you have the application open, but not the alert window open, any donations received during that time are queued up for the next time the tracker is opened. It will play the alert once for every donation. So the first time you open the app (or open it after not having opened it for a while) you're going to get to hear your donation alert a few times (hopefully a lot of times, which means you've raised a ton of money for CMN). There are a couple buttons up in the top right corner for utility, one to force a refresh of all data (Both individual and Team), as well as a 'Test Alert' button to trigger an alert to see what it looks like. It'll check to see if there's a new version available and give you a button pointing to the new version. There's also a button to donate to my EL page if you like it *HINTCOUGHCOUGHHINT*. Alert Files So the box for the alerts is approximately (may vary based on your OS) 685px wide by 215 px tall. That's what you're aiming for when creating images to use on your alert. The alert sound must be in MP3 format. You can use something like this to convert it to MP3 format if it isn't already. Text Files The text files this thing spits out can be used in OBS (via the "Text" source") and X-Split (using the "Title" source) pretty easily. Using those tools, you can set the size, font, outlines, scroll speed, etc, of any of that information. It behaves in the same was as most of the "Now Playing" type plugins out there. If you're confused, YouTube and google have plenty of tutorials on both tools and how to place text files in your stream stage. What's next I'm going to leave it out in the wild for a few days and hope some folks have bug reports/suggestions. Otherwise a few things I'm looking to add: Manually set the delay between alerts (for folks who have longer alert sounds) Add more font choices for alert text (what fonts?) Squash whatever bugs people find Refactor the code so it's not too embarrassing to put on GitHub. ???? I think I've covered everything it does, but if I forgot, let me know and I'll update this thread. I'm planning on using this thread as the 'home' for future updates, since it seems to have evolved from what I'd mentioned in other threads. I apologize if I'm cluttering the front page of the forum with this. I'll update the title as well as the in-app notification when I release new versions, and you can come back here to find out what's new. If you have any questions, please let me know here or via the e-mail listed in the app. If you enjoy the tool, please consider donating to my Extra Life Fundraiser. My niece was born with Hypoplastic Left Heart syndrome, basically meaning she had only one half of her heart. Three open heart surgeries during her first year of life at the hospital I'm raising money for, the University of Iowa Children's Hospital, and she's now a super energetic, sassy, awesome 2nd grader. She'll likely need a heart transplant as she nears her adult life, but even 20 years ago, these children didn't survive, so I'm extremely grateful to CMN hospitals, the UI Children's Hospital, and everyone who's ever thought about maybe helping a sick child get better. Edit: Fixed the actual download link. I'm an idiot.
  4. I'd announced this last year (http://community.extra-life.org/forums/topic/2755-donation-tracker-for-linux-streamers/), but realized that it should work just fine with Mac and Windows as it does with Linux. A few days ago I got my first feature request on github: https://github.com/djotaku/ELDonationTracker (Aw! I've got big-boy project now!) Planed for this year: I'll be closing out that issue by adding in Team support. Fixing the formatting so that money has 2 decimal places instead of just one. I'll be switching to functional programming (vs the current script-like) to prepare for a GUI I don't know if I'll get to a GUI this year, but I'm willing to merge code to do so. Why a GUI? I'd like to model it after @bfinleyui's utility where he has a main window that shows what's in the text files so that you don't need to open them all up to do a sanity check that it's pulling the correct data. He also has a second window he can spawn that's all black (for chroma key) that will update with a "DONATION Person's name - AMOUNT" that can be used in OBS or XSplit to let people know there are donations as they come in.He also allows you to use a JPEG or PNG along with it a la SteamAlerts. If I make a GUI it'll most likely be QTQuick for Linux as I have experience with that. I know both QT and GTK+ can also work on Windows, but if someone wanted to write a native WIndows client, that would work as well. It'd be nice if it worked with Python bindings so that the user doesn't have to compile anything to use the GUI. I know I can do that in Linux. Not sure about Windows. Anything else you'd like to see? Feel free to file issues. Able to code GUIs? Feel free to join the project!
  5. 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! Download Link: extra-life-json.py
  6. Hello everyone. I am getting the following errors after an amount of time. That time can vary, it usually takes a few good minutes to come up. https://gyazo.com/7e81b98065b5558d8697f90711c65331 sorry i accidentally hit the quote button twice & couldn't figure out how to remove it. What i've read on the internet is that it's an addition that Extra life would have to make on their end. Something similar to this, if you're using apache: Header set Access-Control-Allow-Origin "*" AllowOverride all Order allow,deny Allow from all My site is http://extralifealerts.com & all my code can be seen by looking at the source code. I don't have anything hidden. Decided to post my code. I two .html files that it happens to, both are almost exact mirrors of each other when it comes to grabbing the json data. I am assuming if i can fix it in one then i can fix it in the other, assuming this error is a problem on my end. <html> <head> <title>Extra-Life Alerts</title> <meta charset="utf-8"> <link href="controller_blue.ico" rel="shortcut icon" type="image/x-icon"> <link href="teamAlert.css" rel="stylesheet"> </head> <body> <?php header('Access-Control-Allow-Origin: *'); ?> <script type="text/javascript" src="./javascript/jQuery/jquery-2.1.4.js"></script> <script type="text/javascript" src="./javascript/jQuery-url-parser/2.3.1/purl.js"></script> <script type="text/javascript" src="./javascript/dropzone/dropzone.js"></script> <!--<script type="text/javascript" src="./javascript/feedback/jquery.feedback-1.2.0.js"></script>--> <script type="text/javascript" src="//cdn.jsdelivr.net/jquery.marquee/1.3.1/jquery.marquee.min.js"></script> <!--<script type="text/javascript" src="./javascript/json-parse/json_parse.js"></script>--> <script> var currentDonation; var priorDonation = "0"; var getText; function init() { $.ajaxPrefilter(function( options ) { options.async = true; options.cache = false; options.crossDomain = true; }); // Parse setup parameters. var id = $.url().param('id'); var audio = $.url().param('audio'); var playAudio = document.createElement('audio'); var marquee = $.url().param('marquee'); var xmlhttp = new XMLHttpRequest(); //var url = "http://extralifealerts.com/tempTeamDonations.txt"; var url = "http://www.extra-life.org/index.cfm?fuseaction=donordrive.team&teamID="+id+"&format=json"; function startXMLHTTP() { xmlhttp.open("GET", url, true); /*xmlhttp.onreadystatechange = function () { getText = xmlhttp.responseText };*/ /*$.ajax({ url: url, type: "GET", async: true, dataType: "json", }).done(function(data){ //console.log("IN AJAX Data is "+data); currentDonation = data; });*/ $.ajax({ url: url, type: "GET", async: true, dataType: "json", jsonp: true, crossDomain: true, success: function (data) { //console.log("IN AJAX Data is "+data); currentDonation = data; } }); //currentDonation = JSON.parse(getText); //console.log("after function currentDonation: " + currentDonation); xmlhttp.onreadystatechange = function () { if ((xmlhttp.readyState == '4' && ( xmlhttp.status == '200' || xmlhttp.status == '204' ) ) && ( ( currentDonation.totalRaisedAmount != "0" || currentDonation.totalRaisedAmount >= priorDonation ) )) { if(currentDonation.totalRaisedAmount == priorDonation) { return true; } else { extraLifeAlert(xmlhttp.responseText); //console.log("Executing the extralifealert function"); } } }; xmlhttp.send(); /* Debugging steps*/ //console.log(xmlhttp.onreadystatechange); //console.log("TEST BEGINNING Amount: Current: " + currentDonation + " | Prior: " + priorDonation); } setInterval(startXMLHTTP,5000); function extraLifeAlert(response) { var teamName = JSON.parse(response); var teamGoal = JSON.parse(response); var raisedAmount = JSON.parse(response); document.documentElement.style.overflow = 'hidden'; // firefox, chrome document.body.scroll = "no"; // ie only if (teamName.name) { $('#posts').find('.teamName').text(teamName.name); } if (teamGoal.fundraisingGoal) { $('#posts').find('.fundraisingGoal').text(teamGoal.fundraisingGoal); } if (raisedAmount.totalRaisedAmount) { $('#posts').find('.totalRaisedAmount').text("$" + raisedAmount.totalRaisedAmount); } if(priorDonation == "0"){ setTimeout(function () { $(document.getElementById('posts')).fadeIn(1000); }, 1000); } if (currentDonation.totalRaisedAmount > priorDonation) { setTimeout( function() { $('#posts').find('.totalRaisedAmount').fadeOut(1000); }, 0); setTimeout(function() { $('#posts').find('.totalRaisedAmount').fadeIn(1000); }, 2000); setTimeout(function(){ if (audio) { playAudio.setAttribute('src', './audio/'+ audio); playAudio.loop = false; playAudio.load(); playAudio.play(); } }, 1000); } priorDonation = currentDonation.totalRaisedAmount; /** Debugging steps */ //console.log("TEST END Amount: Current: " + currentDonation.totalRaisedAmount + " | Prior: " + priorDonation); } } setInterval(init, 5000); </script> <div id="posts" class="entireMessage" style="display:none"> <div id="teamGoal"> <span class="teamName"></span><br> Goal: $<span class="fundraisingGoal"></span><br> Total Raised: <span class="totalRaisedAmount"></span> </div> </div> <script> /*$('.entireMessage').marquee({ duration: 8000, gap: 50, delayBeforeStart: 8000, direction: 'left', duplicated: true });*/ </script> <script> var effect = $.url().param('effect'); var font = $.url().param('font'); var headID = document.getElementsByTagName('head')[0]; var link = document.createElement('link'); link.rel = 'stylesheet'; link.type = 'text/css'; link.href = 'http://fonts.googleapis.com/css?family='+font+'&effect='+effect; headID.appendChild(link); document.getElementById('teamGoal').className = 'font-effect-'+effect; document.getElementById('teamGoal').style.fontFamily = font; </script> </body> </html>
  7. Capturing your Extra Life Data We’re excited to announce that there is now a way for you to obtain the information on your Extra Life fundraising page (donations, team roster, etc) and utilize it during your broadcast to engage with your viewers in real time. Getting Started: The implementation couldn’t be simpler! To get started, just visit your participant or team page and simply add “&format=json” to the end of the URL. We will be providing widgets to help you consume this data in the future. In the meantime, feel free to play around with it and show us what you can come up with in the forums! Examples Participant InformationIf you visit your fundraising page and add “&format=json” to the end of the URL, you will be able to see fundamental participant information about yourself, including: donorDrive.participant (cached) · avatarImageURL · createdOn · firstName · fundraisingGoal · isTeamCaptain lastName · participantID · teamID Participant Donation InformationIf you visit your fundraising page, click on the “Donations” tab and add “&format=json” to the end of the URL, you will be able to see fundamental information about the donations you have received, including: donorDrive.participantDonations· avatarImageURL · createdOn · donationAmount · donorName · message Donations in JSON format are presented as real-­‐time data (they aren’t cached) so you’ll be able to thank your donors the instant they donate! The thermometer on your fundraising page gets updated every 15 minutes so you may see a different total if you’re comparing the two. Team InformationIf you are part of a team and visit your team’s fundraising page, you can add “&format=json” to the end of the URL, you will be able to see fundamental information about your team, including: donorDrive.team (cached) · avatarImageURL · createdOn · fundraisingGoal · name Team Roster InformationIf you are part of a team, visit your team’s fundraising page and click on the “Roster” tab. You can add “&format=json” to the end of the URL and you will be able to see fundamental information about your team’s roster, including: DonorDrive.teamParticipants (cached) · avatarImageURL · createdOn · firstName · isTeamCaptain · lastName · participantID