JSON query API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I would like to know if it is possible to develop a simple REST API that
receives a search term (a man page) and returns some sort of JSON with
the man page name, description and link to the actual man page.

My goal is to allow DuckDuckGo (and similar tools) to search for man
pages using their Instant Answers. This would allow users to search the
man pages directly using a "man" prefix on DuckDuckGo. For example:
searching for "man listen" would show something similar to when I search
for "Linux Kernel"[1], but instead of showing a wikipedia entry, it
would show the man page entry for `man 2 listen'.

[1] https://duckduckgo.com/Linux_kernel?ia=about

Felipe

Attachment: 0x92698E6A.asc
Description: application/pgp-keys


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux