1.0.2 • Published 7 years ago

ipahub-api v1.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

ipahub-api

Unofficial /r/ipahub API written in Node.js

Installation

npm install

API Usage

api.getHotIPAs() gets "hot" IPAs (Reddit's "hot" posts) api.search(:query) searches IPAs via Reddit's search API (max query length 512)

Web API usage

node web.js

/hot hot IPAs

/search/:query search IPAs

/autocomplete/:query autocomplete IPA name (i.e. for search)

How does it work?

It works via Reddit API and whitelisted links plus magic. See index.js for explanation.