Witam
Mam tablicę z allegro API która przez print_r zwraca takie dane jak poniżej
Jak wyciągnąć wartość it-buy-now-price
(
[array
-item
-list
-info
] => Array (
[0] => stdClass Object
(
[item-info] => stdClass Object
(
[it-id] => 7022911760
[it-country] => 1
[it
-name
] => Materac 160x200 Kokos DAKOTA
MAX Premium
- 24 cm
[it-price] => 0
[it-seller-id] => 37286481
[it-seller-login] => MEBLE-SOFT
[it-seller-rating] => 0
[it-starting-price] => 0
[it-quantity] => 95410
[it-reserve-price] => 0
[it-location] => BARTOSZYCE
[it-buy-now-price] => 379
[it-buy-now-active] => 1
[it-advertisement-price] => 0
[it-advertisement-active] => 0
[it-high-bidder] => 0
[it-high-bidder-login] =>
[it-description] =>
[it-standardized-description] =>
[it-options] => 84247343
[it-state] => 14
[it-is-eco] => 0
[it-postcode] =>
[it-vat-invoice] => 1
[it-vat-margin-invoice] => 0
[it-without-vat-invoice] => 0
[it-bank-account1] =>
[it-bank-account2] =>
[it-starting-quantity] => 100000
[it-is-for-guests] => 1
[it-has-product] => 0
[it
-order
-fulfillment
-time] => 24
[it-ending-info] => 1
[it-is-allegro-standard] => 0
[it-is-new-used] => 1
[it-is-brand-zone] => 0
[it-duration-info] => stdClass Object
(
[duration-type] => 2
)
[it-is-fulfillment-time-active] => 1
[it-ean] =>
[it-contact] =>
)
(
[0] => stdClass Object
(
[cat-level] => 0
[cat-id] => 5
[cat-name] => Dom i Ogród
)
[1] => stdClass Object
(
[cat-level] => 1
[cat-id] => 522
[cat-name] => Meble
)
[2] => stdClass Object
(
[cat-level] => 2
[cat-id] => 568
[cat-name] => Sypialnia
)
[3] => stdClass Object
(
[cat-level] => 3
[cat-id] => 20292
[cat-name] => Materace
)
)
(
)
(
)
[item
-postage
-options
] => Array (
)
[item-payment-options] => stdClass Object
(
[pay-option-transfer] => 0
[pay-option-on-delivery] => 1
[pay-option-allegro-pay] => 1
[pay-option-see-desc] => 0
[pay-option-payu] => 1
[pay-option-escrow] => 0
[pay-option-qiwi] => 0
)
[item-company-info] => stdClass Object
(
[company-first-name] =>
[company-last-name] =>
[company-name] =>
[company-address] =>
[company-postcode] =>
[company-city] =>
[company-nip] =>
)
[item-product-info] => stdClass Object
(
[product-id] => 0
[product-name] =>
[product-description] =>
[product
-images
-list
] => Array (
)
[product
-parameters
-group
-list
] => Array (
)
)
[item-after-sales-service-conditions] => stdClass Object
(
[implied-warranty] =>
[return-policy] =>
[warranty] =>
)
[item-additional-services-group] =>
)
)
[array
-items
-not
-found
] => Array (
)
[array
-items
-admin
-killed
] => Array (
)
)