nomics-python icon indicating copy to clipboard operation
nomics-python copied to clipboard

nomics.Currencies.get_currencies broken

Open dahl777 opened this issue 3 years ago • 3 comments

myjson=nomics.Currencies.get_currencies(ids=syms, interval='1d')

This call used to work - now it returns this error: Your plan requires that you provide a per-page argument. See http://docs.nomics.com/ for more information.

dahl777 avatar Mar 07 '22 11:03 dahl777

Add

, per_page=100

to your nomics.Currencies.get_currencies() call.

pkinnane avatar Mar 10 '22 11:03 pkinnane

Thanks for your response! Made a few attempts to add per-page=100, but they did not work: myjson=nomics.Currencies.get_currencies(ids=syms, interval='1d', per-page='100') myjson=nomics.Currencies.get_currencies(ids=syms, interval='1d', 'per-page=100') myjson=nomics.Currencies.get_currencies(ids=syms, interval='1d&per-page=100')

What is the correct syntax to get per-page=100 included in my call?

dahl777 avatar Mar 13 '22 18:03 dahl777

@dahl777
it's just per_page=100 it worked for me

emile-o avatar Mar 14 '22 17:03 emile-o