Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Is it possible to use Gmail's API w/ perl?

by Arik123 (Beadle)
on Mar 24, 2021 at 07:45 UTC ( #11130256=perlquestion: print w/replies, xml ) Need Help??

Arik123 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Is it possible to use Gmail's API w/ perl?

Replies are listed 'Best First'.
Re: Is it possible to use Gmail's API w/ perl?
by marto (Cardinal) on Mar 24, 2021 at 08:36 UTC
Re: Is it possible to use Gmail's API w/ perl?
by Corion (Patriarch) on Mar 24, 2021 at 07:57 UTC

    Which API do you mean?

    If you "simply" want access to the mails, in the folders (well, tags), see IMAP.

    If you want other API access, maybe tell us what API you really mean.

      I apologize for not being clear enough. I'll try again. Gmail uses OAuth 2.0 based access. I can access it with simple SMTP/IMAP, but Gmail doesn't like it (it thinks I'm insecure). So, I want to do it in their way. They provide instructions on how to do it in Python, PHP, Ruby and other languages, but not Perl. I looked in cpan, and there seem to be some modules that claim to do the work, but I couldn't be sure they're what I need. So how would you access Gmail using their OAuth? what module would you use? or is there some other way?

        Have you looked at what CPAN offers on OAuth modules? There are various that you could use if IMAP is not what you want to use.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11130256]
Approved by Marshall
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2023-01-31 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?