Planning applications tracker for InLinkUK from BT kiosks. https://kiosks.adrianshort.org/
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415
  1. #!/usr/bin/env ruby
  2. require 'scraperwiki'
  3. require 'rest-client'
  4. require 'json'
  5. require 'pp'
  6. result = RestClient.get(ENV['MORPH_API_URL'], params: {
  7. key: ENV['MORPH_API_KEY'],
  8. query: "select * from applications"
  9. })
  10. apps = JSON.parse(result)
  11. ScraperWiki.save_sqlite( \
  12. ['authority_name', 'council_reference'], apps, 'applications')