Skip to content

Some code for the reddit r/imposter game.

License

Notifications You must be signed in to change notification settings

nvalis/Imposter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Imposter

Some code for the reddit r/imposter game.

API

/room (GET)

Contains 5 notes to choose from with text and note-id:

<gremlin-note id="$(note-id)">$(text)</gremlin-note>

A CSRF-token is given:

<gremlin-app csrf="$(CSRF-token)">

/submit_guess (POST)

Expects note-id and CSRF-token:

{"undefined": "undefined", "note_id": $(note-id), "csrf_token": $(CSRF-token)}

/create_note (GET/POST)

Use GET request to receive the CSRF-token and then submit your note with POST:

{"note": $(note), "csrf_token": $(CSRF-token)}

There seems to be a time limit for this endpoint of 3 minutes.

About

Some code for the reddit r/imposter game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages