{"repo":"ArSiJa8/Time-API","free":true,"listed":false,"github":"https://github.com/ArSiJa8/Time-API","clone":"git clone https://github.com/ArSiJa8/Time-API.git","description":"A minimalist, high-performance microservice built with FastAPI to provide real-time date and time information for any valid IANA timezone.","language":"Python","stars":54,"topics":["api","time","python","python3"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"🌍 World Time API A minimalist, high-performance microservice built with FastAPI to provide real-time date and time information for any valid IANA timezone. Perfect for distributed systems needing a reliable time reference. --- 🚀 Quick Start Prerequisites Python 3.9+ pip (Python package manager) Installation & Local Deployment 1. Clone the repository (or download the files): 2. Install dependencies : 3. Run the application : The server will start at http://127.0.0.1:8000 --- 📖 API Documentation 1. Get Time by Zone Retrieves the current local time for a specific geographic region. Endpoint: /time/{area}/{city} Method: GET Parameters: area (string): Continent or Ocean (e.g., Europe , America , Asia ) city (string): City name (e.g., Berlin , New York , Tokyo ) Example Request: GET /time/Europe/Berlin Success Response (200 OK): 2. Service Status Checks if the API is online and lists available routes. Endpoint: / Method: GET --- 🛠 Advanced Features Interactive Documentation FastAPI automatically generates beautiful, interactive documentation. While the server is running, you can test every endpoint directly in your browser: Swagger UI: http://127.0.0.1:8000/docs ReDoc: http://127.0.0.1:8000/redoc Error Handling The API handles invalid timezone requests gracefully. If an incorrect area or city is provided, you will receive a descriptive error: Error Response (404 Not Found): --- ☁️ Deployment (Railway.app) This project is optimized for Railway . To deploy: 1. Push this code to a","default_branch":null,"files":null,"tree":[],"storefront":"/r/ArSiJa8","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ArSiJa8/Time-API/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}