Jump to content
Sign in to follow this  
mjustin

Google API access with OAuth 2.0 authorization for web server applications

Recommended Posts

dj.png.2c8e760d521a512fc6d60fda3571b35f.png.bfe805984b9d2f6a0b70b57dde2fe6f4.png

 

The develop branch of the Daraja HTTP Framework includes a new tutorial with the full source code for a web server application which implements OAuth 2.0 authorization to access Google APIs. The example calls the Google Drive API to display the result of a ‘files’ request, which contains the files on the My Drive page of the user account in JSON format.

Requirements:
* Google account (with access to the developer console)
* a Google API project with an OAuth 2.0 client ID
* the client_secret.json file with the project configuration
* OpenSSL DLLs
* Lazarus 2.0 or Delphi 2009+
* SuperObject (for Delphi)

More information:
Google API access with OAuth 2.0 authorization for Daraja HTTP Server Applications (full source code)

About Daraja HTTP Framework:
* GitHub: https://github.com/michaelJustin/daraja-framework
* Wiki: https://github.com/michaelJustin/daraja-framework/wiki
* API Docs: http://michaeljustin.github.io/daraja-framework/

Happy coding,
Michael Justin

  • Like 3

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×