CanIStreamIt icon indicating copy to clipboard operation
CanIStreamIt copied to clipboard

API not working

Open Xk0nSid opened this issue 9 years ago • 1 comments

I tried using this api. It's returning me this error:

/usr/lib/python2.7/dist-packages/requests/models.pyc in json(self, **kwargs)
    739             if encoding is not None:
    740                 return json.loads(self.content.decode(encoding), **kwargs)
--> 741         return json.loads(self.text, **kwargs)
    742 
    743     @property

/usr/lib/python2.7/json/__init__.pyc in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
    336             parse_int is None and parse_float is None and
    337             parse_constant is None and object_pairs_hook is None and not kw):
--> 338         return _default_decoder.decode(s)
    339     if cls is None:
    340         cls = JSONDecoder

/usr/lib/python2.7/json/decoder.pyc in decode(self, s, _w)
    364 
    365         """
--> 366         obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    367         end = _w(s, end).end()
    368         if end != len(s):

/usr/lib/python2.7/json/decoder.pyc in raw_decode(self, s, idx)
    382             obj, end = self.scan_once(s, idx)
    383         except StopIteration:
--> 384             raise ValueError("No JSON object could be decoded")
    385         return obj, end

ValueError: No JSON object could be decoded

Xk0nSid avatar May 01 '15 12:05 Xk0nSid

Weird, I don't get this error. What query parameters do you send?

bulv1ne avatar May 03 '15 06:05 bulv1ne