cyberboysumanjay/Inshorts-News-API ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple API that pulls the latest short news from Inshorts and returns it as JSON.
I want to be able to call one endpoint with a category like all, national, business, sports, world, politics, technology, startup, entertainment, miscellaneous, hatke, science, or automobile, and get back a clean response with the category, a success flag, and a list of news items. Each item should include the title, content, author, date, time, image link, article link, and a read more link if it exists.
Keep it lightweight and easy to run locally, and make sure it works as a small Flask app I can deploy easily to a service like Heroku or Vercel. If you need to check current docs or deployment details online, go ahead and do that. I mostly want it to feel polished, simple, and ready to use right away.
Are you gonna build this?
make sure you review the code using coderabbit