markozajc / akiwrapper Goto Github PK
View Code? Open in Web Editor NEWA Java REST API wrapper for Akinator
License: GNU General Public License v3.0
A Java REST API wrapper for Akinator
License: GNU General Public License v3.0
Awesome work!
Is it possible to get access to the picture of the guess to display it somewhere in a UI?
I want to use it on Tomcat 9
but my ability can't let me to use it umm...
Last couple of days Russian servers throw KO - SERVER DOWN (seems like they totally don't work). Is there a way to fix it somehow?
Servers associated with Language.RUSSIAN
currently don't work. This seems to be localized to just the Russian servers, others work fine.
Looks like the English and Portuguese servers are down... or maybe the server checker is broken?
java.lang.reflect.InvocationTargetException: null
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113)
at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:106)
at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:152)
at kotlin.reflect.full.KCallables.callSuspendBy(KCallables.kt:73)
at net.perfectdreams.commands.manager.CommandManager.execute(CommandManager.kt:255)
at net.perfectdreams.loritta.platform.discord.commands.DiscordCommandManager.dispatch(DiscordCommandManager.kt:484)
at net.perfectdreams.loritta.platform.discord.commands.DiscordCommandManager$dispatch$3.invokeSuspend(DiscordCommandManager.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: com.markozajc.akiwrapper.core.exceptions.ServerGroupUnavailableException: KO - SERVER DOWN
at com.markozajc.akiwrapper.core.utils.Servers.getFirstAvailableServer(Servers.java:178)
at com.markozajc.akiwrapper.core.impl.AkiwrapperImpl.<init>(AkiwrapperImpl.java:110)
at com.markozajc.akiwrapper.AkiwrapperBuilder.build(AkiwrapperBuilder.java:72)
at net.perfectdreams.loritta.commands.vanilla.fun.AkinatorCommand.run(AkinatorCommand.kt:202)
... 17 common frames omitted
Probably akinator API has changed
The blocker issue appears in 100% of cases and is easily reproducible.
Steps to reproduce:
Possible solution: implement challenge_auth N/A
Add an automated server list builder to ease the process of building new server lists when their formation changes
Hi Marko,
I'm getting the 'KO server down' error, is it possible that the servers have been moved?
Akiwrapper#undoAnswer()
, which should return the previous question, returns the current one and does not change the step number.
Every other guess types work just fine in English
Akinator has changed up their API again (/new_session
is gone, seemingly replaced by a POST to /game
).
Hi Mark, I noticed that in this last version (1.3.4.5) the game does not start. Sorry but I did not have the opportunity to dig the issue further.
Looks like server links has changed
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.