tylerpearson / civic_aide Goto Github PK
View Code? Open in Web Editor NEWA Ruby wrapper to interact with the Google Civic Information API.
Home Page: https://github.com/tylerpearson/civic_aide
License: MIT License
A Ruby wrapper to interact with the Google Civic Information API.
Home Page: https://github.com/tylerpearson/civic_aide
License: MIT License
I've been trying to use this gem on my project, but have been unable to. It breaks in the most unexpected ways, even though all the spec tests are passing. I don't know if that's an API problem or lack of test coverage. Just to give a simple example, I pasted the code in README into my console and got this error:
[13] pry(main)> client.election(4100).at('4910 Willet Drive, Annandale, VA 22003')
NoMethodError: undefined method `downcase' for nil:NilClass
from /Users/newuser/.rvm/gems/ruby-2.1.1@pollwatchapi/gems/civic_aide-0.1.1/lib/civic_aide/client.rb:62:in `check_response_status'
Note that I am using the latest election id in my call.
This example looks like an issue in the gem, but the v2 of the API looks completely different also, so they may be moving support away from the v1. Are there any plans to add support for v2 to the gem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.