Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

API Newsletter Methods

Chris Carlevato edited this page Mar 27, 2017 · 1 revision

Methods

  • newsletters_c - Current newsletters, most recent first.
  • newsletters_a - Most popular newsletters, by daily average views.

Request Parameters

  • u - Username to authenticate request.
  • k - API Key to authenticate request.
  • data - Method being requested.

Sample Request

http://demo.helioscalendar.com/api/?u=YOUR_USERNAME&k=YOUR_KEY&data=METHOD

Sample Response

{
"api": {
    "version": "1.0",
    "cal_url": "http://demo.helioscalendar.com",
    "encoding": "ISO-8859-1",
    "generated": "2012-12-16T11:32:34-08:00",
    "contents": "newsletter_current"
},
"1": {
    "id": "c4ca4238a0b923820dcc509a6f75849b",
    "subject": "Sample Newsletter 1",
    "sent": "2012-12-15",
    "events_start": "2012-12-22",
    "events_end": "2013-01-04"
},
"2": {...}
"N": {...}
}
Clone this wiki locally