Skip to content

sandipbgt/theastrologer

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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

No packages published

Languages