Harvested on
KFC AEON Mall | https://www.google.com/maps/place/KFC+-+AEON+Mall,+1+Samdach+Sothearos+Blvd+(3),+... | KFC AEON Mall | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
KFC Battambang | https://www.google.com/maps/place/KFC+Battambang,+Krong+Battambang/@13.1009387,10... | KFC Battambang | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
| | KFC Furi Times Square Mall | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
KFC Kampucheakrom | https://www.google.com/maps/place/KFC,+804+Kampuchea+Krom+Blvd+(128),+Phnom+Penh/... | KFC Kampucheakrom | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
KFC Monivong | https://www.google.com/maps/place/KFC,+Phsar+Dek+(St.+88),+Phnom+Penh/@11.5777503... | KFC Monivong | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
KFC Norodom | https://www.google.com/maps/place/Kentucky+Fried+Chicken,+Preah+Norodom+Blvd+(41)... | KFC Norodom | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
| | | 9 Outlets in PP 1 outlet in SR and 1 outlet in BTB, 2 outlets in KPS | KFC Monivong | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
| | KFC Sivutha | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
KFC Sovanna | https://www.google.com/maps/place/KFC,+St+Gold,+Phnom+Penh/@11.536276,104.8859059... | KFC Sovanna | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
KFC Steung Meanchey | https://www.google.com/maps/place/KFC+Steung+Meanchey,+Phnom+Penh/@11.5353195,104... | KFC Steung Meanchey | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
| | KFC TuolTompoung | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
| | | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
KFC Attwood | https://www.google.com/maps/place/KFC,+Phnom+Penh/@11.5547164,104.861215,14z/data... | KFC Attwood | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
KFC BKK | https://www.google.com/maps/place/KFC,+42+St+310,+Phnom+Penh/@11.5477332,104.9324... | KFC BKK | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
| | KFC Prince Golden Bay: | | | http://www.kfc.com.kh/en/about-us/all-store/ | http://www.kfc.com.kh/en/about-us/all-store/ | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC | 2021-09-21 03:20:43 UTC |
Sample code snippets to quickly import data set into your application
For more information on how to automatically trigger an import please reference
our WebHook API guide
Integrating with Java
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.Arrays;
public class HelloWorld {
public static void main(String[] args) {
try {
URL urlCSV = new URL(
"https://cache.getdata.io/n96907_01b0caaeb75e1e6345d0797097492de8eses/latest_all.csv"
);
URLConnection urlConn = urlCSV.openConnection();
InputStreamReader inputCSV = new InputStreamReader(
((URLConnection) urlConn).getInputStream()
);
BufferedReader br = new BufferedReader(inputCSV);
String line;
String[] fields;
while ((line = br.readLine()) != null) {
// Each row
fields = line.split(",");
System.out.println(Arrays.toString(fields));
}
// clean up buffered reader
br.close();
} catch (Exception e) {
System.out.println(e.getMessage());
}
}
}
Integrating with NodeJs
const csv = require('csv-parser');
const https = require('https');
const fs = require('fs');
const file = fs.createWriteStream("temp_download.csv");
const request = https.get(
"https://cache.getdata.io/n96907_01b0caaeb75e1e6345d0797097492de8eses/latest_all.csv",
function(response) {
response.pipe(file);
}
);
file.on('finish', function() {
file.close();
fs.createReadStream('temp_download.csv').pipe(csv()).on('data', (row) => {
// Each row
console.log(row);
}).on('end', () => {
console.log('CSV file successfully processed');
});
});
Integrating with PHP
$data = file_get_contents("https://cache.getdata.io/n96907_01b0caaeb75e1e6345d0797097492de8eses/latest_all.csv");
$rows = explode("\n",$data);
$s = array();
foreach($rows as $row) {
# Each row
var_dump( $row);
}
Integrating with Python
import csv
import urllib2
url = 'https://cache.getdata.io/n96907_01b0caaeb75e1e6345d0797097492de8eses/latest_all.csv'
response = urllib2.urlopen(url)
cr = csv.reader(response)
for row in cr:
# Each row
print row
Integrating with Ruby
require 'open-uri'
require 'tempfile'
require 'csv'
temp_file = Tempfile.new( "getdata", :encoding => 'ascii-8bit')
temp_file << open("https://cache.getdata.io/n96907_01b0caaeb75e1e6345d0797097492de8eses/latest_all.csv").read
temp_file.rewind
CSV.foreach( open(uri), :headers => :first_row ).each do |row|
# Each row
puts row
end