Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Extend support for other apis, analogous to python-sunlight #7
Ruby-sunlight needs to support the other Sunlight APIs, including
Additionally, ruby-sunlight should incorporate changes for the new Congress V3 API. There are ruby gems that have this code already though, so maybe just direct users to that gem? Gem: http://rubygems.org/gems/congress
For reference, here is python-sunlight
11 months ago, I did some uncompleted work on adapting to the new Congress API, it's on the new_congress_api branch.
Personally, I'm not as convinced a ruby-sunlight library even needs to exist that ties our APIs together, but if we want to do that, I'd want to piggyback on the good work over at the
To do that, I'd recommend we just make the
referenced this issue
Jan 22, 2014
@konklone how do you feel about creating standalone gems for each api and requiring them as dependencies?
I found https://github.com/pengwynn/transparency-data but I couldn't get any of the examples to compile. I would be happy to rewrite something for influence explorer and maybe a few of the other APIs and wrap them in sunlight-ruby.
Yeah, our Transparency Data (now Influence Explorer) API has changed a lot in the last 4 years, I'm not surprised.
I think either way (extending ruby-sunlight to talk to our APIs, or creating standalone gems) is fine. There's not a lot of use for a gem that only bundles other gems together, though. The
The main discussion is here: https://groups.google.com/forum/#!topic/fifty-state-project/u8vidiJUH1k
The new API is up, it's documented here. I'd post to the list I linked to above and offer to write a little Ruby gem, so that they know what you're doing.