barnumbirr / coinmarketcap

A python wrapper around the https://coinmarketcap.com API.
Apache License 2.0
436 stars 109 forks source link

Return Values #16

Closed ethankershner closed 7 years ago

ethankershner commented 7 years ago

When I use the ticker() method, instead of returning a list or dictionary, it returns a string. This is difficult to work with. Is the program supposed to do this?

skywen commented 7 years ago

you can eval() this to turn the string into dict ----- 原始邮件 ----- 发件人:ethankershner notifications@github.com 收件人:mrsmn/coinmarketcap-api coinmarketcap-api@noreply.github.com 抄送人:Subscribed subscribed@noreply.github.com 主题:[mrsmn/coinmarketcap-api] Return Values (#16) 日期:2017年05月25日 12点16分

When I use the ticker() method, instead of returning a list or dictionary, it returns a string. This is difficult to work with. Is the program supposed to do this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.