Skip to content

coolcatandrew/Horoscope-API-Endpoints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Horoscope-API-Endpoints

Get daily horoscopes from rss feeds.

Used in DailyHoroscope Library (https://github.com/coolcatandrew/DailyHoroscope).

Currently only astrology.com source supported but more to come!

Endpoints

/**
 * Get all zodiacs
 */
@GetMapping("/api/zodiac")

/**
 * Get all of todays horoscopes
 */
@GetMapping("/api/horoscopes")

/**
 * Get todays horoscope based on zodiac sign
 * Sign is a String (eg. leo, aquarius)
 */
@GetMapping("/api/sign/{sign}")

/**
 * Get todays horoscope based on birthday
 * month is a Integer of the birth month (eg. 2 for February)
 * day is a Integer of the birth day (eg. 19 for the 19th day of the month)
 */
@GetMapping("/api/month/{month}/day/{day}")

About

Get daily horoscopes from rss feeds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages