finish idol api and rspec