SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2012
    Posts
    46
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Help with checking api

    Hey, im looking to create a javascript file that is able to check the contents of an api URL such as:

    http://api.justin.tv/api/stream/list...annel=sgsecret

    The ending "sgsecret" is the name of the player. I need the file to be able to check if there is content in the URL (meaning if the person's stream is live or not). Then post the players name only if the player is live. The content of the URL will be empty if the player is not live.

    Can anyone point me in the right direction? Or give me an example of how this would be done for one stream? Thanks

  2. #2
    SitePoint Enthusiast
    Join Date
    Oct 2012
    Posts
    46
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    No one? =*(


Bookmarks

Posting Permissions

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