Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Is it possible to use Gmail's API w/ perl?

by Arik123 (Beadle)
on Mar 25, 2021 at 07:21 UTC ( #11130311=note: print w/replies, xml ) Need Help??


in reply to Re: Is it possible to use Gmail's API w/ perl?
in thread Is it possible to use Gmail's API w/ perl?

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?
  • Comment on Re^2: Is it possible to use Gmail's API w/ perl?

Replies are listed 'Best First'.
Re^3: Is it possible to use Gmail's API w/ perl?
by Corion (Patriarch) on Mar 25, 2021 at 07:26 UTC

    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.

      Yes, of course I looked there, but I couldn't understand which one is the module I need. That's why I asked which module would you use, if all you want is read/send mail via gmail.

      I'm new to this OAuth thing, and don't yet fully understand how it works. I guess I'll have to take one module, and learn how to work with it. But I don't want to spend much of time only to discover it's the wrong module.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2023-02-07 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (40 votes). Check out past polls.

    Notices?