Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config file #4

Open
nicovs opened this issue May 3, 2018 · 2 comments
Open

Config file #4

nicovs opened this issue May 3, 2018 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@nicovs
Copy link

nicovs commented May 3, 2018

hey @ltanyc,

can you add a config file in here? (no JS guru here :D)

makes it easier to declare the Explorer API or InfluxDB host and DB name

@ltanyc ltanyc added the help wanted Extra attention is needed label May 3, 2018
@ltanyc
Copy link
Owner

ltanyc commented May 3, 2018

yeah, a JSON config file similar to the following format would be nice to add:

{
influxdbHost: 'localhost',
influxdbName: 'coinStats',
coins: [
{ coinName: 'coin1', explorerApi: 'url1', cmcApi: 'cmc_url', ...},
{ coinName: 'coin2', explorerApi: 'url2', poolApi: 'pool_url', ...},
...
]
}

Not sure when I can get to this if someone wants to try it before I can do it lmk and I can help...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants
@nicovs @ltanyc and others