trello-php
trello-php copied to clipboard
Updating docs
Hi, I'm opening this issue to discuss any queries I have while I update the docs as previously discussed.
First off, the following ApiMethodsTrait methods do not appear in API-GUIDE.md
getCurrentUser
getCurrentUserBoards
getCurrentUserPinnedBoards
getCurrentUserCards
getCurrentUserOrganizations
I'd like to check if there was any reason for that?
Cheers
Also, the following methods listed in API-GUIDE.md do not appear in the ApiMethodsTrait $methods array.
getAuthorizationUrl
addBatchUrl
getBatchUrls
Edit - I'm guessing these discrepancies are just a result of the $methods being updated ahead of the docs so they're out of sync, but I just wanted to check there wasn't any other reason.
The 'getCurrent...' methods may truly be an oversight.
The second set of methods you mentioned are implemented from two different traits included in the Trello client class. The ApiMethodsTrait is not exhaustive; it does most of the heavy lifting for basic requests that require additional handling.
Ahhh, of course! Thanks.