Description
This is an integration module for the USPS PHP API by Vincent Gabriel to make it easier to use within Drupal.
The module makes a simple api that any module can use whether it's to calculate the cost of shipping something to a user, verifying a user's address before mailing them something to facilitate easier delivery, or tracking a package.
The 6 Main functions of the USPS Web Tools API
- Verifying an address
- Looking up city and state from a zip code
- Looking up zip code from a partial address
- Calculating the cost of shipping to a destination zip code
- Tracking a package
- Estimating the amount of time it will take a package to arrive
Project Page
https://drupal.org/sandbox/mikeroberts/2149405
Git Repository
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/mike.roberts/2149405.git usps_api_integration
Reviews of other modules
https://drupal.org/node/2187787#comment-8451773
https://drupal.org/node/2092257#comment-8451955
https://drupal.org/node/2092257#comment-8452047
https://drupal.org/node/2189535#comment-8452097
Comments
Comment #1
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #2
jribeiro commentedThe functions are simple and well designed, you are using libraries and that's great. To make things more organized and separated, why you do not create a Class to encapsulate these calls to the API? It would be great. Another point I would leave the usps_api_integration.module only to store hooks and create include files for auxiliary functions.
Standard Review by tool:
Comment #3
gregglesI think the feedback in #2 is interesting and useful, but it doesn't seem like any of it rises to the level of issue that would block an application.
I'm not sure about the 5 ERRORs - I've run pareview at http://pareview.sh/pareview/httpgitdrupalorgsandboxmikeroberts2149405git... and do not see those. There's no master branch, so it's not a branch issue. Looking at line 149 to try to find the first error it doesn't seem accurate to the current state of the module.
I've reviewed the module and worked with Mike to fix a few things. I can't find anything more to change about it for now.
Disclosure: Mike and I work together and I reviewed it as a coworker both for our use and for contribution to drupal.org.
Comment #4
mike.roberts commentedThe errors and warnings are now fixed.
As for the class, the USPS PHP API is already a class based system, I found it easier to just provide a few Drupal functions that you can call from anywhere to get what you need. Perhaps in the future we'll convert to class based for 7.x-2.x or for an 8.x version, but for the 7.x-1.x release, this is what has been built.
Comment #5
klausimanual review:
But that are not critical application blockers, otherwise looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Assigning to greggles as he might ahve time to take a final look at this.
Comment #6
klausiOops, now really assigning to greggles.
Comment #7
klausino objections for more than a week, so ...
Thanks for your contribution, mike.roberts!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.