Requires at least 5.3.0
php sdk for use with box.net v2 api (http://developers.box.com/)
This is my first time building a separate library/module. It is intended to follow the coding standards of ZF2 but initial use will be in another framework.
tasks:
- Client class
- Note: token information as well as client id and secret are set from outside source/storage
- get access token given authorization code
- refresh token
- retrieve folder information from box given id
- get array of folder items (json decoded format)
- create new box folder
- update folder information
- get folder collaborators
- add collaborator to a folder
- create shared link for folder
- copy box folder
- create authorization header for connection class using token
- destroy token
- add error handling
- auth query
- build auth query uri
- set auth header for connection
- allow additional headers to be merged because of header overwrite
- client id
- client secret
- Collaboration class
- interface implemented
- validate status
- Connection class
- interface implemented
- ability to set additional curl opts
- send GET request
- return GET response
- send PUT request
- return PUT response
- send POST request
- return POST response
- send DELETE request
- return DELETE response
- Token class
- Folder class
- interface implemented
- User class
- interface implemented
- File class
- interface implemented
- Comment class
- Event class
- Shared Items interaction
- create shared link (can be done via client)
- Search
- Task Class
- Unit Tests
- Regression for current implementation
- TDD for future implementation