Running Express on Vercel

Usage: Retrieve latest Medium posts

Option 1: Specify [username] & [index]

https://github-readme-medium-viewposts.vercel.app/api/medium/@[username]/[index]

For instance, https://github-readme-medium-viewposts.vercel.app/api/medium/@geek-cc/1 shall retrieve the 2nd most recent post (since 0 refers most recent post so sequence of posts published follows ascending values of index).

Option 2: Get featured Medium posts (based on staff picks)

https://github-readme-medium-viewposts.vercel.app/api/medium