Results 1 to 10 of 12

Thread: [Example] Live League Game Signature Image

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator
    Join Date
    Oct 2012
    Posts
    66

    Post [Example] Live League Game Signature Image

    I wanted to write up a few examples of WebAPI consumers, so I spent some of my free time coming up with this one.

    Source code and up-to-date description lives here: https://github.com/danieljennings/dota2webapiexamples


    Live League Game Signature Image

    This example is a feasible forum signature that will show forum-goers the currently-live league matches occuring on Dota 2 at the time. It will rotate through all of the live league games, giving each one 3.5 seconds of visibility before moving onto the next and wrapping back around to the first.

    This image is an example of what the signature looks like, but is not live itself. Visit this link to see a live version.




    Requirements:


    Demonstrates:
    • WebAPI: GetLeagueListing
    • WebAPI: GetLiveLeagueGames
    • Caching: Using Memcached to reduce latency by caching WebAPI results
    • Images: Using ImageMagick to render images on-demand.



    Source code: https://github.com/danieljennings/do..._signature.php
    Last edited by DanielJ; 01-29-2013 at 06:51 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •