theastrologer

Fetches and parses horoscope data from theastrologer.com


Keywords
horoscope, theastrologer, horoscope_api
License
Other
Install
pip install theastrologer==0.1.7

Documentation

theastrologer

A Python module to fetch and parse horoscope data from theastrologer.com

Projects built using theastrologer

  • theastrologer-api - REST API to view and send horoscope as SMS using theastrologer lilbrary, Flask framework and Twilio API

Installation

  • You will need Python 3.
  • pip is recommended for installing dependencies.

Installing dependencies

pip install requests lxml six

Installing theastrologer library:

pip install theastrologer

Usage

from theastrologer import Horoscope

horoscope = Horoscope("aquarius")
today = horoscope.today()

print(today['sunsign'])
print(today['horoscope'])

Features

Currently implemented

  • Today's horoscope
  • Yesterday's horoscope
  • Tomorrow's horoscope
  • List of all horoscope