๐ฌ Ask me about ...
- โ๏ธ
- Kubernetes
- OpenStack
- ๐ด
- ๐
Implementation of a python library for the flattr restful api
License: Other
๐ฌ Ask me about ...
pip install flattrclient instead of flattr.
It is not possible to update urls:
http://developers.flattr.net/api/resources/things/#update-a-thing
Before calling authenticated.get_activities, everything (link authenticated.get_things) works fine. After calling get_activities, some calls return confusing results. get_things just one malformed thing.
get_subcriptions return with an error:
In [52]: api.authenticated.get_subscriptions()
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
/home/chris/Projects/python-flattr3.5.env/lib/python3.5/site-packages/flattrclient/exc.py in raise_exception(status_code, error, description)
46 try:
---> 47 raise code_exception_mapping[status_code][error](description)
48 except KeyError:
KeyError: 'not_found'
During handling of the above exception, another exception occurred:
FlattrApiError Traceback (most recent call last)
<ipython-input-52-39de3e3d2f87> in <module>()
----> 1 api.authenticated.get_subscriptions()
/home/chris/Projects/python-flattr3.5.env/lib/python3.5/site-packages/flattrclient/__init__.py in __result(self, *args, **kwargs)
32 def __result(self, *args, **kwargs):
33 resp = fn(self, *args, **kwargs)
---> 34 res = _handle_response(resp)
35 if res is None:
36 return None
/home/chris/Projects/python-flattr3.5.env/lib/python3.5/site-packages/flattrclient/__init__.py in _handle_response(resp, accepted_codes, do_json)
21 error = 'not_found'
22 description = resp.text
---> 23 raise_exception(resp.status_code, error, description)
24 if resp.status_code != 204:
25 return resp.json()
/home/chris/Projects/python-flattr3.5.env/lib/python3.5/site-packages/flattrclient/exc.py in raise_exception(status_code, error, description)
47 raise code_exception_mapping[status_code][error](description)
48 except KeyError:
---> 49 raise FlattrApiError(description)
FlattrApiError: 406 Feed response not supported for this resource
However. Using additional_parameters causing this problem, since data in the real session.header will be overridden.
flattrclient/init.py:L95
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.