Harvested on
Hershey's Portfolio Strength Drives Growth Amid Cost Woes | https://www.nasdaq.com/article/hersheys-portfolio-strength-drives-growth-amid-cos... | Nasdaq | Also Hershey acquired Pirate Brands from B&G Foods BGS last September, which mark... | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSsNVd-GJIkCCdYJVkaG0Xl8BRXo... | https://www.google.com/search?biw=1920&bih=942&tbs=qdr%3Ad&tbm=nws&ei=GISDXKbYKIS... | https://www.google.com/search?q=%22Nasdaq+Food&biw=1920&bih=942&tbs=qdr:d&tbm=nws... | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC |
FOR PUBLIC RELEASE: HF FOODS GROUP INC. AFFILIATE ... | https://www.nasdaq.com/press-release/for-public-release-hf-foods-group-inc-affili... | Nasdaq | GREENSBORO, NC, March 11, 2019 (GLOBE NEWSWIRE) -- HF Foods Group Inc. (NASDAQ:HF... | | https://www.google.com/search?biw=1920&bih=942&tbs=qdr%3Ad&tbm=nws&ei=GISDXKbYKIS... | https://www.google.com/search?q=%22Nasdaq+Food&biw=1920&bih=942&tbs=qdr:d&tbm=nws... | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC |
Doctors pray for sick as blackout batters Venezuelan hospitals | https://www.nasdaq.com/article/doctors-pray-for-sick-as-blackout-batters-venezuel... | Nasdaq | Women shouted from the windows that they needed help and that there was no food, ... | data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQ... | https://www.google.com/search?biw=1920&bih=942&tbs=qdr%3Ad&tbm=nws&ei=GISDXKbYKIS... | https://www.google.com/search?q=%22Nasdaq+Food&biw=1920&bih=942&tbs=qdr:d&tbm=nws... | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC |
Regeneron/Sanofi wins US approval for expanded use of skin drug | https://www.nasdaq.com/article/regeneronsanofi-wins-us-approval-for-expanded-use-... | Nasdaq | March 11 (Reuters) - The U.S. Food and Drug Administration said it approved expan... | data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQ... | https://www.google.com/search?biw=1920&bih=942&tbs=qdr%3Ad&tbm=nws&ei=GISDXKbYKIS... | https://www.google.com/search?q=%22Nasdaq+Food&biw=1920&bih=942&tbs=qdr:d&tbm=nws... | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC |
Chinese food-to-ticketing app Meituan Dianping sees losses widen in ... | https://www.nasdaq.com/article/chinese-foodtoticketing-app-meituan-dianping-sees-... | Nasdaq | By Josh Horwitz. SHANGHAI, March 11 (Reuters) - China'sMeituan Dianping, an onlin... | data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQ... | https://www.google.com/search?biw=1920&bih=942&tbs=qdr%3Ad&tbm=nws&ei=GISDXKbYKIS... | https://www.google.com/search?q=%22Nasdaq+Food&biw=1920&bih=942&tbs=qdr:d&tbm=nws... | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC |
M Line Holdings, Inc. Releases More Updates | https://www.nasdaq.com/press-release/m-line-holdings-inc-releases-more-updates-20... | Nasdaq | We acquired Best Choice Nuts, Candy and Specialties, Inc., another beverage and f... | | https://www.google.com/search?biw=1920&bih=942&tbs=qdr%3Ad&tbm=nws&ei=GISDXKbYKIS... | https://www.google.com/search?q=%22Nasdaq+Food&biw=1920&bih=942&tbs=qdr:d&tbm=nws... | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC |
SAP Cloud Platform Blockchain Service Selected By Bumble Bee | https://www.nasdaq.com/article/sap-cloud-platform-blockchain-service-selected-by-... | Nasdaq | The users can scan the QR code imprinted on "Bumble Bee Foods' Natural Blue by An... | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSLc_-O6reIQRZf7cEj6SwVKq60F... | https://www.google.com/search?biw=1920&bih=942&tbs=qdr%3Ad&tbm=nws&ei=GISDXKbYKIS... | https://www.google.com/search?q=%22Nasdaq+Food&biw=1920&bih=942&tbs=qdr:d&tbm=nws... | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC |
LexaGene's CEO Invited by USDA to Present a Seminar on the ... | https://www.nasdaq.com/press-release/lexagenes-ceo-invited-by-usda-to-present-a-s... | Nasdaq | Invited guests of this seminar include individuals representing multiple federal ... | | https://www.google.com/search?biw=1920&bih=942&tbs=qdr%3Ad&tbm=nws&ei=GISDXKbYKIS... | https://www.google.com/search?q=%22Nasdaq+Food&biw=1920&bih=942&tbs=qdr:d&tbm=nws... | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC |
Equities Rebound from the Worst Week of the Year | https://www.nasdaq.com/article/equities-rebound-from-the-worst-week-of-the-year-c... | Nasdaq | NASDAQ Composite +1.48% Dow +0.39% S&P 500 +1.08% Russell 2000 +0.96% ... Sales i... | data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQ... | https://www.google.com/search?biw=1920&bih=942&tbs=qdr%3Ad&tbm=nws&ei=GISDXKbYKIS... | https://www.google.com/search?q=%22Nasdaq+Food&biw=1920&bih=942&tbs=qdr:d&tbm=nws... | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC |
Integra gets FDA warning letter for Boston plant | https://www.nasdaq.com/article/integra-gets-fda-warning-letter-for-boston-plant-2... | Nasdaq | March 11 (Reuters) - Medical device maker Integra Lifesciences Holdings Corp said... | data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQ... | https://www.google.com/search?biw=1920&bih=942&tbs=qdr%3Ad&tbm=nws&ei=GISDXKbYKIS... | https://www.google.com/search?q=%22Nasdaq+Food&biw=1920&bih=942&tbs=qdr:d&tbm=nws... | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 UTC | 2019-03-10 00:00:00 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/n28251_7d356bbc0047a839da021fef9b2d7f56eses/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/n28251_7d356bbc0047a839da021fef9b2d7f56eses/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/n28251_7d356bbc0047a839da021fef9b2d7f56eses/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/n28251_7d356bbc0047a839da021fef9b2d7f56eses/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/n28251_7d356bbc0047a839da021fef9b2d7f56eses/latest_all.csv").read
temp_file.rewind
CSV.foreach( open(uri), :headers => :first_row ).each do |row|
# Each row
puts row
end