Skip to content

GET request params in data are ignored #140

@mallorymallory

Description

@mallorymallory

Versions

OS:  any     
Python:   any
krakenex: 2.2.0

What are you trying to achieve?

import krakenex
k=krakenex.API()
k.query_public("Ticker", {"pair":"XBTUSD"}

What do you expect to happen?

market data for requested pair returned

What happens instead?

market data for all pairs returned
params for GET being sent in session.get data are ignored by Kraken - need to be urlecoded

k.query_public("Ticker?pair=XBTUSD"}
works^

# error message

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions