JHoroscope is a basic module to fetch the Horoscope of different Zodiac signs. It is very simple to use and return the dictionary or json according to user demand
from JHoroscope import Horoscope myhoroscope = Horoscope() """ All the horoscopes are returned in a dictionary with key the zodiac sign name and the value is in the result. The first Letter of all the signs should be capital. """
myhoroscope.daily_horoscope()
cancer = myhoroscope.daily_horoscope(['Cancer'])
print(cancer['Carcer'])
myhoroscope.get_by_month()
myhoroscope.get_by_month(['Cancer','Virgo','Libra'])
""" Methods inside Horoscope class myhoroscope.get_by_month() myhoroscope.daily_horoscope() myhoroscope.get_by_week() myhoroscope.get_by_year() All of these methods get the list of Zodiac signs or you can leave them empty if you want to fetch all the zodiac details """
cancer = myhoroscope.daily_horoscope(['Cancer'],True)
cancer = myhoroscope.daily_horoscope(zname=['Cancer'],json=True)