Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dropbox api for Delphi? [closed]

Tags:

dropbox

delphi

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?

like image 942
Chris Thornton Avatar asked Jun 10 '10 14:06

Chris Thornton


People also ask

Does Dropbox have an open API?

The Dropbox API allows developers to work with files in Dropbox, including advanced functionality like full-text search, thumbnails, and sharing. The Dropbox API explorer is the easiest way to get started making API calls.

Is Dropbox API free?

You'll need to have a Dropbox account to access the APIs. If you don't already have one, you can sign up for a free account here.

How do I get my Dropbox API access token?

If you'd like to quickly test out the Dropbox APIs using your own Dropbox account before implementing OAuth, you can generate an access token from your newly created app in My apps by pressing the button that says "Generate" in the OAuth 2 section of your app settings page.


1 Answers

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

like image 171
Jeroen Wiert Pluimers Avatar answered Oct 01 '22 13:10

Jeroen Wiert Pluimers