Created
June 22, 2016 13:56
-
-
Save hinananoha/3f133d34f40fe9d8ecfe0f107bfc9ffa to your computer and use it in GitHub Desktop.
function returndata(blog)
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
function returndata($item){ | |
$info['ISBN'] = $item->Items->Item->ItemAttributes->EAN; | |
$info['Title'] = $item->Items->Item->ItemAttributes->Title; | |
$info['Author'] = $item->Items->Item->ItemAttributes->Author; | |
$info['Creator'] = $item->Items->Item->ItemAttributes->Creator; | |
$info['Binding'] = $item->Items->Item->ItemAttributes->Binding; | |
$info['Publ_date'] = $item->Items->Item->ItemAttributes->PublicationDate; | |
$info['Publisher'] = $item->Items->Item->ItemAttributes->Publisher; | |
$info['Price'] = $item->Items->Item->ItemAttributes->ListPrice->Amount; | |
return $info | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment