XBlock API Guide

http://edx.readthedocs.org/projects/xblock/en/latest/

XBlock Tutorial

If you haven't yet gone through the tutorial, do so!

http://edx.readthedocs.org/projects/xblock-tutorial/en/latest/