https://github.com/tachodril/easy_horo
https://github.com/tachodril/easy_horo
beautifulsoup4 flask
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tachodril/easy_horo
- Owner: tachodril
- Created: 2019-09-25T19:16:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:38:30.000Z (over 3 years ago)
- Last Synced: 2023-03-10T18:18:59.691Z (over 3 years ago)
- Topics: beautifulsoup4, flask
- Language: Python
- Size: 5.28 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Easy_horo
Horoscope API and application
An API to extract horoscope using web scraping.
Features :
Jsonified into date, horoscope and sunsign.
Jsonified into week, horoscope and sunsign.
Jsonified into month, horoscope and sunsign.
API Usage :
Usage 1.
Web Page Link that uses the API : https://easyhoro.herokuapp.com/Steps included:
1. Open the above link in your browser.
2. Now, select your sunsign and time for which you want to know your horoscope.
3. Click on ‘submit’ button.
4. There you go. (To get another horoscope, follow steps 2 & 3 again.)
Usage 2.
You can directly open the api server and use json data in your app.API Base URL : https://easy-horo.herokuapp.com/
GET : /today/sunsign
GET : /weekly/sunsign
GET : /monthly/sunsign
Example Usage 2: GET https://easy-horo.herokuapp.com/today/aquarius
Example Result:
{
"date":"27-09-2019",
"result":"You will seek spirituality as you feel thoroughly dejected by your present situation.
Ritik says that even struggling courageously with circumstances requires a spiritual endeavour.
These trying times give you the patience to deal intelligently with challenges and setbacks.",
"sunsign":"aquarius"
}