get election candidates by API key