Skip to content

Conversation

@jamieede
Copy link
Contributor

Simple yet effective way to get ticker cron to use the Cryptorush.in API
via get=all parameter.

MIGHT NOT BE THE MOST EFFECTIVE WAY! comments highly welcome 👍

After you have added the commit
Just add the following in your global cfg file:

$config['price']['url'] = 'https://cryptorush.in';
$config['price']['target'] ='/api.php?get=all&key=YOUR_API_KEY&id=YOUR_USER_ID';
$config['price']['currency'] = 'BTC';

The above represents the price for your coin vs Bitcoin.

Run the cron
Enjoy!

Simple yet effective way to get ticker cron to use the Cryptorush.in API
via get=all parameter.

Just enter on your global cfg file:
$config['price']['url'] = 'https://cryptorush.in';
$config['price']['target'] =
'/api.php?get=all&key=YOUR_API_KEY&id=YOUR_USER_ID';
$config['price']['currency'] = 'COIN';

and run the cron. Enjoy!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need to do this variable assignment here. Just address it in the array directly.

@TheSerapher
Copy link
Contributor

As you said, 5 lines of code. Nice work! Will test tomorrow.

@jamieede
Copy link
Contributor Author

👍

@TheSerapher
Copy link
Contributor

Once we merge this, can you add the Wiki documentation for your new option?

@TheSerapher
Copy link
Contributor

I checked their website, they say no BTC trading online right now. Is that maintenance?

@jamieede
Copy link
Contributor Author

cryptorush is currently under maint ye. Should be back up by this eve UTC i think. BTC wise anywho

TheSerapher added a commit that referenced this pull request Mar 14, 2014
@TheSerapher TheSerapher merged commit a23e447 into MPOS:development Mar 14, 2014
@TheSerapher
Copy link
Contributor

Merged but added the proper target currency too, we already have it as an option so we may as well use it: 914bc6b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants