Skip to content

Commit b2475e2

Browse files
author
Berend Kapelle
committed
Merge branch 'feature/BAAS-31_release_sdk'
2 parents f6117ad + dd8a66f commit b2475e2

12 files changed

Lines changed: 565 additions & 294 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ htmlcov/*
3535
.mr.developer.cfg
3636
.project
3737
.pydevproject
38+
.eggs/
39+
.pytest_cache/

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,3 @@ deploy:
2020
all_branches: true
2121
after_success:
2222
- codecov
23-
env:
24-
global:
25-
- secure: YE1otsTR6GHacdYjBV+VCh3Yajtfi9QSykl5B3vFPLKdHW9Wgjw3DUlZ+tIDPU6bgGWdy06Ry5eeIDFp/dG7IN7WkP25YfhaoLfApiQ59eggzJ6F/3MB0aDJRpYQrln7CPuVyOEdKPiuTiVEzrMzsaNvwe8jv1oRESQIic1mS7M=
26-
- secure: eZj+KsmL6QgH5u9p/+YP6oSb73s6m0BnaCOve+rl6qZzysrrTZdUZZ0GqxbDJT/d9RpvyhYKOSHKzjUw2Q81w0AY75vO8H0xF5/kOnFRjlr09m5ltPVlId0NRJdpY41/DYZiikwvxSPi8lBFAMVqfLhCwlJo9lBXG6RVJPPricE=
27-
- secure: e7KEMfeZSO+lurgPI9F5n5k14OKgXkD97n5XdNnZJ2CwGSyvM6fd0I36QSGEbjOXaUNE4MhmQK4Ca7+PDY1HIBGT7mUgcE8etyqyA2c8TEnicDQ44Tl9jXBpoO3JZOK8akh6ycxNXS4K0fZrn/NGDvsxj0MjVrUcE9hPW5JpDNM=
28-
- secure: Hzk+d2xJGYOpIe/wjthZ6JUGGW7ujq33l4rdOaVyTKGUojZyG6o2hXD8RdHSSubEEo4CbW4LGwKZSwdD7C1GWrHhmzzsKd/oUE2czmGM8kOI8MRFY3jZ/gTeD79PDoCcbElpQUKpxoJOc4L9TymdSxTcQR7gP81WGrPR72+w9qs=

AUTHORS

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Achimsen <dev@joachimpenk.de>
2+
Berend Kapelle <berend.kapelle@gmail.com>
3+
Berend Kapelle <berend@users.noreply.github.com>
4+
Berend Kapelle <bk@figo.io>
5+
Boris Erdmann <be@figo.io>
6+
Deniz Saner <deniz.saner@rwth-aachen.de>
7+
Dennis Lutter <dl@figo.io>
8+
FelixWittmann <felix@localhost.localdomain>
9+
Fredrik Melander <fm@figo.io>
10+
Ivan Vokhmin <iv@figo.io>
11+
Jan van Esdonk <jan@vanesdonk.de>
12+
Jan van Esdonk <jve@figo.me>
13+
Joachim Penk <jp@figo.io>
14+
Martin Domke <mail@martindomke.net>
15+
Matthias Jacob <dev@matthiasjacob.net>
16+
Michael Haller <michael.haller@mrh-line.de>
17+
Moritz Pein <moritz.pein@figo.io>
18+
Stefan Löwen <stefan.loewen@gmail.com>
19+
Stefan Richter <stefan.richter@figo.me>
20+
Stefan Richter <stefan@02strich.de>
21+
achimsen <jp@figo.io>
22+
berend <berend.kapelle@gmail.com>
23+
denvercoder9 <fredrik.melander@gmail.com>
24+
felix@nochoffen.de <felix@localhost.localdomain>
25+
fricklerhandwerk <fricklerhandwerk@users.noreply.github.com>
26+
fricklerhandwerk <valentin@fricklerhandwerk.de>
27+
holger <holger@zeitgold.com>

ChangeLog

Lines changed: 305 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,305 @@
1+
CHANGES
2+
=======
3+
4+
* most of pep8
5+
* clean up of conftest
6+
* added a test for get\_bank
7+
* clean conftest, moved all catalog and header tests to own file
8+
* making tests green
9+
* BAAS-31: Revert SSL
10+
* BAAS-31: Fix string
11+
* BAAS-31 Fix litreal
12+
* BAAS-31: Add new API fingerprint
13+
* BAAS-31: Move env vars to travis directly
14+
* fix \_\_unicode\_\_ that didn't return unicode strings
15+
* fix indentation
16+
* Remove weird legacy unicode stuff
17+
* fix unicode issue also for python3
18+
* fix unicode error
19+
* use example.com as test URL
20+
* drop support for old pythons
21+
* fix broken tests
22+
* add v3 to api\_endpoint
23+
* improve console\_demo.py output and remove hard coded account id
24+
* fix instance check
25+
* re-format
26+
* remove unnecessary docstrings
27+
* Remove unnecessary returns
28+
* shape up docstrings
29+
* remove in-code comments, shape up the docstrings, re-format
30+
* unify formatting, flake8
31+
* remove STRING\_TYPES
32+
* flake8
33+
34+
1.7.4
35+
-----
36+
37+
* Revert "use python3 compatible http status\_code const"
38+
* Revert "comply to all the py3 versions"
39+
* comply to all the py3 versions
40+
* use python3 compatible http status\_code const
41+
* remove httplib requirement in docs to make it compatible to python 3.x
42+
* this shouldn't be an instance eq check
43+
* include error code in tests
44+
* get error keys with get()
45+
* add test case for new and old error format
46+
* remove redundant error code
47+
* demobank has more than one account
48+
* add test for invalid language
49+
* fix catalog endpoint and exception formatting
50+
* add tests
51+
* add language to service model
52+
* remove numbers from test names
53+
* handle errors more flexibly
54+
55+
1.7.3
56+
-----
57+
58+
* remove 2.6 from travis, skip flaky test for now
59+
60+
1.7.2
61+
-----
62+
63+
* remove python 2.6, added python 3.6 to setup.cfg
64+
* add language parameter
65+
66+
1.7.1
67+
-----
68+
69+
* remove yield\_fixture
70+
* use relative import and also test py36
71+
72+
1.7.0
73+
-----
74+
75+
* fix import
76+
* fix import
77+
* fix import
78+
* add new transaction fields
79+
* DRY \`x\_or\_x\_id\` pattern
80+
* factor out demo token
81+
* flake8
82+
* fix description string for pypi
83+
* factor out credentials
84+
* get version string from installed package
85+
* flake8
86+
87+
1.6.3
88+
-----
89+
90+
* changed fingerprint in test config
91+
92+
1.6.2
93+
-----
94+
95+
* version bump to 1.6.2
96+
* update readme
97+
* use pbr
98+
* align user agent version with sdk version
99+
* fix fingerprint listing in one string
100+
* Update setup.py
101+
* Update figo.py
102+
103+
1.6.1
104+
-----
105+
106+
* reword readme: environment variables
107+
108+
1.6.0
109+
-----
110+
111+
* bump version
112+
* fix raising generic exception on task
113+
* implement change requests
114+
* remove debug output plus tiny code fixes
115+
* add sync\_account function and tests
116+
* improve comment
117+
* not asserting a fixed value for number of services. More than 10 seems ok
118+
* expect the right error code in test
119+
* add generic error data to FigoPinException
120+
* use complete unicode strings
121+
* Implemented changes on #37 requested by @fricklerhandwerk
122+
* #37 - Fixed Integration tests: Added \`90000\` as attribute for http related errors and changed \`assert len(services) == 28\` to \`assert len(services) == 27\` as this was apperently altered
123+
* Removed pragma no cover
124+
* Added \`code\` in init function and extended \`from\_dict\` class method
125+
* Added error code to FigoException
126+
* flake8: ignore docstring warnings
127+
* return scope in user login response
128+
* enable flake8 on tests and reformat
129+
* skip tests based on client scope instead of credentials
130+
* add categories to transactions
131+
* implement lad1337's comments
132+
* use SHA256 fingerprint for certificate pinning
133+
* fix return type for banks catalog
134+
* remove star import, fix most linter errors
135+
* fix \`account\_id\` check and comments to sphinx
136+
* fix indentation
137+
* add test for wrong pin on postbank
138+
* use error code instead of string when raising pin exception
139+
* hotfix unicode error in logging
140+
* add methods to get banks catalog and service login settings
141+
* use generator instead dict comprehension, docstring to sphinx
142+
* split test fixtures in \`api\` and \`staging\` (#29)
143+
* fix typos in comments
144+
* pass CLIENT\_ID and CLIENT\_SECRET env to tox
145+
* remove reassignment of \`sync\_poll\_retry\`
146+
* fix typos in readme
147+
* add \`scope\` option to \`credential\_login()\`
148+
* pass CLIENT\_ID and CLIENT\_SECRET env to tox
149+
* get client credentials from env
150+
* added current staging.figo.me fingerprint into FIGO\_SSL\_FINGERPRINT env variable
151+
* Remove IDE spam from file-header
152+
* Create CONTRIB.md
153+
* added CLIENT\_ID, CLIENT\_SECRET and FIGO\_API\_ENDPOINT to travis.yml
154+
* fix typos in readme
155+
* make query generation even more readable
156+
* don't use \`eval\`
157+
* make query generation more readable
158+
* use explicit kwargs in \`get\_task\_state()\`
159+
* remove stray comment line
160+
* added sort argument to \`get\_transactions\` method
161+
* fix typo in error message
162+
* remove \`HTTP\_SECURE\` option, use https always
163+
* add API endpoint and SSL fingerprints to constructors
164+
165+
1.5.8
166+
-----
167+
168+
* update package metadata
169+
170+
1.5.7
171+
-----
172+
173+
* adjust test case values
174+
175+
1.5.6
176+
-----
177+
178+
* update pypi password
179+
* minor typos in ready
180+
181+
1.5.5
182+
-----
183+
184+
* fixed sync\_poll\_retry behaviour, added description of alternative fingerprint and endpoint handling in ready
185+
* support for multi ssl fingerprints and other endpoint
186+
* added newest fingerprint
187+
* removed empty line in .md
188+
* added coverage badge, all badges now have the same styling
189+
* working on codecoverage integration
190+
* added codecov to travis config
191+
192+
1.5.4
193+
-----
194+
195+
* added travis secure password, some setup info, version bump for travis
196+
197+
1.5.3
198+
-----
199+
200+
* version push
201+
* python3 bytes vs. string issue fixed,
202+
* trying to to get rid of race conditions during travis parallel version runs
203+
* migrated tests for models and session to pytest, reformatting and PEP8
204+
* switched to requests and pytest, removed some state in unit tests. There are some stageful tests remaining
205+
* added python 3.5 to travis
206+
* why does it always rain on me ..
207+
* travis, again
208+
* some travis ci changes and code formatting, typos and PEP8
209+
* error code formatting
210+
* fixed tests for 2.6 and 2.7
211+
* print statements now python3 style, create user now uses a uuid as name to avoid race conditions during parallel testing
212+
* more pep8 stuff, switched to nose style skip for python 2.6 compatibility
213+
214+
1.5.2
215+
-----
216+
217+
* fixed pep8
218+
219+
1.5.1
220+
-----
221+
222+
* fixed all other errors, nose tests are now passing
223+
* adjusted Exception raising to new error message format
224+
* Add "visited" and "additional\_info" to Transaction object
225+
226+
1.4.1
227+
-----
228+
229+
* bump version to 1.4.1
230+
* added new fingerprint for api.figo.me
231+
* added detailed description to Payment Class
232+
* updated more docstrings
233+
* updated docstrings
234+
* updated doc strings (reformatting and small fixes)
235+
* added available tan schemes to account model
236+
* changed version
237+
* added add\_user\_and\_login and add\_account\_and\_sync
238+
* added missing api calls, models and test cases
239+
* Adding missing bank\_id to bank
240+
* Remove some typos (non critical) and a debug output
241+
* remove stray space (flake8)
242+
* python 3 compat (and v1.3.1)
243+
* move to new figo.io SDK API level
244+
* increment to v1.2.1
245+
* adding tox.ini to filter out flake8 noise
246+
* flake8 fixes
247+
* adding flake8 to travis CI
248+
* increment version
249+
* adding demo apps
250+
* python 2.6 compat
251+
* fix a variety of typos
252+
* adding pypi badge to readme
253+
* updating SSL fingerprints, clean up and adding tests
254+
* Fix a variety of minor issues
255+
* Fixing missing parsing of value date in transaction. Bump to 1.1.3
256+
* Incrementing version and updating trove classifiers
257+
* Fix relative import and usage of iteritems in spirit of Py3k
258+
* Adding dependency installation to travis ci and adding nose as test dependency
259+
* Use correct setuptools option
260+
* Fix issue with Py2.6
261+
* Python 3 compatibility
262+
* Updating SSL fingerprints and moving to new API DNS name. Incrementing Version
263+
* pep8 + to string methods
264+
* new api endpoints
265+
* webhook notification parser
266+
* webhook notification parser
267+
* webhook notification parser
268+
* add python-dateutil as dependency
269+
* fix unittests
270+
* fix unittests
271+
* fix unittests
272+
* refactoring and add new api endpoints
273+
* revert eda0c2bbce273f1608ef4e9cfc24a0b9c0302e39 and fix it right
274+
* bump version
275+
* now balance is delivered inline and the helper method is no longer necessary
276+
* adding SSL certificate fingerprints
277+
* Increment version
278+
* Fix typos
279+
* Increment version
280+
* PEP8
281+
* Adding str representations to models
282+
* Fix missing import of FigoException in figo/models.py
283+
* Building on top of PR to include the error code into output as well
284+
* Add string representation for FigoException
285+
* Add account type 'Cash book'
286+
* Fix unit tests for Python 2.6
287+
* Add OAuth example
288+
* Handle more HTTP error codes
289+
* Fix unit tests
290+
* some more tests and clean up
291+
* use correct URLs for sync
292+
* Removing strange property decorator
293+
* Increment version
294+
* typo
295+
* Python 2.6 and below compat
296+
* Adding certificate validation
297+
* Adding build status image
298+
* Adding PyPy to travis
299+
* Python 3 compat
300+
* adding travis
301+
* change doc theme
302+
* add login example
303+
* Using code-block instead of code to make rtd happy
304+
* first version of the python binding
305+
* Initial commit

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# python-figo [![Build Status](https://img.shields.io/travis/figo-connect/python-figo.svg?style=flat-square)](https://travis-ci.org/figo-connect/python-figo) [![PyPi Version](http://img.shields.io/pypi/v/python-figo.svg?style=flat-square)](https://pypi.python.org/pypi/python-figo) [![Code Coverage](https://img.shields.io/codecov/c/github/figo-connect/python-figo.svg?style=flat-square)](https://codecov.io/github/figo-connect/python-figo)
22

3-
Python bindings for the figo Connect API: http://docs.figo.io
3+
Python bindings for the figo Connect API: http://docs.figo.io/v3/
44

55
# Usage
66

figo/credentials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
DEMO_CREDENTIALS = {
44
'client_id': 'C-9rtYgOP3mjHhw0qu6Tx9fgk9JfZGmbMqn-rnDZnZwI',
55
'client_secret': 'Sv9-vNfocFiTe_NoMRkvNLe_jRRFeESHo8A0Uhyp7e28',
6-
'api_endpoint': 'https://api.figo.me/v3',
6+
'api_endpoint': 'https://api.figo.me',
77
# string containing comma-separated list of SSL fingerprints
88
'ssl_fingerprints': ('79:B2:A2:93:00:85:3B:06:92:B1:B5:F2:24:79:48:58:'
99
'3A:A5:22:0F:C5:CD:E9:49:9A:C8:45:1E:DB:E0:DA:50'),

0 commit comments

Comments
 (0)