Genie MicroService

"Genie" is a captivating daily horoscope service designed to offer insightful and personalized astrological forecasts. Leveraging the ancient wisdom of astrology, Genie provides users with daily updates tailored to their specific zodiac signs. Whether you're an Aries seeking adventure, a Libra looking for balance, or a Capricorn chasing career goals, Genie's predictions aim to guide you through the ups and downs of life with a touch of cosmic insight. Beyond daily horoscopes, Genie also features a range of astrological resources, including compatibility reports, moon phase insights, and personalized readings, all designed to help you navigate your path with confidence. With an intuitive interface and engaging content, Genie seeks to connect the celestial dots for you, making astrology accessible and relevant to your daily life.

1) Requirements:

  • grpcio==1.62.0
  • grpcio-tools==1.59.0
  • prometheus_client==0.18.0
  • beautifulsoup4==4.12.2
  • requests==2.31.0
  • grpcio-reflection==1.62.0

2) API Documentation:

3) Assets:

  • gRPC Proto Files:
    • Falomen.proto
    • Falomen_pb2.py
    • Falomen_pb2_grpc.py

4) Modules:

  • 4-1) Genie.py

    • Methods:

      • zodiac_sign()
        zodiac_sign converts user Birth day and Month to its Zodiac sign

        Attributes:
        Day_of_Birth (int): User Birth Day
        month_of_Birth(int): User Birth Month
        return (str): Zodiac Sign name

      • get_horoscope_by_day()
        gets Daily Horoscope

        Attributes:
        Day_of_Birth (int): User Birth Day
        month_of_Birth(int): User Birth Month
        return (str): Daily Horoscope

      • get_genie()
        gets Daily Horoscope and Translates it to Target Language

        Attributes:
        Day_of_Birth (int): User Birth Day
        month_of_Birth(int): User Birth Month
        language (str): User Selected Language
        return (str): Daily Horoscope Translated in Target Language