{"id":16948123,"url":"https://github.com/technicalpickles/daywalker","last_synced_at":"2025-04-11T20:11:47.355Z","repository":{"id":494675,"uuid":"121271","full_name":"technicalpickles/daywalker","owner":"technicalpickles","description":"A Ruby wrapper around the Sunlight Labs API using httparty and happymapper","archived":false,"fork":false,"pushed_at":"2010-02-23T05:16:17.000Z","size":284,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T20:11:46.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/technicalpickles.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-02-04T04:22:05.000Z","updated_at":"2019-08-13T13:58:21.000Z","dependencies_parsed_at":"2022-07-18T04:16:58.470Z","dependency_job_id":null,"html_url":"https://github.com/technicalpickles/daywalker","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fdaywalker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fdaywalker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fdaywalker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fdaywalker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technicalpickles","download_url":"https://codeload.github.com/technicalpickles/daywalker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248473128,"owners_count":21109628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T21:49:41.757Z","updated_at":"2025-04-11T20:11:47.323Z","avatar_url":"https://github.com/technicalpickles.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= daywalker\n\n\nA Ruby wrapper for the Sunlight Labs API: http://wiki.sunlightlabs.com/Sunlight_API_Documentation\n\n= DEPRECATED\n\nThis gem is no longer under active development. THe official gem would be abetter place to go:\n\n * http://github.com/sunlightlabs/ruby-sunlightapi\n\n== Install\n\n  # Run the following if you haven't already:\n  gem sources -a http://gems.github.com\n  # Install the gem(s):\n  sudo gem install technicalpickles-daywalker\n\n== Get an API key\n\nBefore starting you need to register for an API key: http://services.sunlightlabs.com/api/register/\n\nAfter registering, you will receive an email prompting you to activate the API key.\n\n== Examples\n\n    require 'rubygems'\n    require 'daywalker'\n    require 'pp'\n\n    Daywalker.api_key = 'this is so sekrit'\n\n    pp Daywalker::District.all_by_zipcode('27511')\n\n    pp Daywalker::District.unique_by_latitude_and_longitude(40.739157, -73.990929)\n\n    pp Daywalker::District.unique_by_address('One City Hall Square, Boston, MA 02201')\n\n    pp Daywalker::Legislator.all_by_zip('02201')\n\n    pp Daywalker::Legislator.unique(:state =\u003e 'NY', :district =\u003e 4)\n\n    pp Daywalker::Legislator.unique_by_state_and_district('NY', 4)\n\n    pp Daywalker::Legislator.all(:state =\u003e 'NY', :title =\u003e :senator)\n\n    pp Daywalker::Legislator.all_by_state_and_title('NY', :senator)\n  \n\n== FAQ\n\nQ:: Why not use the existing gem, available at http://github.com/luigi/sunlight/tree/master ?\nA:: Mostly, I didn't have a good experience when I was first poking around the Sunlight Labs API. I was dense and didn't activate my API key at first, but it didn't notice that. Even after activating, I wasn't getting any data back.\n\n== COPYRIGHT\n\nCopyright (c) 2009 Josh Nichols. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalpickles%2Fdaywalker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnicalpickles%2Fdaywalker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalpickles%2Fdaywalker/lists"}