<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>GCalendar will be very welcome!<br><br><font style="font-size:10pt;" face="Calibri,sans-serif" size="2"><span style="font-size:11pt;">William de Oliveira Ferreira<br>
Programador Web/Desktop<br>
> (32) 8412 1897 - Whatsapp </span></font><br><br><div>> Date: Thu, 7 May 2015 23:00:45 +0200<br>> From: michael@freepascal.org<br>> To: lazarus@lazarus.freepascal.org; fpc-devel@lists.freepascal.org; fpc-pascal@lists.freepascal.org<br>> Subject: [Lazarus] Google APIs<br>> <br>> <br>> Hello,<br>> <br>> Some of you may have noticed that a package 'Google APis' has been added to FPC in subversion.<br>> These contain the Google APIs as generated from the Google Discovery Service (~70 APIS).<br>> <br>> I am of the opinion that such Web APIs have meanwhile the same importance as the native APIS <br>> that make up the desktop; the world is increasingly connected to Internet, and Google, MS Office365 <br>> apis (and many others) will become more and more part of the toolset of a programmer.<br>> <br>> Object Pascal Programmers should not be left behind.<br>> <br>> Mattias Gaertner kindly gave permission to add a package to the 'components' directory of Lazarus.<br>> It will register the Google API components on the component palette (it uses the images provided by <br>> Google itself)<br>> <br>> Many of the APIS will probably not be used by most programmers, but some of the core APIs will be useful for a lot of people:<br>> <br>> Google Calendar, Google Drive, Google Tasks, Google Mail, Blogger, Youtube etc.<br>> <br>> There are already 4 example programs in the package directory, I will add more as time permits<br>> (Google Mail and Translate are definitely on my list).<br>> <br>> Note: you will need to create OAuth client ID and secret keys to make them work.<br>> <br>> The components as committed to Lazarus SVN will compile out of the box with FPC 3.1.<br>> <br>> The components can also be compiled with FPC 2.6.4 (in fact they were developed with FPC 2.6.4)<br>> but then some extra files must be copied from the FPC 3.1 repository to the components dir in lazarus.<br>> (I will commit instructions for this later on)<br>> <br>> One of the design goals was to be able to use the various TCP/IP implementations for FPC;<br>> FPC 2.6.4 will only work with Synapse, but since 3.1 contains support for the HTTPS protocol, <br>> TFPHTTPClient can be used in 3.1.<br>> <br>> Some of the components have been used in some private projects, so they work, but I would welcome experiences,<br>> suggestions for improvement, comments.<br>> <br>> One thing which I still plan to do is to adapt the code generator so it also creates fpdoc documentation.<br>> (the code generator is committed to SVN)<br>> <br>> If I broke something in the lazarus SVN or forgot a file (always an option ;) ) please let me know and I <br>> will fix it ASAP. But if you don't install the package, there should be no side effects to the commit.<br>> <br>> For those of you that read Blaise Pascal magazine: the Google APIs will be featured in the next issue<br>> (issue 41 for the English version).<br>> <br>> As usual, comments, suggestions and contributions welcome.<br>> <br>> Michael.<br>> <br>> PS. The REST API for MS Office365 is next.<br>> <br>> --<br>> _______________________________________________<br>> Lazarus mailing list<br>> Lazarus@lists.lazarus.freepascal.org<br>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus<br></div> </div></body>
</html>