Skip to content

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

License

Notifications You must be signed in to change notification settings

sandipbgt/theastrologer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages