This information will be useful for developers who want to use PixelBuzz.tv in their own software products.
API can be used only for their intended purpose: pixel movie should be requested only for the purpose of his graphic output in the program, each pixel movie need to be created by the user program. Prohibited commercial use of API. All other versions use the API must be specified us in person, we're always open to any ideas and suggestions.
Terms may change. All changes in advance, we will inform you in our twitter.
Call API methods implemented in the form of HTTP requests. All data is transmitted in the format of XML.
All the videos have a resolution of the pixel 13 × 10 pixels. Movie consists of a sequence of frames. The frames follow each other every 100 ms (frame rate is 10FPS).
Movie can be any non-zero number of frames. Now all of our products (including the conservation and moderation of rollers) are working with only 4 shots, but this restriction is not associated with the API in future versions of the number of frames to be arbitrary.
Each frame is encoded as text, one pixel corresponds to a number representing the color of the pixel:
All pixels are written in one row, the columns from left to right, inside the column from top to bottom (in the string of 130 digits). Then, the encoded frames so the row length of 130 characters each, are merged into a single string (framesData), which describes the pixel movie entirely. Thus, framesData will contain < number of frames > × 130 characters.
To get a random movie you need to send a request to http://pixelbuzz.tv/api/1.1/xml/get-random-movie/. You will receive movie ID (movieID), a link to this video on the site (movieURL) and the movie itself, encoded as text (framesData).
To get movie you need to send a request to http://pixelbuzz.tv/api/1.1/xml/get-movie/9324/, where instead of 9324 indicate movie ID, which must be obtained. You will receive movie ID (movieID), a link to this video on the site (movieURL) and the movie itself, encoded as text (framesData).
To best help the developers, we have created PixelBuzz SDK, which includes TVs in all sorts of formats, icons and logo.