Get data from any page you want to get data from.
Need to talk to someone? Contact us—we’d love to help.
Get data from any page you want to get data from.
Need to talk to someone? Contact us—we’d love to help.
We are still busy preparing this batch of data. Please come back in a few minutes.
Seems like this data source was never ran before...
Changes are only available only when you have ran at least a second time.
Nope... guess no Martians around... Maybe set the webhook URL before pressing this button again...
| main-title-listing sm:hidden flex flex-row items-center mr-md | price-heading vat | h2 | btn-pill city | btn-pill | btn-pill 1 | btn-pill 2 | btn-pill 3 | td 2 | td 4 | td 6 | td 8 | td 10 | td 12 | td 14 | td 15 | td 16 | td 17 | td 25 | td 18 | td 21 | td 22 | td 23 | td 24 | td 19 | td 20 | td 26 | td 27 | td 28 | td 29 | td 30 | td 31 | td 32 | td 33 | td 34 | td 35 | td 36 | td 37 | td 38 | td 39 | td 40 | Column 1 | origin_pattern | origin_url | createdAt | updatedAt | pingedAt |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Detaljni opis | https://olx.ba/artikal/57665717 | https://olx.ba/artikal/57665717 | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | |||||||||||||||||||||||||||||||||||||||||
| Osobine | SARAJEVO - NOVI GRAD | KORIŠTENO | OBNOVLJEN: 14.01.2024 U 11:36 | ID: 57665717 | PREGLEDI: 1039 | Renoviran | Iznajmljivanje | Trosoban (3) | 60 | Namješten | 3 | Struja | Adresa | dr Fetaha Bećirbegovića 5 | Kvadratura balkona | Vrsta poda | 5 | Kućni ljubimci | Ne | Primarna orjentacija | Istok | Godina izgradnje | 1980 do 1989 | Ostalo | Broj kupatila | 1 | Balkon | Blindirana vrata | Internet | Kablovska TV | Klima | Lift | Struja | Telefonski priključak | Uknjiženo / ZK | Voda | Datum objave | 24.12.2023 | https://olx.ba/artikal/57665717 | https://olx.ba/artikal/57665717 | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | |||
| Ostali oglasi korisnika | https://olx.ba/artikal/57665717 | https://olx.ba/artikal/57665717 | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | |||||||||||||||||||||||||||||||||||||||||
| Postavi pitanje (0) | https://olx.ba/artikal/57665717 | https://olx.ba/artikal/57665717 | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | |||||||||||||||||||||||||||||||||||||||||
| Preporučeni oglasi | https://olx.ba/artikal/57665717 | https://olx.ba/artikal/57665717 | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | |||||||||||||||||||||||||||||||||||||||||
| Stan Sarajevo - Novo Sarajevo 60 m2 - [Iznajmljivanje] | 1.200 KM | Stan Sarajevo - Novo Sarajevo 60 m2 | https://olx.ba/artikal/57665717 | https://olx.ba/artikal/57665717 | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | |||||||||||||||||||||||||||||||||||||||
| https://olx.ba/artikal/57665717 | https://olx.ba/artikal/57665717 | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 UTC | 2024-01-14 10:52:15 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/n127912_f6098c6452fbe23117db884eedaacfe0eses/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/n127912_f6098c6452fbe23117db884eedaacfe0eses/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/n127912_f6098c6452fbe23117db884eedaacfe0eses/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/n127912_f6098c6452fbe23117db884eedaacfe0eses/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/n127912_f6098c6452fbe23117db884eedaacfe0eses/latest_all.csv").read temp_file.rewind CSV.foreach( open(uri), :headers => :first_row ).each do |row| # Each row puts row end