sdk_python icon indicating copy to clipboard operation
sdk_python copied to clipboard

Examples are not up to date

Open fleaz opened this issue 3 years ago • 2 comments

The "examples" submodule currently points to the commit 67f623f which was before the big refactoring, therefore the code is not usable when you install a recent version of the bunq sdk. Especially with this little amount of example code and the lack of proper documentation, at least link to the matching code version of the examples. This will make getting started with this library a bit less frustrating.

Best, Felix

Steps to reproduce:

  1. Open the 'bunq/sdk_python' repository
  2. Click on the "examples" folder
  3. Try to use any of the code you see

What should happen:

  1. I should see a matching version of the example code

What happens:

  1. I get old example code that is no longer compatible with the library

fleaz avatar Mar 31 '21 16:03 fleaz

I see this issue is open for more than a year, is there any updated docs/examples which do show the correct references to the SDK. I think it's the most useless example I have seen in a while as nothing works, class filenames have changed, so each reference to context.BunqContext is now context.bunq_context.BunqContext for example.

BasVerlooy avatar Jul 17 '22 15:07 BasVerlooy

@BasVerlooy in the examples repository, don't look at the tree of the old commit. switch to HEAD of the most up-to-date branch.

jakob11git avatar Sep 03 '22 11:09 jakob11git