Command line Python 3 implementation of the XMR.to REST API.
Call the utility according to the following template:
python xmr2btc.py <query> [params]
For example:
-
python xmr2btc.py order_parameter_query
-
to create a new Order immediately:
python xmr2btc.py order_create "{'btc_dest_address': '1FhnVJi2V1k4MqXm2nHoEbY5LV7FPai7bb', 'amount': 0.1, 'amount_currency': 'BTC'}"
or to use interactively:
python xmr2btc.py order_create