REST API Documentation
From Justin.tv API Wiki
Create your own Justin.tv apps! v1 of the Justin.tv API includes all the basic building blocks a developer needs to create an application that can browse channels, play live streams, allow users to broadcast live video, and interact with the Justin.tv social network backend. The API is composed of two distinct parts: Flash components, and the REST API.
REST API calls are either GET (for reads), or POST (for creates and updates). API calls are made to http://api.justin.tv/api/path/to/call.format.
Return objects for various API calls are listed here.
Get information about a specific live stream, a category, a language, or get them all!
Get aggregate information about all the streams (total viewers, total number of streams, average bitrate)
Register a callback url for stream events on a channel - you can register for stream_up and stream_down
Unregister a pre-registered callback
List all the callbacks currently registered on a given channel
Get information about the live stream results of a search query.
Returns extended information for a user.
user/create (requires whitelist)
Creates a new user.
Updates an existing user.
Get all users who are friends of a user.
Get all channels who are favorites of a user.
Get all events a user is subscribed to.
Channel objects include embed code, status, title, etc.
Returns extended information for a channel, specified by channel id or login.
channel/create (requires whitelist)
Creates a new user with a channel.
Updates an existing channel.
Gets a channel's stream_key, which is needed for broadcasting from a source outside a Justin.tv embed.
Get users who are fans of a channel.
Get archives from a given channel.
Get all events on a channel.
Get embed code for a channel.
Get chat embed code for a channel.
Get the publisher embed code for a channel.
Run a commercial on a channel.
Creates a new fan.
Destroys a fan relationship.
Returns extended information for a clip, specified by clip id.
Updates an existing clip.
Creates a new clip on a channel.
Destroys an existing clip.
Get embed code for a clip.
Post a message to a chatroom via oauth
Gets the Flash Media Encoder config file for an authenticated channel. OAuth tokens for the requesting channel.
Returns the user object corresponding to the user who has authorized the access token you are making the request with.
Returns whether the IP address or application has been rate limited or not.
Returns a collection of channel categories.
Returns the embed code for the content contained on the page at a given url.