www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - SAOC 2020 Milestone 2 Week 4

Update for week 4 of Milestone 2

Last week I managed to do the following tasks for #SAOC2020:
- create a common struct, because all of the resources have some 
common operations, like get or list, and thus I can avoid code 
duplication
- included urld library[0] to make the url handling easier and 
removing the limits for the query params
- add classes for each request body(one for files, one for 
comments and so on) and a function that can convert these classes 
to json
- add support for more google drive resources(permissions[1], 
replies[2], revisions[3] etc.)

The plan for the next milestone:
- further improve the support for Google Drive
- start the implementation for the Google Calendar

Milestone 1 updates: [4]
Milestone 2 week 1: [5]
Milestone 2 week 2: [6]
Milestone 2 week 3: [7]
Code repo: [8]

[0]: https://code.dlang.org/packages/urld
[1]: 
https://developers.google.com/drive/api/v3/reference/permissions
[2]: https://developers.google.com/drive/api/v3/reference/replies
[3]: 
https://developers.google.com/drive/api/v3/reference/revisions
[4]: 
https://forum.dlang.org/post/eaefvlbgikujonfjjzqi forum.dlang.org
[5]: 
https://forum.dlang.org/post/jezqwzpeknpxhmqgkewe forum.dlang.org
[6]: 
https://forum.dlang.org/post/kffvsmmxrkftxlbqklsd forum.dlang.org
[7]: 
https://forum.dlang.org/post/yvbnsycuxqjfxghqajbu forum.dlang.org
[8]: 
https://github.com/Robert-Aron293/SAoC---Google-APIs/tree/master/dlang-google-api-interact
Nov 17 2020