Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Web Services
(view source)
Revision as of 20:11, 29 July 2014
2,150 bytes added
,
20:11, 29 July 2014
→Installing web services
Line 9:
Line 9:
# support for uploading Journal entries to a local server (tch).
# support for uploading Journal entries to a local server (tch).
# [https://github.com/ignaciouy/upload-webservice support for uploading files to PutLocker] (ignacio)
# [https://github.com/ignaciouy/upload-webservice support for uploading files to PutLocker] (ignacio)
+
# [https://github.com/ignaciouy/sugar-gdrive support for uploading files to Google Drive] (ignacio)
+
# [https://github.com/walterbender/sugarservices support for accessing the Sugar shell from Sugar activities] (walter and tch)
[[File:Webservices.png|300px]]
[[File:Webservices.png|300px]]
Line 29:
Line 31:
We don't yet have a simple installer for web services, so for the time being:
We don't yet have a simple installer for web services, so for the time being:
+
+
=== Using a Sugar activity ===
+
+
See http://activities.sugarlabs.org/en-US/sugar/addon/4723
=== Using git ===
=== Using git ===
Line 110:
Line 116:
└── service.py
└── service.py
+
</pre>
+
+
== Sugar Google Drive ==
+
* tar file: [http://people.sugarlabs.org/ignacio/sugarupload.tar.gz]
+
* git repo: [https://github.com/ignaciouy/sugar-gdrive]
+
+
<pre>
+
~/.sugar/default/extensions/webservice/
+
├── apiclient
+
│ ├── channel.py
+
│ ├── discovery.py
+
│ ├── errors.py
+
│ ├── http.py
+
│ ├── __init__.py
+
│ ├── mimeparse.py
+
│ ├── model.py
+
│ ├── sample_tools.py
+
│ └── schema.py
+
├── httplib2
+
│ ├── cacerts.txt
+
│ ├── __init__.py
+
│ ├── iri2uri.py
+
│ └── socks.py
+
├── __init__.py
+
├── oauth2client
+
│ ├── anyjson.py
+
│ ├── appengine.py
+
│ ├── client.py
+
│ ├── clientsecrets.py
+
│ ├── crypt.py
+
│ ├── django_orm.py
+
│ ├── file.py
+
│ ├── gce.py
+
│ ├── __init__.py
+
│ ├── keyring_storage.py
+
│ ├── locked_file.py
+
│ ├── multistore_file.py
+
│ ├── old_run.py
+
│ ├── tools.py
+
│ ├── util.py
+
│ └── xsrfutil.py
+
├── sugargdrive
+
│ ├── account.py
+
│ ├── icons
+
│ │ └── sugargdrive.svg
+
│ ├── __init__.py
+
│ └── sugargdrive
+
│ ├── __init__.py
+
│ └── sugargdrive.py
+
└── uritemplate
+
└── __init__.py
+
+
~/.sugar/default/extensions/cpsection/
+
├── __init__.py
+
└── webaccount
+
├── __init__.py
+
└── services
+
├── __init__.py
+
└── sugargdrive
+
├── __init__.py
+
└── service.py
</pre>
</pre>
Line 117:
Line 184:
==See also==
==See also==
See also [[features/Web_services]]
See also [[features/Web_services]]
+
+
There is a Sugar activity for installing web services: [http://activities.sugarlabs.org/en-US/sugar/addon/4723] by ignacio.
Walter
Bureaucrats
,
Administrators
10,505
edits