Created
December 6, 2014 05:00
-
-
Save usualoma/b2b27f147da64fe716be to your computer and use it in GitHub Desktop.
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 | |
$data = file_get_contents('https://example.com/mt/mt-data-api.cgi/v1/sites/1/entries'); | |
$entries = json_decode($data); | |
foreach ($entries as $e) { | |
// Do stuff | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment