List of Country
This endpoint will return the list of available city code along with it’s name. The city name will be in Indonesian.
GET
https://us-central1-appgregator.cloudfunctions.net/flipSandbox/general/country/
Query Parameters
Name
Type
Description
name*
String
ft-4
connection_name*
String
flip-entre-1
Headers
Name
Type
Description
x-api-key*
String
U2FsdG...
{
"100000": "Afghanistan",
"100002": "Albania",
"100003": "Algeria/Aljazair",
"100004": "America Samoa",
"100005": "Andorra",
"100006": "Angola",
"100007": "Anguilla",
"100008": "Antarctica",
"100009": "Antigua And Barbuda",
"100010": "Argentina",
"100011": "Armenia",
"100012": "Aruba",
"100013": "Australia",
"100014": "Austria",
"100015": "Azerbaijan",
"100016": "Bahamas",
"100017": "Bahrain",
"100018": "Bangladesh",
"100019": "Barbados",
"100020": "Belarus",
"100021": "Belgium",
"100022": "Belize",
"100023": "Benin",
"100024": "Bermuda",
"100025": "Bhutan",
"100026": "Bolivia",
"100027": "Bosnia-Herzegowina",
"100028": "Botswana",
"100029": "Bouvet Island",
"100030": "Brazil",
"100031": "British Virgin Islands",
"100032": "Brunei Darussalam",
"100033": "Bulgaria",
"100034": "Burkina Faso",
"100035": "Burundi",
"100036": "Cambodia",
"100037": "Cameroon",
"100038": "Canada",
"100039": "Cape Verde",
"100040": "Cayman Islands",
"100041": "Central African Republic",
"100042": "Chad",
"100043": "Chile",
"100044": "China",
"100045": "Christmas Islands",
"100046": "Cocos (Keeling) Islands",
"100047": "Colombia",
"100048": "Comoros",
"100049": "Congo, Republic Of",
"100050": "Congo, The Democratic Republic Of The",
"100051": "Cook Islands",
"100052": "Costa Rica",
"100053": "Cote D\\'Ivoire",
"100054": "Croatia",
"100055": "Cuba",
"100056": "Cyprus",
"100057": "Czech Republic",
"100058": "Denmark",
"100059": "Djibouti",
"100060": "Domonica",
"100061": "Dominican Republic",
"100062": "Ecuador",
"100063": "Egypt",
"100064": "El Salvador",
"100065": "Equatorial Guinea",
"100066": "Eritrea",
"100067": "Estonia",
"100068": "Ethiopia",
"100069": "Falkland Islands",
"100070": "Faeroe Islands",
"100071": "Fiji",
"100072": "Finland",
"100073": "France",
"100074": "French Guiana",
"100075": "French Polynesia",
"100076": "French Southern Territories",
"100077": "Gabon",
"100078": "Gambia",
"100079": "Georgia",
"100080": "Germany",
"100081": "Ghana",
"100082": "Gibraltar",
"100083": "Greece",
"100084": "Greenland",
"100085": "Grenada",
"100086": "Guadeloupe",
"100087": "Guam",
"100088": "Guatemala",
"100089": "Guernsey",
"100090": "Guinea",
"100091": "Guinea Bissau",
"100092": "Guyana",
"100093": "Haiti",
"100094": "Heard And Mcdonald Island",
"100095": "Vatican City State",
"100096": "Honduras",
"100097": "Hongkong",
"100098": "Hungary",
"100099": "Iceland",
"100100": "India",
"100102": "Islamic Republic Of Iran",
"100103": "Iraq",
"100104": "Ireland",
"100105": "Isle Of Man",
"100106": "Israel",
"100107": "Italy",
"100108": "Jamaica",
"100109": "Japan",
"100110": "Jersey",
"100111": "Jordan",
"100112": "Kazakhstan",
"100113": "Kenya",
"100114": "Kiribati",
"100115": "Korea Selatan",
"100116": "Kuwait",
"100117": "Kyrgyz Republic",
"100118": "Lao People\\'S Democ. Rep.",
"100119": "Latvia",
"100120": "Lebanon",
"100121": "Lesotho",
"100122": "Liberia",
"100123": "Libyan Arab Jamahiriya",
"100124": "Liechtenstein",
"100125": "Lithuania",
"100126": "Luxembourg",
"100127": "Macao Sar",
"100128": "Macedonia",
"100129": "Madagascar",
"100130": "Malawi",
"100131": "Malaysia",
"100132": "Maldives",
"100133": "Mali",
"100134": "Malta",
"100135": "Marshall Islands",
"100136": "Martinique",
"100137": "Mauritania",
"100138": "Mauritius",
"100139": "Mayotte",
"100140": "Mexico",
"100141": "Federated State Of Micronesia",
"100142": "Republic Of Moldova",
"100143": "Monaco",
"100144": "Mongolia",
"100146": "Montserrat",
"100147": "Morocco",
"100148": "Mozambique",
"100149": "Myanmar",
"100150": "Namibia",
"100151": "Nauru",
"100152": "Nepal",
"100153": "Netherlands",
"100154": "Netherlands Antilles",
"100155": "New Caledonia",
"100156": "New Zealand",
"100157": "Nicaragua",
"100158": "Niger",
"100159": "Nigeria",
"100160": "Nieue Island",
"100161": "Norfolk Islands",
"100162": "Northern Mariana Island",
"100163": "Norway",
"100164": "Oman",
"100165": "Pakistan",
"100166": "Palau",
"100167": "Palestine",
"100168": "Panama",
"100169": "Papua New Guinea",
"100170": "Paraguay",
"100171": "Peru",
"100172": "Philippines",
"100173": "Pitcairn Islands",
"100174": "Poland",
"100175": "Portugal",
"100176": "Puerto Rico",
"100177": "Qatar",
"100178": "Reunion",
"100179": "Romania",
"100180": "Russian Federation",
"100181": "Rwanda",
"100183": "St. Helena",
"100184": "St. Kitt And Nevis",
"100185": "Saint Lucia",
"100187": "St. Pierre & Miquelon",
"100188": "St. Vincent & The Grenades",
"100189": "Samoa",
"100190": "San Marino",
"100191": "Sao Tome & Principe",
"100192": "Saudi Arabia",
"100193": "Senegal",
"100195": "Seychelles",
"100196": "Siera Leoner",
"100197": "Singapore",
"100198": "Slovakia (Slovak Republic)",
"100199": "Slovenia",
"100200": "Solomon Islands",
"100201": "Somalia",
"100202": "South Africa",
"100203": "South Georgia And The South Sandwich Island",
"100204": "Spain",
"100205": "Sri Lanka/Ceylon",
"100206": "Sudan",
"100207": "Suriname",
"100208": "Svalbard And Jan Mayen Island",
"100209": "Swaziland",
"100210": "Sweden",
"100211": "Switzerland",
"100212": "Syrian Arab Republic",
"100213": "Taiwan/Rep. Of China/Province Of China",
"100214": "Tajikistan",
"100215": "Tanzania (Taganzica & Zanzibar)",
"100216": "Thailand",
"100217": "East Timor",
"100218": "Togo",
"100219": "Tokelau Island",
"100220": "Tonga",
"100221": "Trinidad & Tobago",
"100222": "Tunisia",
"100223": "Turkey",
"100224": "Turkmenistan",
"100225": "Turks & Caicos Island",
"100226": "Tuvalu",
"100227": "Uganda",
"100228": "Ukraine",
"100229": "United Arab Emirat",
"100230": "United Kingdom",
"100231": "United States Of America",
"100233": "Uruguay",
"100234": "Uzbekistan",
"100235": "Vanuatu",
"100236": "Venezuela",
"100237": "Vietnam",
"100238": "Virgin Islands (British)",
"100239": "Virgin Islands (US)",
"100240": "Wallis And Futuna Islands",
"100241": "Western Sahara",
"100242": "Yemen",
"100243": "Yugoslavia",
"100244": "Zimbabwe",
"100245": "Zambia",
"100246": "West Africa",
"100247": "Malagasi",
"100248": "Korea Utara",
"100249": "Ivory Coast",
"100250": "International Institution",
"100251": "Others",
"100252": "Indonesia"
}
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/flipSandbox/general/country?name=ft-4&connection_name=flip-entre-1' \
--header 'x-api-key: U2Fsd...'
var axios = require('axios');
var config = {
method: 'get',
url: 'https://us-central1-appgregator.cloudfunctions.net/flipSandbox/general/country?name=ft-4&connection_name=flip-entre-1',
headers: {
'x-api-key': 'U2Fsd...'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://us-central1-appgregator.cloudfunctions.net/flipSandbox/general/country?name=ft-4&connection_name=flip-entre-1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'x-api-key: U2Fsd...'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Last updated