• Client package missing from Python SDK


Hi there, I just installed the Bunq SDK but when I'm trying to code some first tests in VS Code it looks like I'm missing the client package. No errors occurred during install except that the legacy setup.py was used. Any tips how I can get the client package installed? I have Python 3.10 installed in the global environment. Perhaps the client package doesn't install in newer versions? I didn't find a specification for any Python version on https://github.com/bunq/sdk_python

    Gaspard changed the title to Client package missing from Python SDK.

      @Bastiaan#264033

      Yes, I've installed tinker but but the problem remains that the client package is missing from the SDK installation.

        @Gaspard-Turquoise-Wolf#264155 Maybe also tried the example script above? This doesn’t contain bunq.sdk.client

          @Gaspard-Turquoise-Wolf#264155 It may be missing, but what do you need from it? Pagination? Just do from bunq import Pagination. The SDK has been restructured a bit, so it's best to look at the new examples, not the old commit that is linked at https://github.com/bunq/sdk_python.

            11 days later

            Hi guys, thanks for the help. I didn't get back to the project until now.
            from bunq import Pagination seems to be working. What 'new examples' are you thinking of? If you have a specific good one in mind, let me know.
            However, I decided to create the API Context with Postman now to save myself some trouble.

            Also, I decided to start trying some things in Google Sheets (apps script) because that's more directly useful for the purposes I have in mind at the moment.
            Maybe later I will get back to Python if I want to start using the features of numpy and pandas and such.

              @Gaspard-Turquoise-Wolf#266356 What 'new examples' are you thinking of? If you have a specific good one in mind, let me know.

              When you go to https://github.com/bunq/sdk_python and click on the "examples" folder, you get redirected to an old commit of the Tinker project which has the examples. It's the commit 67f623f from June 12th, 2020. But if you just go to https://github.com/bunq/tinker_python then you can see the newest commit in the default branch "develop" is actually 991c2ea from September 7th, 2020.

              You can compare the two commits here if you're interested: https://github.com/bunq/tinker_python/compare/67f623f..991c2ea As you can see, the old examples have some stuff that is no longer correct. That's why I recommended to use the new examples.

                Write a Reply...