bunq / sdk_python

Python SDK for bunq API
MIT License
106 stars 25 forks source link

Examples are not up to date #156

Open fleaz opened 3 years ago

fleaz commented 3 years ago

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
BasVerlooy commented 2 years ago

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.

jakob11git commented 1 year ago

@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.