congress-dot-gov - v0.4.3
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    apiKey: string
    baseUrl: string
    endpoint: string

    Methods

    • Returns detailed information for a specified congressional committee.

      Parameters

      • chamber: Chamber

        The chamber of the committee

      • committeeCode: string

        The committee code

      • params: { format?: Format; limit?: number; offset?: number } = {}

        {PaginationParams} - Accepts pagination and format parameters

      Returns Promise<
          {
              committee: {
                  bills: { count: number; url: string };
                  communications: { count: number; url: string };
                  history: {
                      committeeTypeCode: CommitteeType;
                      endDate?: string;
                      establishingAuthority?: string;
                      libraryOfCongressName: string;
                      locLinkedDataId?: string;
                      naraId?: string;
                      officialName: string;
                      startDate: string;
                      superintendentDocumentNumber?: string;
                      updateDate: string;
                  }[];
                  isCurrent: boolean;
                  nominations?: { count: number; url: string };
                  parent?: { name: string; systemCode: string; url: string };
                  reports: { count: number; url: string };
                  subcommittees?: { name: string; systemCode: string; url: string }[];
                  systemCode: string;
                  type: string;
                  updateDate: string;
              };
          } & { rateLimit: RateLimitInfo },
      >

      Detailed information for the specified committee

    • Returns the list of legislation associated with the specified congressional committee.

      Parameters

      • chamber: Chamber

        The chamber of the committee

      • committeeCode: string

        The committee code

      • params: { format?: Format; limit?: number; offset?: number } = {}

        {PaginationParams} - Accepts pagination and format parameters

      Returns Promise<
          {
              "committee-bills"?: {
                  bills: {
                      actionDate: string;
                      billType?: S
                      | SJRES
                      | SCONRES
                      | SRES
                      | HR
                      | HJRES
                      | HCONRES
                      | HRES;
                      congress: number;
                      number: string;
                      relationshipType: string;
                      type: string;
                      updateDate: string;
                      url: string;
                  }[];
              };
              committeeBills: {
                  bills: {
                      actionDate: string;
                      billType?: S
                      | SJRES
                      | SCONRES
                      | SRES
                      | HR
                      | HJRES
                      | HCONRES
                      | HRES;
                      congress: number;
                      number: string;
                      relationshipType: string;
                      type: string;
                      updateDate: string;
                      url: string;
                  }[];
              };
              pagination: { count: number; next: string };
              rateLimit: RateLimitInfo;
              request: { contentType: "application/json"; format: "json" };
          },
      >

      A list of bills associated with the committee

    • Returns the list of House communications associated with a specified congressional committee.

      Parameters

      • chamber: Chamber

        The chamber of the committee

      • committeeCode: string

        The committee code

      • params: { format?: Format; limit?: number; offset?: number } = {}

        {PaginationParams} - Accepts pagination and format parameters

      Returns Promise<
          BasePaginatedResponse & {
              houseCommunications: {
                  chamber: Chamber;
                  communicationType: { code: string; name: string };
                  congress: number;
                  number: number;
                  referralDate: string;
                  updateDate: string;
                  url: string;
              }[];
          } & { rateLimit: RateLimitInfo },
      >

      A list of House communications

    • Returns the list of nominations associated with a specified congressional committee.

      Parameters

      • chamber: Chamber

        The chamber of the committee

      • committeeCode: string

        The committee code

      • params: { format?: Format; limit?: number; offset?: number } = {}

        {PaginationParams} - Accepts pagination and format parameters

      Returns Promise<
          BasePaginatedResponse & {
              nominations: {
                  citation: string;
                  congress: number;
                  description: string;
                  latestAction: { actionDate: string; text: string; url?: string };
                  nominationType: { isCivilian: boolean; isMilitary: boolean };
                  number: number;
                  partNumber: string;
                  receivedDate: string;
                  updateDate: string;
                  url: string;
              }[];
          } & { rateLimit: RateLimitInfo },
      >

      A list of nominations

    • Returns the list of committee reports associated with a specified congressional committee.

      Parameters

      • chamber: Chamber

        The chamber of the committee

      • committeeCode: string

        The committee code

      • params: { format?: Format; limit?: number; offset?: number } = {}

        {PaginationParams} - Accepts pagination and format parameters

      Returns Promise<
          BasePaginatedResponse & {
              reports: {
                  chamber: Chamber;
                  citation: string;
                  congress: number;
                  number: number;
                  part?: number;
                  type: CommitteeReportType;
                  updateDate: string;
                  url: string;
              }[];
          } & { rateLimit: RateLimitInfo },
      >

      A list of committee reports

    • Returns a list of congressional committees.

      Parameters

      • params: { format?: Format; limit?: number; offset?: number } = {}

        {PaginationParams} - Accepts pagination and format parameters

      Returns Promise<
          BasePaginatedResponse & {
              committees: {
                  chamber: Chamber;
                  committeeTypeCode: CommitteeType;
                  name: string;
                  parent?: { name: string; systemCode: string; url: string };
                  subcommittees?: { name: string; systemCode: string; url: string }[];
                  systemCode: string;
                  updateDate: string;
                  url: string;
              }[];
          } & { rateLimit: RateLimitInfo },
      >

      A list of congressional committees

    • Returns a list of congressional committees filtered by the specified chamber.

      Parameters

      • chamber: Chamber

        The chamber to filter by

      • params: { format?: Format; limit?: number; offset?: number } = {}

        {PaginationParams} - Accepts pagination and format parameters

      Returns Promise<
          BasePaginatedResponse & {
              committees: {
                  chamber: Chamber;
                  committeeTypeCode: CommitteeType;
                  name: string;
                  parent?: { name: string; systemCode: string; url: string };
                  subcommittees?: { name: string; systemCode: string; url: string }[];
                  systemCode: string;
                  updateDate: string;
                  url: string;
              }[];
          } & { rateLimit: RateLimitInfo },
      >

      A list of congressional committees for the specified chamber

    • Returns a list of congressional committees filtered by the specified congress.

      Parameters

      • congress: number

        The congress to filter by

      • params: { format?: Format; limit?: number; offset?: number } = {}

        {PaginationParams} - Accepts pagination and format parameters

      Returns Promise<
          BasePaginatedResponse & {
              committees: {
                  chamber: Chamber;
                  committeeTypeCode: CommitteeType;
                  name: string;
                  parent?: { name: string; systemCode: string; url: string };
                  subcommittees?: { name: string; systemCode: string; url: string }[];
                  systemCode: string;
                  updateDate: string;
                  url: string;
              }[];
          } & { rateLimit: RateLimitInfo },
      >

      A list of congressional committees for the specified congress

    • Returns a list of committees filtered by the specified congress and chamber.

      Parameters

      • congress: number

        The congress to filter by

      • chamber: Chamber

        The chamber to filter by

      • params: { format?: Format; limit?: number; offset?: number } = {}

        {PaginationParams} - Accepts pagination and format parameters

      Returns Promise<
          BasePaginatedResponse & {
              committees: {
                  chamber: Chamber;
                  committeeTypeCode: CommitteeType;
                  name: string;
                  parent?: { name: string; systemCode: string; url: string };
                  subcommittees?: { name: string; systemCode: string; url: string }[];
                  systemCode: string;
                  updateDate: string;
                  url: string;
              }[];
          } & { rateLimit: RateLimitInfo },
      >

      A list of committees for the specified congress and chamber

    • Returns the list of Senate communications associated with a specified congressional committee.

      Parameters

      • chamber: Chamber

        The chamber of the committee

      • committeeCode: string

        The committee code

      • params: { format?: Format; limit?: number; offset?: number } = {}

        {PaginationParams} - Accepts pagination and format parameters

      Returns Promise<
          BasePaginatedResponse & {
              senateCommunications: {
                  chamber: Chamber;
                  communicationType: { code: string; name: string };
                  congress: number;
                  number: number;
                  referralDate: string;
                  updateDate: string;
                  url: string;
              }[];
          } & { rateLimit: RateLimitInfo },
      >

      A list of Senate communications