/albiondata-api

A tool which allows you to export prices over an api which you imported with albiondata-sql.

Primary LanguageGoMIT LicenseMIT

albiondata-api

In short: this tool allows you to export prices over an api which you imported with albiondata-sql.

The API to access the data imported by albiondata-sql from albiondata-client over albiondata-deduper.

Usage

Thanks to viper and cobra you have 3 ways to configure albiondata-api.

1.) Traditional by configfile

Just copy albiondata-api.yaml.tmpl to albiondata-api.yaml and edit it.

2.) By commandline arguments

See the output of the help page ./albiondata-api -h

3.) By environment variables

For example:

ADA_DBTYPE=sqlite3 ADA_DBURI=./sqlite.db ADA_LISTEN="[::]:3080" ./albiondata-api

LICENSE

MIT