Change API::getProjectByName() to reflect the documentation