Created
November 12, 2014 11:15
-
-
Save nickkraakman/e0bc5be2502007bc7f56 to your computer and use it in GitHub Desktop.
Get XML response of SEC EDGAR filing URLs using the iEDGAR API
This file contains hidden or 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 | |
function getURLs($ticker){ | |
$content = file_get_content("https://www.valuespreadsheet.com/iedgar/results.php?stock=".$ticker."&output=xml"); | |
$xml = simplexml_load_string($content); | |
echo "<pre>"; print_r($xml); echo "</pre>"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment