West Ham defender Guy Demel has confirmed to Sky Sports that he has retired from international football with the Ivory Coast.