{"app":{"name":"IRCTC Booking Analytics","description":"Personal utility to analyze and visualize IRCTC train bookings with spending insights and travel patterns","note":"⚠️ This is a personal project. Not intended for public use.","version":"v1.2.4","repository":"https://github.com/NishanthMuruganantham/irctc-booking-analytics","deployed_at":"https://irctc-analytics.vercel.app"},"status":{"api":"operational","database":"connected","total_bookings":284,"last_sync_time":"2026-03-21T19:59:53.523256+00:00"},"documentation":{"interactive_docs":"/api/docs/","openapi_schema":"/api/schema/","github_repo":"https://github.com/NishanthMuruganantham/irctc-booking-analytics","readme":"https://github.com/NishanthMuruganantham/irctc-booking-analytics#readme"},"endpoints_overview":{"bookings":{"description":"Query and filter your bookings","key_endpoints":["GET /api/v1/bookings/ — List all bookings with filters","GET /api/v1/bookings/{pnr}/ — Get specific booking details","GET /api/v1/bookings/years/ — Available booking years"]},"analytics":{"description":"Spending and travel analytics","key_endpoints":["GET /api/v1/dashboard/summary/ — Dashboard KPIs","GET /api/v1/spending/summary/ — Total spending analysis","GET /api/v1/spending/monthly/ — Monthly breakdown","GET /api/v1/routes/top/ — Most traveled routes"]},"sync":{"description":"Gmail email sync management","key_endpoints":["GET /api/v1/sync/status/ — Check sync status","POST /api/v1/sync/now/ — Trigger email sync","GET /api/v1/sync/history/ — Recent sync logs"]}},"quick_start":{"step_1":"Read the docs at /api/docs/","step_2":"Check bookings: curl /api/v1/bookings/","step_3":"Explore analytics: curl /api/v1/dashboard/summary/","step_4":"View code on GitHub"},"features":["Automatic email parsing of IRCTC confirmation emails via Gmail","Spending analysis by route, class, and time period","Travel pattern analytics","PNR-based booking deduplication"],"tech_stack":{"backend":"Django REST Framework","frontend":"React + Vite","database":"PostgreSQL (Neon)","deployment":"Vercel"}}