nickm980 / smallville

Generative Agents for video games. Based on Generative Agents: Interactive Simulacra of Human Behavior
https://nickm980.github.io/smallville/
MIT License
622 stars 48 forks source link

Java client #27

Closed nickm980 closed 1 year ago

nickm980 commented 1 year ago

Should have a java client to send requests to the smallville server. The java client should have all the same features as the javascript client by also sending http requests to the smallville server.

server endpoints (some of these might be outdated): https://nickm980.github.io/smallville/server/

nickm980 commented 1 year ago

Should have a java client to send requests to the smallville server. The java client should have all the same features as the javascript client by also sending http requests to the smallville server.

server endpoints (some of these might be outdated): https://nickm980.github.io/smallville/server/

I've outlined most of the methods in https://github.com/nickm980/smallville/commit/4b5af8819a6f4118599ed7beb0859767759efa15 and finished writing one of them. Some work still needs to be done completing the rest of the methods

nickm980 commented 1 year ago

Finished the java client, this test class shows an example of how to use it https://github.com/nickm980/smallville/blob/main/java-client/src/test/java/io/github/nickm980/smallville/SmallvilleClientTest.java