| RSS API Details |
There is 2 RSS chanels:
1) RSS Chanel of types (this chanel show ID of used types for specific calendar)
http://calendar.forex-tsd.com/type.php?calendar=ID_OF_CALENDAR
Example of use: http://calendar.forex-tsd.com/type.php?calendar=1
In RSS description you'll see ID of event type and calendar ID: CALENDAR ID:1 TYPE ID:7 you can use type Id for second chanel
2) RSS Chanel of events
http://calendar.forex-tsd.com/calendar.php?date=START_DATE_IN_FORMAT_YEARMONTHDAY&calendar[]=ID_OF_CALENDAR1 &calendar[]=ID_OF_CALENDAR2&user=USER_LOGIN&password=USER_PASSWORD&type[]=EVENT_TYPE_ID1 &type[]=EVENT_TYPE_ID2&impact[]=IMPACT_STRING1&impact[]=IMPACT_STRING2&gmt=HOURS
"date" is optional parameter (NOW date by default)
Examples: START_DATE_IN_FORMAT_YEARMONTHDAY = 2070425
START_DATE_IN_FORMAT_YEARMONTHDAY = 2070405
"calendar" is must parameter
Examples: ID_OF_CALENDAR1 = 1
ID_OF_CALENDAR1 = 103
"user" and "password" is optional parameters to see private events
"type" is optional parameter
Examples: EVENT_TYPE_ID1 = 189
EVENT_TYPE_ID2 = 103
"impact" is optional parameter
Examples: IMPACT_STRING = high
IMPACT_STRING = medium
IMPACT_STRING = low
IMPACT_STRING = actualpending
IMPACT_STRING = preliminaryrelease
IMPACT_STRING = revisedrelease
IMPACT_STRING = revision
"gmt" is optional parameter
Examples: HOURS = 5
HOURS = -12
Example of use: http://calendar.forex-tsd.com/calendar.php?date=20070313&calendar[]=1&user=test&password=test&type[]=1&impact[]=low&gmt=1
http://calendar.forex-tsd.com/calendar.php?date=20070303&calendar[]=1&user=test&password=test&impact[]=low&gmt=1
http://calendar.forex-tsd.com/calendar.php?date=20070315&calendar[]=1&user=test&password=test&gmt=1
http://calendar.forex-tsd.com/calendar.php?date=20070315&calendar[]=1&user=test&password=test
http://calendar.forex-tsd.com/calendar.php?calendar[]=1
|
|