ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.23k stars 397 forks source link

Does it have a restful api? #111

Closed hugoestr closed 10 years ago

hugoestr commented 10 years ago

Hi, there,

Does the server have a restful api? If it did it would be easier to make clients.

ajanata commented 10 years ago

There's a very bare-bones introduction at https://github.com/ajanata/PretendYoureXyzzy/wiki/API. All of the logic should be on the server side, though, so writing another client in front of it should be possible. Most of the code on the client is managing the display. The only thing to watch out for right now is there's no versioning available on the endpoint, so back-end changes could cause some issues with clients, but if there are actually other clients out there, I will work that in before making breaking changes.

hugoestr commented 10 years ago

Ah, this is so cool. Thanks so much!