Created REST API for Sunrise to Hit