Exiletools Indexer + Java

Anyone tried to connect to the indexer using the Java client?

So far I had no luck with it.

Code looks like this:

"
client = new TransportClient()
.addTransportAddress(new InetSocketTransportAddress("http://apikey:user_key@api.exiletools.com/index/_search", 9300));


with user_key replaced by the actual API key

Info posted about the client here is super basic without much examples.
If I understand correctly there is also no JavaDoc files available for it?
Increasing Field of View in PoE: /1236921
Hey bro,

How is your usage of Exile tools ES + Java?

Saw your post in SO:
http://stackoverflow.com/questions/32668919/elasticsearch-java-client-cant-connect-to-the-remote-server

Can I have a look at how got it working with Spring RestTemplate?

Got it working with Jest. But not out of the box:

https://github.com/thirdy/jexiletools-es/blob/594474459348eeb6dd542ac6d2c8c9080bd8369e/jexiletools-es/src/main/java/net/thirdy/jexiletools/es/Main.java

Fortunately jest is open source.

Cheers

Edit:
Btw, I'm posting in the poetools subreddit, would be glad to see others there: https://www.reddit.com/r/poetools/
PoE-TradeMacro - https://github.com/PoE-TradeMacro/POE-TradeMacro/
ExileTrade - http://exiletrade.github.io/
Last edited by ManicCompression#1304 on Oct 2, 2015, 2:01:54 AM

Report Forum Post

Report Account:

Report Type

Additional Info