Created
March 14, 2014 03:02
-
-
Save bmcculley/9541424 to your computer and use it in GitHub Desktop.
An example proxy.php to get usgs.gov earthquake for use with jquake.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A proxy to get usgs.gov earthquake for use with jquake | |
* https://github.com/bmcculley/jquake | |
* | |
*/ | |
$data = file_get_contents('http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojson'); | |
echo $data; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment