Skip to content
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
This repository was archived by the owner on Dec 19, 2017. It is now read-only.

Web API #42

@Fyrsta

Description

@Fyrsta

For some information, like online players and whatnot, it's better to get the information from the server than to rely on a database.

I think using NanoHTTPd would be the best option for implementing this, it'll provide a web server in which we can easily extend with modules much like the system we've got here.

JSON would be the best way to output the data, making appropriate use of arrays and whatnot to display the information in the best way possible.

The ability to extend on this feature externally like the module system here would be good, but it's not a requirement. The same goes for SSL.

For information that only authenticated people should access, I'm thinking about utilising an API key system for this, but I'll let @Kent55 decide on the most secure and optimal way of working with this since he's the most knowledgeable.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions