dalemyers / libmonzo Goto Github PK
View Code? Open in Web Editor NEWA Python library for interacting with Monzo bank accounts
License: MIT License
A Python library for interacting with Monzo bank accounts
License: MIT License
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.