Added api_url property to events (issue: #45)