API v2.0

Calculations

As this site deals with money conversion, all calculations are performed using Arbitrary-precision arithmetic.

Currency to currency conversion

Description

Curency to currency conversion will convert amount of money from one currency to another and is performed using folowing:

http://konvertuj.ovo.ba/api(/<type>)/<amount>_<ISO code>_to_<ISO code>(.<format>)
http://konvertuj.ovo.ba/api(/<type>)/<amount><ISO code>/to/<ISO code>(.<format>)
http://konvertuj.ovo.ba/api(/<type>)/<amount><ISO code>-<ISO code>(.<format>)
http://konvertuj.ovo.ba/api/<amount><ISO code>-to-<ISO code>(.<format>)

Note: first format example provides backwards compatibility to old API.

where:

In order to use jsonp you need to add callback GET param.

Examples

Currency to all other currencies conversion

Description

This conversion will convert amount of money from one currency to all other currencies using folowing:

http://konvertuj.ovo.ba/api(/<type>)/<amount><ISO code>(.<format>)

where:

Result returned will not include currency you are converting from.

In order to use jsonp you need to add callback GET param.

Examples

Latest currency exchange

Description

Prints out latest currency exchange.

http://konvertuj.ovo.ba/api/today(.<format>)
http://konvertuj.ovo.ba/api/danas(.<format>)

where:

Examples

Currency conversion over time

@to-do: figure out a format for this request.

** Please send proposals to @krule