Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Candidate

import type { Candidate } from "https://googleapis.deno.dev/v1/civicinfo:v2.ts";

Information about a candidate running for elected office.

interface Candidate {
candidateUrl?: string;
channels?: Channel[];
email?: string;
name?: string;
orderOnBallot?: bigint;
party?: string;
phone?: string;
photoUrl?: string;
}

§Properties

§
candidateUrl?: string
[src]

The URL for the candidate's campaign web site.

§
channels?: Channel[]
[src]

A list of known (social) media channels for this candidate.

§
email?: string
[src]

The email address for the candidate's campaign.

§
name?: string
[src]

The candidate's name. If this is a joint ticket it will indicate the name of the candidate at the top of a ticket followed by a / and that name of candidate at the bottom of the ticket. e.g. "Mitt Romney / Paul Ryan"

§
orderOnBallot?: bigint
[src]

The order the candidate appears on the ballot for this contest.

§
party?: string
[src]

The full name of the party the candidate is a member of.

§
phone?: string
[src]

The voice phone number for the candidate's campaign office.

§
photoUrl?: string
[src]

A URL for a photo of the candidate.