GithubHelp home page GithubHelp logo

zosoled / extralifestreamer Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 447 KB

A set of donation tools for streaming during Extra Life.

HTML 14.16% CSS 35.41% JavaScript 50.43%
css extra-life fundraising html javascript

extralifestreamer's People

Contributors

zosoled avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

timmixell

extralifestreamer's Issues

Team callouts fail on first try due to null ID.

To simplify the setup process, the URL requires only one parameter of ID. The participant data can then be called which includes the team ID, if any, which can then be subsequently used in team callouts. Participant is asynchronous, so the first team callout fails because participant has not yet returned any data.

Support data pagination

Endpoints now serve participant donations and team donations in pages, up to 100 records per page. Total pages are the x-total-records response header.
https://www.extra-life.org/index.cfm?fuseaction=cms.page&id=1353

Refresh rate limit of 60 seconds is intended for an endpoint as a whole, recursively calling an endpoint to get through all data pages can be performed as fast as necessary.
http://community.extra-life.org/forums/topic/7464-donordrive-ama-w-the-extra-life-community/?tab=comments#comment-27629

Extra Calls

if (participant) {

Hey! I tried messaging you on Discord, but I'm not sure you're on :[

When DataRequester initially populates the data set, team data is being retrieved but nothing is being done with it.

Might I suggest delineating between "team" level functions and "individual" functions (perhaps creating separate entry points via the ExtraLifeStreamer.html launcher?). Is this something you'd like me to take a crack at in a PR?

Team data is not being pulled

Changes to how HTTP endpoints are determined and executed broke the connection to team endpoints. Currently it is assumed that a participant ID is sent, but the team callouts need their own team ID.

Get participant ID from URL

So far, the simplest way to get the participant ID seems to be a URL parameter. It doesn't require modifying any files manually, it doesn't involve maintaining cookies or storage, and it can be entered directly into the BrowserSource URL options when setting up the source in OBS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.