andreroggeri / pynubank

Acesse seus extratos do Nubank pelo Python
MIT License
1.19k stars 180 forks source link

Parse old transfer after nubank change #349

Closed pfsmorigo closed 2 years ago

pfsmorigo commented 2 years ago

Nubank changed the typename for old transactions from TransferOutEvent to GenericFeedEvent and added a "em processamento" like:

{'id': '[REDACTED]', '__typename': 'GenericFeedEvent', 'title': 'TransferĂȘncia recebida em processamento', 'detail': '[REDACTED]', 'postDate': '2018-02-05'}

This commit turn the pix parse into a generic parser that translate this generic event into the same format as before.

andreroggeri commented 2 years ago

Have you tried the get_account_feed_paginated method? The non-paginated account feed has been deprecated because it seems that Nubank is already disabling it for some people, as reported here.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.