v2ex-proxy

Play with V2EX API with no worry about CORS.

Usage no npm install needed!

<script type="module">
  import v2exProxy from 'https://cdn.skypack.dev/v2ex-proxy';
</script>

README

v2ex-proxy NPM version NPM downloads

Play with V2EX API with no worry about CORS.

Install

# Run it on your machine
$ npm install -g v2ex-proxy

Or even easier, use the live one: http://v2ex.pixelcat.co/

Usage

$ v2ex-proxy
v2ex proxy is running at http://localhost:4100

API

# hottest topics
/hot

# latest topics
/latest

# get topic by id
/topic/:id

# get replies by topicId
/replies/:topicId?page=1

# get user info
/user/:username

License

MIT © EGOIST