Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/teamcfadvance/timezone

TimeZoneDB api CFML wrapper
https://github.com/teamcfadvance/timezone

Last synced: about 2 months ago
JSON representation

TimeZoneDB api CFML wrapper

Awesome Lists containing this project

README

        

TimeZoneDB
==========

TimeZoneDB api CFML wrapper

http://timezonedb.com/api

Parameters:
===========
* key: Required. Your unique API key you get after register your account.
* zone: Required. Zone name of an area. You can refer the name from time zone list (http://timezonedb.com/time-zones).
* lat: Required if zone not specified. Latitude of a city.
* lng: Required if zone not specified. Longitude of a city.
* tz: Optional. Unix time. Default value: Current timestamp in Unix.
* format: Optional. xml or json format for the result. Default value: xml
* cb: Optional. Use for JavaScript JSON callback.

Responses:
==========
* status: Status of the API query. Either OK or FAIL.
* message: Error message if any parameters missing or invalid. Empty if no error.
* countryCode: ISO 3166 country code (http://www.iso.org/iso/country_codes) of the country.
* zoneName: The name of the time zone. Refer to time zone list (http://timezonedb.com/time-zones).
* abbreviation: The abbreviation (http://en.wikipedia.org/wiki/List_of_time_zone_abbreviations) of time zone.
* gmtOffset: The time offset in seconds based on UTC time.
* dst: Whether Daylight Savinig Time (DST) is used. 1=Yes, 0=No
* timestamp: Current local time in Unix timestamp (http://en.wikipedia.org/wiki/Unix_timestamp).

USES: See sample .cfm and .html files for ColdFusion and JavaScript examples.

Team CF Advance:
===========
The CF Advance team is focused on devloping open source software for ColdFusion/Railo.

Developers of all walks of life, skill level and experience are welcome to join the team. The more participants, the better the outcome will be.
So, if you have ideas for open source ColdFusion software, want to be part of like-minded teams of developers working towards building quality solutions for the community, enjoy a good challenge, etc. then join us!

http://www.teamcfadvance.org/