HelloZeroNet / HelloZeroNet/ZeroNet

Implement JSON API to allow easier interfacing

Offen
#1,263 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
18.8k
Forks
2.3k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Environment

* ZeroNet version: from the future
* Operating system: All

### Describe the proposal:

Have an JSON API server to allow easier programmatic interaction with ZeroNet.
i.e. http://127.0.0.1:43110/api/sites?access_token=fcc0a328b7060b9394a0a73267c96bbb

#### Steps to reproduce:

1. Define the command set you would like to implement.
2. Write some **client side** code on a piece of paper before you start implementing anything. Since hand writing takes time, if it takes a lot of writing to use the interface, you should reconsider the API design.
3. Implement the interface, so that the example client code works.
4. Add a command line option for turning it on and off.

#### Benefits:

Developers need not simulate WebSocket requests anymore.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.