I wanted to document how I could map the HTTP request reference to the actual class/methods. The Gmail Developers API gives you the HTTP request; however, the documentation in Google’s API PHP docs doesn’t do enough to tell you which request maps to what file class/methods. It takes a bit of reading and fumbling through the docs to get a good understanding.
Helpful resources:
- Gmail API Summary: https://developers.google.com/gmail/api/reference/rest
- PHP Reference:
- PHP Classes: https://developers.google.com/resources/api-libraries/documentation/gmail/v1/php/latest/index.html
- Google APIs Client Library for PHP – https://github.com/googleapis/google-api-php-client
- Other Languages – https://developers.google.com/api-client-library