Skip to content

openwichita/civic-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

civic-search

A simple node wrapper for the Google Civic Info API.

How to use

var CivicSearch = require('civic-search');

elections

CivicSearch.elections()
.then(function(electionData) {
  // electionData = {
  //   elections: [
  //     {
  //       id: '1234',
  //       name: 'Election Name',
  //       date: '1990-02-09',
  //       division: {
  //         state: 'ks',
  //         place: 'wichita'
  //       }
  //     }
  //   ]
  // }
});

About

Node.js wrapper for the Google Civic Information API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published