Yfrog is a project mainly written in C++ and PYTHON, it's free.
Mirror of yfrog HG repo
Sample code as well as libraries in different programming languages to work with imageshack.us and yfrog.com APIs. Image and video uploads, etc