Skip to content

Ingame API with Authentication - #119

Open
d10sfan wants to merge 10 commits into
InfiniteRasa:developmentfrom
d10sfan:items-list-api
Open

d10sfan wants to merge 10 commits into
InfiniteRasa:developmentfrom
d10sfan:items-list-api

Conversation

@d10sfan

@d10sfan d10sfan commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Adds a new ingame API based on the new REST API server.

This as a starting point is used so you could call an API and get item categories and then all the items themselves, with support for searching. This dosen't expose the database itself, just specific API calls.

This could eventually be used to extend other commands that are outside the scope of the gm commands in the chat interface.

The way it works is that there's a new command that the python layer can use to trigger an exchange token to be created. This is then used with a new API call to get a jwt token back. Then the client can use this token to do the API queries.

This way this data API is not accessible outside having a valid game session. The separate jwt token is so that we can use a more traditional rest api structure.

Right now I'm able to use this with the imgui gui that I'm building to have a list of all the items and their metadata, and be able to use the gm commands to add to their inventory.

image

@d10sfan d10sfan changed the title Items list api New DATA JSON based API Oct 2, 2026
@d10sfan d10sfan changed the title New DATA JSON based API New Data JSON based API Oct 2, 2026
@d10sfan
d10sfan marked this pull request as draft October 3, 2026 01:41
@d10sfan

d10sfan commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Moving this to draft, will rebase on develop after the rest of the changes make it in.

@d10sfan d10sfan changed the title New Data JSON based API Authentication Ingame API Oct 5, 2026
@d10sfan

d10sfan commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Completed the re-do, so it's ready for review

@d10sfan
d10sfan marked this pull request as ready for review October 5, 2026 16:02
@d10sfan d10sfan changed the title Authentication Ingame API Ingame API with Authentication Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant