A simple php function to grab iTunes data from the apple servers - the iTunes ID ($id) must be set or the function returns [false]. If no data found for the given iTunes ID (app does not exist, timeout...) the script also returns [false].
You can find more information about the iTunes API here.