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": "2019-05-20 04:07:20",
        "name": "JPYKRW=X",
        "rate": 10.838859115269324
    },
    {
        "date": "2019-05-20 02:01:35",
        "name": "KRW=X",
        "rate": 1
    },
    {
        "date": "2019-05-18 08:00:00",
        "name": "USDKRW=X",
        "rate": 1193.25
    }
]
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=ov9qijgknubg393mtvkv2tcv8m; path=/",
        "Pragma": "no-cache",
        "Vary": "Accept",
        "X-Auth-Status": "false",
        "X-RateLimit-Limit": "1200 per hour",
        "X-RateLimit-Remaining": "1184",
        "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-US"
    },
    "data": [
        {
            "date": "2019-05-20 04:07:20",
            "name": "JPYKRW=X",
            "rate": 10.838859115269324
        },
        {
            "date": "2019-05-20 02:01:35",
            "name": "KRW=X",
            "rate": 1
        },
        {
            "date": "2019-05-18 08:00:00",
            "name": "USDKRW=X",
            "rate": 1193.25
        }
    ]
});
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <item>
        <date>2019-05-20 04:07:20</date>
        <name>JPYKRW=X</name>
        <rate>10.838859115269</rate>
    </item>
    <item>
        <date>2019-05-20 02:01:35</date>
        <name>KRW=X</name>
        <rate>1</rate>
    </item>
    <item>
        <date>2019-05-18 08:00:00</date>
        <name>USDKRW=X</name>
        <rate>1193.25</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=ov9qijgknubg393mtvkv2tcv8m; path=/",
        "Pragma": "no-cache",
        "Vary": "Accept",
        "X-Auth-Status": "false",
        "X-RateLimit-Limit": "1200 per hour",
        "X-RateLimit-Remaining": "1184",
        "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-US"
    },
    "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