Closed Jzarecta closed 8 years ago
Hi there,
are you sure you updated the library properly? Works fine for me:
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 5 2015, 21:12:44)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from coinmarketcap import Market
>>> coinmarketcap = Market()
>>> print(coinmarketcap.ticker("bitcoin"))
b'[\n {\n "id": "bitcoin", \n "name": "Bitcoin", \n "symbol": "BTC", \n "rank": 1, \n "price_usd": 648.839, \n "price_btc": 1.0, \n "24h_volume_usd": 78342500.0, \n "market_cap_usd": 10237168923.0, \n "available_supply": 15777672.0, \n "total_supply": 15777672.0, \n "percent_change_1h": -0.8, \n "percent_change_24h": -1.5, \n "percent_change_7d": -3.42\n }\n]'
@Jzarecta did you manage to get this working?
yeah is working, the issue was on the lxml module.
I am trying to run the module, I update the library but get a urllib error: