Bitbucket-Api is a project mainly written in Ruby, it's free.
A gem for the Bitbucket Api
404: Not Found