Exchange

Exchange API Information.

https://api.manana.kr/exchange/rate.json

Supported HTTP Method : GET
@param
base
KRW
code
KRW,USD,JPY

Choice 1. https://api.manana.kr/exchange/rate/KRW/KRW,USD,JPY.json
Choice 2. https://api.manana.kr/exchange/rate.json?base=KRW&code=KRW,USD,JPY

[
    {
        "date": "2018-12-19 19:17:00",
        "name": "JPYKRW=X",
        "rate": 10.009431779759046
    },
    {
        "date": "2018-12-19 19:16:14",
        "name": "KRW=X",
        "rate": 1
    },
    {
        "date": "2018-12-19 19:00:00",
        "name": "USDKRW=X",
        "rate": 1124.92
    }
]
parseResponse({
    "meta": {
        "Access-Control-Allow-Origin": "*",
        "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, PATCH, DELETE",
        "Access-Control-Max-Age": "1000",
        "Access-Control-Allow-Headers": "*",
        "Set-Cookie": "PHPSESSID=2n453972f11bopnjrgn9jqjdia; path=/",
        "Pragma": "no-cache",
        "Vary": "Accept",
        "X-Auth-Status": "false",
        "X-RateLimit-Limit": "1200 per hour",
        "X-RateLimit-Remaining": "1189",
        "Cache-Control": "no-cache, must-revalidate",
        "Expires": "0",
        "X-Powered-By": "Luracast Restler v3.0.0rc5",
        "Content-Type": "text/html; charset=utf-8",
        "Content-Language": "en"
    },
    "data": [
        {
            "date": "2018-12-19 19:17:00",
            "name": "JPYKRW=X",
            "rate": 10.009431779759046
        },
        {
            "date": "2018-12-19 19:16:14",
            "name": "KRW=X",
            "rate": 1
        },
        {
            "date": "2018-12-19 19:00:00",
            "name": "USDKRW=X",
            "rate": 1124.92
        }
    ]
});
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <item>
        <date>2018-12-19 19:17:00</date>
        <name>JPYKRW=X</name>
        <rate>10.009431779759</rate>
    </item>
    <item>
        <date>2018-12-19 19:16:14</date>
        <name>KRW=X</name>
        <rate>1</rate>
    </item>
    <item>
        <date>2018-12-19 19:00:00</date>
        <name>USDKRW=X</name>
        <rate>1124.92</rate>
    </item>
</response>

Error

Error Response
{
    "status": "Error",
    "message": "KRW is not data."
}
parseResponse({
    "meta": {
        "Access-Control-Allow-Origin": "*",
        "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, PATCH, DELETE",
        "Access-Control-Max-Age": "1000",
        "Access-Control-Allow-Headers": "*",
        "Set-Cookie": "PHPSESSID=2n453972f11bopnjrgn9jqjdia; path=/",
        "Pragma": "no-cache",
        "Vary": "Accept",
        "X-Auth-Status": "false",
        "X-RateLimit-Limit": "1200 per hour",
        "X-RateLimit-Remaining": "1189",
        "Cache-Control": "no-cache, must-revalidate",
        "Expires": "0",
        "X-Powered-By": "Luracast Restler v3.0.0rc5",
        "Content-Type": "text/html; charset=utf-8",
        "Content-Language": "en"
    },
    "data": {
        "status": "Error",
        "message": "KRW is not data."
    }
});
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <status>Error</status>
    <message>KRW is not data.</message>
</response>

AdSense