Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2017-10

Google Drive API

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Marcos Douglas B. Santos
Marcos Douglas B. Santos wrote
Hi, I would like to know if FPC implements the full Google Drive API. If so, since which version?

Yes, since version 3.0.2.

FPC also contains a tool to generate a new API if google changes it (they have a lot of APIS, which get updated on a regular basis)

First, I need to implement upload, download and search of files [1]. Any example?

Yes. See the googleapi source dir in trunk, examples/drive

Michael.

Reply by email

Marcos Douglas B. Santos
to Michael Van Canneyt
Michael Van Canneyt wrote 20 lines
On Wed, 11 Oct 2017, Marcos Douglas B. Santos wrote: > Hi, > > I would like to know if FPC implements the full Google Drive API. If > so, since which version? Yes, since version 3.0.2. FPC also contains a tool to generate a new API if google changes it (they have a lot of APIS, which get updated on a regular basis) > First, I need to implement upload, download and search of files [1]. > Any example? Yes. See the googleapi source dir in trunk, examples/drive

Hi Michael, sorry my late.
I didn't found... In this path \packages\googleapi\examples only exists \generator directory. :(

Trunk, rev 37453.

Best regards,
Marcos Douglas

Reply by email

leledumbo
to Marcos Douglas B. Santos

Marcos Douglas B. Santos wrote

I didn't found... In this path \packages\googleapi\examples only exists \generator directory. :( Trunk, rev 37453.

Try this, it wasn't running well due to RTTI changes back then, but probably works now:
http://free-pascal-general.1045716.n5.nabble.com/ERESTAPI-TBuckets-unsupported-array-element-type-lt-looks-like-empty-string-gt-td5726387.html

Reply by email

Marcos Douglas B. Santos
to leledumbo
leledumbo wrote 10 lines
Marcos Douglas B. Santos wrote > I didn't found... In this path \packages\googleapi\examples only > exists \generator directory. :( > > Trunk, rev 37453. Try this, it wasn't running well due to RTTI changes back then, but probably works now: http://free-pascal-general.1045716.n5.nabble.com/ERESTAPI-TBuckets-unsupported-array-element-type-lt-looks-like-empty-string-gt-td5726387.html

OK, thanks.
I found an example in Lazarus directory too, but I haven't tested yet.

Best regards,
Marcos Douglas

Reply by email