Skip to content

New API calls #848

@PeterSurda

Description

@PeterSurda

Came over BM:

No, the API's clientStatus doesn't give that info. But it gives some other useful info so I can implement at least that, thanks for the suggestion (wait for apiclient.py v1.25).

What angers me more about the API is that it doesn't allow to list only the headers of messages, i.e. everything except the message body, like what you get with apiclient.py -l or --ls. Each time I have to grab the whole inbox or the whole sentbox and then show you just headers. If you had hundreds of messages, let alone with the binary files, that would mean MBs if not GBs of useless data transfers :-(

I can easily add the knownnodes info into the clientStatus, add getAllInboxMessagesHeaders and getAllSentMessagesHeaders and fix the broken listAddresses2, but then it will only be in my API and not yours. I can't make a pull request on github because I communicate only via BM. I wish there was a chan where developers could just post their patches and if they were simple and straightforward they would get prompty merged into the github tree..

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions