Beta 
InstantCal API:
InstantCal is configured using its API (Application Programming Interface). The default configuration is generated by the Demo.
The API is organized into the following sections:
  • Embedding - add InstantCal to a web page
  • Data - access calendar data
  • Display - control calendar format, style, and content
  • User controls - allow users to set certain viewing options
The API is defined by a URI and a set of options.

The URI is generated by the Demo and is:
http://instantcal.com/isc/js/cv.js?
The options are listed under each API section. An option is specified by adding its name and value to the API string as 'name=value'.
name1=value1&name2=value2...
Note: if multiple options are supported by a particular option, an ampersand ('&') must be used to separate the option 'name=value' pairs:
Example:
http://instantcal.com/isc/js/cv.js?file=http://instantcal.com/categories.ics
 
1. Embedding InstantCal
Setup describes how to add (embed) InstantCal in a web page.
 
2. Calendar Data
Calendar data are specified by the file option, which has a URI as its value. The following types of data are supported:
  • iCal - an iCalendar file
  • Webcal - a webcal calendar
  • RSS - an RSS feed
  • ISCal - an ISCal 'internal' calendar
API Data Options
Description Name Value
iCalfilehttp://...iCal file...
Webcalfilewebcal://...Webcal file...
RSSfilehttp://...RSS feed...
ISCal (internal)filehttp://instantcal.com/isc/cal/cal.php?
action=getfile&
uri=/instantcal.com/test/Calendar&
username=*
Note: this should be entered as a single line
 
3. Display
A) Organization
Calendars are organized in one of two ways:
  • Navigated
  • Grouped
The Navigated organization has three levels of display; navigation (ntype option), group (gtype option), and item (itype option). The navigation level allows a date to be selected, and a group of calendar events displayed.

Currently, the only navigation level supported is a 'Date picker'.
The Grouped organization has two levels of display; group (gtype option), and item (itype option). The group level displays a group of calendar events, and allows a single calendar event to be selected. The item level displays a single calendar event.
A variety of formats (grid, table, list) and styles may be displayed at the group level. Several of these also offer visual effects (scroll, fade).
API Display Options (navigation/group/item)
Description Name Value
Date pickerntypecv_datepicker
Daygtypecv_dayGrid
3 Daygtypecv_dayGrid3
5 Daygtypecv_dayGrid5
7 Daygtypecv_dayGrid7
Previewgtypecv_simpleList
Preview (scroll)gtypecv_simpleList_scroller
Preview (fade)gtypecv_simpleList_fader
List - Summarygtypecv_listSummary
List - Summary (scroll)gtypecv_listSummary_scroller
List - Summary (fade)gtypecv_listSummary_fader
List - Timegtypecv_listTime
List - Time (scroll)gtypecv_listTime_scroller
List - Time (fade)gtypecv_listTime_fader
Labeled List - Summarygtypecv_labeledListSummary
Labeled List - Summary (scroll)gtypecv_labeledListSummary_scroller
Labeled List - Summary (fade)gtypecv_labeledListSummary_fader
Labeled List - Timegtypecv_labeledListTime
Labeled List - Time (scroll)gtypecv_labeledListTime_scroller
Labeled List - Time (fadegtypecv_labeledListTime_fader
Tablegtypecv_listTable
Table (scroll)gtypecv_listTable_scroller
Table (fade)gtypecv_listTable_fader
Condensed Tablegtypecv_listTableCondensed
Condensed Table (scroll)gtypecv_listTableCondensed_scroller
Condensed Table (fade)gtypecv_listTableCondensed_fader
Eventitypecv_simpleEvent
B) Color Scheme
Calendar color appearance may be set by the theme option.
API Display Options
Description Name Value
Graythemexgy
Redthemexre
Bluethemexbl
Yellowthemexye
Greenthemexgr
Gray (flat)themegy
Red (flat)themere
Blue (flat)themebl
Yellow (flat)themeye
Green (flat)themegr
 
4. Viewer controls
InstantCal viewers may customize calendars, depending upon which options are specified when a calendar is embedded.
If category options are specified, a set of category choices is available.
If the timezone option is specified, a set of timezone choices is available.
API Viewer Control Options
Description Name Value
Categorycategorycategory name
Note: multiple options are supported
Timezonetz---