Discuss Dropbox Developer & API
Hi,
I had done some kodi addon development in the past
I want to help a friend to make this kind of addons:
He will like to make a service that synchronize favorites, video restore point, playlist, iptv and epg files among many devices he own.
In the config of the service, he will determine which device will be the master ( to send the files) or the slave (receive the file).
The service of kodi will store on a "cloud" ideally all the master files of a user.
By example, a PC will contain the master for the favorites and a tablet will contain the master for the playlist
The synch of the files will be done when you launch kodi on a device, so the Dropbox will be read and the devices will receives all the master files at once.
The goal is to make sure that all the devices contain the last version of their master file among them
I will like a solution like Dropbox, because it would more flexible more specifically with video restore point.
The user by example can watch a movie then stop it, the next day, he continues at the same restore point on his phone and at lunch time he can continue with wifi and finish when at home, on the android tv box
I will program it with Python 2.7
I need a bit of help to make this happen.
Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here:
https://www.dropbox.com/developers
For Python in particular, we recommend using the official Dropbox API v2 Python SDK:
https://github.com/dropbox/dropbox-sdk-python
There's an example app that shows how to upload and download files here:
https://github.com/dropbox/dropbox-sdk-python/blob/master/example/updown.py
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!