Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $type = 'json';
- $key = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; // PARTNER KEY
- $content = file_get_contents('https://partnertools.bongous.com/currency/exchanges.' . $contentType . '?key=' . $key);
- $data = json_decode($content);
- /**
- *
- * {
- "AED": [{
- "code": "AED",
- "value": "1"
- }, {
- "code": "ALL",
- "value": "28.1204"
- }, {
- "code": "ANG",
- "value": "0.4956"
- }
- .
- .
- .
- }
- *
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement