Differences

This shows you the differences between two versions of the page.

geoip:api [2010/01/08 21:34]
mauayan
geoip:api [2010/01/09 01:11] (current)
mauayan
Line 35: Line 35:
The response should look like: The response should look like:
<code> <code>
-'ip'        =&gt; %ip, +
-'timestamp' =&gt; %timestamp_in_milliseconds+    &quot;ip":"69.163.181.149"
-'location'  =&gt; array( +    "timestamp&quot;:1263028293112
-  'coords'  =&gt; array( +    "location&quot;: { 
-    'latitude'  =&gt; %latitude, +        "coords&quot;: { 
-    'longitude' =&gt; %longitude +            &quot;latitude":"33.9269"
-  )+            &quot;longitude":"-117.861"  
-  'address'   =&gt; array( +        }
-    'city'         =&gt; %city, +        "address&quot;: { 
-    'country'      =&gt; %country, +            &quot;city":"Brea"
-    'country_code' =&gt; %country_code, +            &quot;country":"United States"
-  )+            &quot;country_code":"US" 
-  'gmtOffset' =&gt; %gmtOffset, +        }
-  'dstOffset' =&gt; %dstOffset+        &quot;gmtOffset":"-8"
 +        &quot;dstOffset":"-7" 
 +    } 
 +}
</code> </code>

Personal Tools