help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • Blog
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
travel-assistant-bot
/
services
RSK World
travel-assistant-bot
Travel Assistant Bot - Python + Flask + OpenAI API + Travel Bot + Flight Search + Hotel Booking + Weather
services
  • __pycache__
  • __init__.py169 B
  • cache.py560 B
  • flight_service.py1.1 KB
  • hotel_service.py971 B
  • openai_service.py1.5 KB
  • recommendation_service.py776 B
  • weather_service.py1.4 KB
hotel_service.py
services/hotel_service.py
Raw Download
Find: Go to:
# RSK World - Free Programming Resources & Source Code
# Founder: Molla Samser | Designer & Tester: Rima Khatun
# Website: https://rskworld.in/contact.php | Year: 2026
from typing import List, Dict, Optional


def search_hotels(
    city: Optional[str], check_in: Optional[str], check_out: Optional[str]
) -> List[Dict]:
    if not city or not check_in or not check_out:
        return []
    # Placeholder results; replace with actual hotel API integration
    return [
        {
            "name": "Grand Plaza",
            "city": city.title(),
            "check_in": check_in,
            "check_out": check_out,
            "price_usd_per_night": 120.0,
            "rating": 4.3,
        },
        {
            "name": "City Comfort Inn",
            "city": city.title(),
            "check_in": check_in,
            "check_out": check_out,
            "price_usd_per_night": 85.0,
            "rating": 4.0,
        },
    ]

32 lines•971 B
python
🚀 Support RSK World

Subscribe to our YouTube channel for latest tutorials & updates!



Click subscribe & support our work ❤️

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer