A python library for working with Shapeshift.io Includes both sync libraries using requests and async library using aiohttp
To see API behavior, see official ShapeShift API Reference
The api is exactly the same between the two options, the only difference is how you import them.
- Sync Import is done
from pyShapshift import api
orfrom pyShapshift.sync import api
- Async Import is done
from pyShapshift.async import api
pip install git+https://github.com/amusatfa/pyShapeshift.git
from pyShapeshift import api
print('Available Coins: ', api.get_coins())
import asyncio
from pyShapeshift.async import api
async def main():
print('Available Coins: ', await api.get_coins())
loop = asyncio.get_event_loop()
loop.run_until_complete(main())