[SAoC] “D Language Client Libraries for Google APIs” project thread

Robert Aron aronrobert293 at gmail.com
Wed Sep 9 18:35:22 UTC 2020

Hi all,

I am Robert and during this year’s edition of SAoC I will be 
working on the “D Language Client Libraries for Google APIs” 
project. This thread will be used to post further updates.

Google APIs is a set of application programming interfaces (APIs) 
developed by Google which allow communication with Google 
Services and their integration to other services. Examples of 
these include GDrive, Calendar, Search or Gmail. Third-party apps 
can use these APIs to take advantage of or extend the 
functionality of the existing services.

At the moment, there is no client library for D Programming 
Language which can allow D developers to use various Google APIs. 
The goal of this project is to implement this library.

Milestones for this project:

Milestone 1 – Familiarize with dlang-requests, dub and OAuth 2.0
	- implement small app using dlang-requests that interacts with 
weather api
	- implement small app using dlang-requests that interacts with 
myip api
	- implement simple client-server app using dlang requests
	- use http requests to interact with google drive api and list 
its content
	- use dlang-requests to interact with google drive, list its 
content and store
	access token and refresh token

Milestone 2 – Familiarize with gapic-generator
	- read protobuf documentation
	- build protobuf example and understand how it works
	- read gapic-generator documentation and look at how the 
generator is used to
         build libraries for other languages

Milestone 3 – Add support Google Drive
	- write a proto file describing the API
	- write a yaml file describing certain service values
	- add support for Google Drive
	- test the generated library by inspecting and reading files, 
inspecting files 	
         details and creating file hierarchies

Milestone 4 – Validate general case
	- solve issues that may appear
	- creating calendar events to test the support for Google 
	- filling sheets to test the support for Google Sheets
	- sending and reading emails to test support for Gmail

 From now on, I will be posting updates weekly (or every two 
weeks) regarding the progress done on this project.


More information about the Digitalmars-d mailing list