15

I am considering using DropBox to sync user data with a delphi app. It would seem to solve lots of problems regarding security, permissions, etc... I see that there are some API samples for C#, python, etc.. Has anyone done it with Delphi, and if so, are there samples available?

Chris Thornton
  • 15,620
  • 5
  • 37
  • 62
  • 2
    Sorry, no updates! I've been distracted by other things and this project got sidetracked. I'm still interested though, and hope to get back to it. – Chris Thornton Oct 05 '10 at 12:35

1 Answers1

13

The DropBox API is a generic web based API, either using JSON over HTTP or REST (also over HTTP) calling into the DropBox web server using an API key.

All language specific wrappers are just bindings around this API:
they either encapsulate the JSON over HTTP or REST over HTTP calls.

For a Delphi implementation, rolling your own JSON wrapper is probably the easiest.

There are various ways of doing JSON in Delphi.
Starting with Delphi 2010 on, it contains a native JSON implementation. Up until Delphi 2009, you can use SuperObject for JSON.
This post from Daniele Teti and the comment thread Below it explain them both.

--jeroen

Mohammed Nasman
  • 10,992
  • 7
  • 43
  • 68
Jeroen Wiert Pluimers
  • 23,965
  • 9
  • 74
  • 154