8000 GitHub - div0man/hnb-app: Fetch currency exchange data from Croatian National Bank API and print it out to stdout
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

div0man/hnb-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hnb-app

Simple command-line application which fetches currency exchange data from Croatian National Bank API and prints it out to stdout with user-specified column delimiter.

Dependencies

Only libcurl

External libraries

jsmn, a json parser library bundled in:

jsmn.h & jsmn.c v1.0.0

Compiling

Simply run make

Usage

hnb-app [<query> [delimiter]]

Simple Example

./build/hnb-app

is equivalent to

./build/hnb-app "" $'\t'

Data on a specific date

./build/hnb-app "datum=2014-03-02"

Data for a specific currency

./build/hnb-app "valuta=EUR"

Multiple currencies can be queried with

./build/hnb-app "valuta=EUR&valuta=USD"

Data for a specific data range

./build/hnb-app "datum-od=2014-03-02&datum-do=2014-04-02"

Note that maximum range for the date is 1 year.

About

Fetch currency exchange data from Croatian National Bank API and print it out to stdout

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0