Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an API set for Ubuntu One? For example, an API to sync contacts, bookmarks, etc.

share|improve this question
up vote 11 down vote accepted

The common way to store something persistently and have it synchronise with Ubuntu One is to just use desktopcouch. Here's an example:

from desktopcouch.records.server import CouchDatabase
from desktopcouch.records.record import Record

database = CouchDatabase("askubuntu_test", create=True)

record = Record(
    {"site": "", "awesome": True}, "")


Where "" should ideally point to a description of your record format.

And to retrieve the information afterwards:

database = CouchDatabase("askubuntu_test")

for i in database.get_records(create_view=True):
    print i

The API to desktopcouch is pretty straightforward, have a look at the Desktopcouch Documentation to learn more about it.

share|improve this answer

What @Stefano said. Also, right now there isn't a single place where you can go and read up on all the different APIs related to Ubuntu One, but we're building it in time for Natty.

share|improve this answer
I can't wait :) – Stefano Palazzo Jan 15 '11 at 14:57
Neither can I. And I'm building it. :) – sil Jan 15 '11 at 20:17
ha, great! waiting for it – feifan.overflow Jan 16 '11 at 3:57

Yes.. try see this:

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – stephenmyall Aug 14 '12 at 8:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.