/meta/ - Board Meta

[Make a Post]
[X]





Nanochan API hakase ## Nanochan Administrator No.1096 (L)(A)[D][U][F][S][L][A][C]
File: 2a399967c4fdfc09038642538cf47754c82d18ec7bd61e605cc053ea0fb9b432.png (dl) (174.04 KiB)

General form:
http://nanochanxv2lxnqi.onion/nano/System/API[/<board>[/<post>]|?since=<UNIX timestamp>]

Examples:_
-> http://nanochanxv2lxnqi.onion/nano/System/API
Returns, in JSON format:
1. a list of boards
2. up to 10000 post numbers across all boards
-> http://nanochanxv2lxnqi.onion/nano/System/API?since=1541111111
Returns, in JSON format:
1. a list of boards
2. up to 10000 post numbers across all boards, only returning those post numbers which were made after 1/11 2018.
-> http://nanochanxv2lxnqi.onion/nano/System/API/test
Returns, in JSON format:
1. the board name of /test/
2. the board title and subtitle of /test/
3. values of the various board settings of /test/
-> http://nanochanxv2lxnqi.onion/nano/System/API/test/2
Returns, in JSON format:
1. the values of the name, email, subject and comment fields
2. the date on which >>>/test/2 was created
3. the parent thread of the post, or 0 if the post is a thread
4. the values of the various thread flags of /test/2
5. the file, if any, which is attached to that post
6. the date on which the thread was last bumped

I am going to use this API to write a simple command-line client for nanochan when I get enough time to do that.

hakase ## Nanochan Administrator No.1102 [D]

The API has been removed. I decided that it would allow for some fingerprinting because it would differentiate between client and browser usage, and thus compromise anonymity. I can add it back if really needed, but for now, if you want to write a client just parse the HTML.