Thanks for the great module. I've been running through setting this up on and off over the past month or so, and noticed a few places where you could improve the documentation to make the learning curve less steep:
- Homepage: Point 1 - it would be good to add something showing how the scheme/host/path/username/password translate into the request URL - something like: [scheme]://[username]:[password]@[host][path]
- Homepage: Point 1 - looks to me like the $path variable has to include a leading slash
- Homepage: Point 1 - it would be good to show how you can add custom headers if you need to: in ___construct by modifying $this->headers
- Homepage: Point 2 - the syntax you use in Toggl module is cleaner, imho - using $schemas['foobar'] = (Object) array (...);
- Homepage: Point 3, part 1 - the naming scheme for the invoking functions is actually [schemaname]_rest_api_[resource]_[action] - but from the existing docs it looks like just [modulename]_[resource]_[action]
Hope that helps someone.
Thanks, David
Comments
Comment #1
Bevan commentedThanks David! This is great feedback. Patches are welcome. I can give you access to edit the project if you like.
Comment #2
dbassendine commentedHi Bevan,
I'd be happy to update some of the documentation points if you'd like to give me access to edit the project page.
Thanks for the great module! David
Comment #3
Bevan commentedYou should have access now. Please let me know (here) when you have made changes so that I can review.
Comment #4
Bevan commented