Git Product home page Git Product logo

libmonzo's People

Contributors

dalemyers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

libmonzo's Issues

Issue with pots

Hi, before I start I would just like to say I have very limited programming knowledge but I would like to use this for a small project.
I have done some testing with this but run into some issues.
The first one is that the pots part doesn’t work below is the current code.

def pots(self) -> List[Pot]:
"""Return the list of pots the user has."""
self.log.debug("Requesting pots.")
response = self.get('pots')
return Pot.from_json(response.json())

Here is what I change to make it work

def pots(self, *, account_id: str) -> List[Pot]:
"""Return the list of pots the user has."""
self.log.debug("Requesting pots.")
response = self.get(f'pots?current_account_id={account_id}')
return Pot.from_json(response.json())

It looks like Monzo now require an account_id to list the pots.

For the project I would like to do, I need to use the API as “Confidential” so I am issues a "refresh_token", I have worked out how to get the refresh token added to the “client” but have no idea how to go about refreshing the access.

Can we work together?

Hi there,

Firstly, thanks for sharing your work. Some of the ideas here are really good.

With the greatest respect, however, does the world really need yet another Python Monzo wrapper? Or, to put it another way, is there something here that could not have been contributed to one of the four or five existing ones on GitHub? Most, if not all, are actively maintained and keen to welcome new contributors.

As I say, I like some of the ideas here, and would love to see them developed further. That said, I cannot in good faith contribute to unnecessary duplication of effort and fragmentation of the community.

Would you consider working with an existing solution to build on the work has already been done?

Thanks,

Sam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.