billinghamj / monzo-api

11 stars 3 forks source link

Update? #3

Open Sherlouk opened 3 years ago

Sherlouk commented 3 years ago

Any plans to update this with the latest APIs? 👀

Would be interesting to see what's powering a lot of the plus stuff (connected accounts, virtual cards, etc)

billinghamj commented 3 years ago

Just haven't gotten around to it tbh! It's not difficult to do - if you fancy doing it, feel free to open a PR 😉

Sherlouk commented 3 years ago

You going to share steps of how you've generated this? 😛

ganey commented 3 years ago

@Sherlouk i'm guessing you could just watch the api calls with WireShark (or similar) as a proxy?

Sherlouk commented 3 years ago

I'm assuming JB isn't manually checking every single API call and grouping them up manually. He values his time far more than that.

I have the decompiled code and there's a bit of a structure to it (@GET etc) so I assume you have a find command you use or something.

billinghamj commented 3 years ago

Yeah I always just ran a regex against the decompiled Android app:

https://github.com/billinghamj/monzo-api/blob/master/service-header-regex

Sherlouk commented 3 years ago

Will see if I can figure out how to run that bad boy 😛

billinghamj commented 3 years ago

Sorry, I wasn't concentrating properly! That is just for restructuring the table.

This is a rough regex for actually finding the cases in the output: ^\s*@([A-Z]{3,6})\("/?([^"]+)"\)$