windy icon indicating copy to clipboard operation
windy copied to clipboard

Allow other domains besides http://data.cityofchicago.org

Open christophermanning opened this issue 14 years ago • 1 comments

Currently the root (http://data.cityofchicago.org) is hard coded and seems to be the only thing specific to the Chicago Data portal:

class Base
  def self.root
    "http://data.cityofchicago.org"
  end

but if that could be modified at runtime then you could use this gem to interface with other socrata sites: http://explore.data.gov http://datacatalog.cookcountyil.gov ...etc

A suggestion would be to make the root url could have an attr_accessor like the app_token does.

christophermanning avatar Feb 16 '12 06:02 christophermanning

That sounds like a great idea.

srobbin avatar Feb 16 '12 15:02 srobbin