title: Kraken-API: input-option; Python
body: <p>I've been trying to load the Kraken-api-content for hours now, but it still doesn't work. My problem is the following: 
  In the api-description <a href="https://www.kraken.com/help/api#public-market-data" rel="nofollow noreferrer">https://www.kraken.com/help/api#public-market-data</a> there it says something like "input". I.e. for the URL <a href="https://api.kraken.com/0/public/AssetPairs" rel="nofollow noreferrer">https://api.kraken.com/0/public/AssetPairs</a> it is optional to use "input": "info = leverage", otherwise it works with the default "info = all info". 
  So my python2.7-code </p>
  
  <pre><code>import os
  import urllib, json
  import time
  dir_path_this = os.path.dirname(os.path.realpath(__file__))
  os.chdir(dir_path_this)
  URL = "https://api.kraken.com/0/public/AssetPairs"
  FILENAME_PAIR = "pair"+ ".json"
  response = urllib.urlopen(URL)
  pairinfo_dict = json.loads(response.read())
  with open(FILENAME_PAIR, 'wb') as outfile:
  json.dump(pairinfo_dict, outfile)
  </code></pre>
  
  <p>works just fine, because the "input" is taken by default, I don't have to set it. 
  But with the URL <a href="https://api.kraken.com/0/public/Ticker" rel="nofollow noreferrer">https://api.kraken.com/0/public/Ticker</a> you have to tell Python your "input": "pair = comma delimited list of asset pairs to get info on", as it says in the API-description. 
  So when I run the code from above with the latter URL, I get an error, because "input" isn't set by default and I don't know how to change the code in order to tell Python which input-option to use. </p>
  
  <p>Does anyone know what parameter or argument it is I have to explicitly set?</p>