hennroja / immowebapi Goto Github PK
View Code? Open in Web Editor NEWJava API for immoweb.be
Java API for immoweb.be
Is this still working? I tried to simulate the query but I have an error: "Incapsula incident"
I also tried to capture the cookies in Chrome and put it to the query but still the same
Hi Henn -
Looks like Java API can't get the response from immoweb? Do you have the same error message once you try with demochecker?
Here are the details.
<iframe src="/_Incapsula_Resource?CWUDNSAI=9&xinfo=9-34339873-0 0NNN RT(1454193317640 6) q(0 -1 -1 -1) r(0 -1) B12(4,315,0) U5&incident_id=281000720110133431-341986753782547593&edet=12&cinfo=04000000" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 281000720110133431-341986753782547593</iframe>
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: <iframe src="/_Incapsula_Resource?CWUDNSAI=9&xinfo=9-34339873-0 0NNN RT(1454193317640 6) q(0 -1 -1 -1) r(0 -1) B12(4,315,0) U5&incident_id=281000720110133431-341986753782547593&edet=12&cinfo=04000000" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 281000720110133431-341986753782547593</iframe>; line: 1, column: 2]
at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1581)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:533)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:462)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1624)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:689)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3776)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3721)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2726)
at de.hennroja.immoweb.api.ImmowebApi.search(ImmowebApi.java:64)
at DemoChecker.main(DemoChecker.java:19)
Exception in thread "main" java.lang.NullPointerException
at DemoChecker.main(DemoChecker.java:32)
Hey, I am also trying to build something similar to what you're trying to build. Can you tell me that did u take any permission or consent from immowebAPI ?
https://www.immoweb.be/en/page/terms-of-use
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.