title: how to use and what is soda api & javascript require()
body: <p>I want to use the data of <a href="http://data.seattle.gov/api/views/kzjm-xkqj/rows.json" rel="nofollow">http://data.seattle.gov/api/views/kzjm-xkqj/rows.json</a> with SODA API. </p>
  
  <p>In the API DOCS, i found it using a language ruby, python, coffeescript, cURL. 
  And it use require() function.<br>
  But I don't know how exactly the require() function is work. 
  I found about the require. Isn't it something like the loader of a jscript file???</p>
  
  <p>I think first line is maybe... using this way</p>
  
  <pre><code>require 'https://soda.demo.socrata.com/resource/earthquakes.json?source=uw'
  
  
  request = require 'request'
  options = uri: 'https://soda.demo.socrata.com/resource/earthquakes.json?
  $$app_token=APP_TOKEN&amp;recall_id=94'
  request options, (err, response, body) -&gt;  console.log body
  </code></pre>
  
  <p>I change the coffeescript into javascript, but i still don't know. 
  var options, request;</p>
  
  <pre><code>request = require('request');
  options = {uri: 'https://data.seattle.gov/Public-Safety/Seattle-Real-Time-Fire-911-
  Calls/kzjm-xkqj/rows.json?$$app_token=APP_TOKEN&amp;recall_id=94' };
  request(options, function(err, response, body) {  return console.log(body); } );
  </code></pre>
  
  <p>And.. Sorry for my poor English.</p>