Client library for Socialtext's ReST API
Project description
This is a client for Socialtext’s ReST API. We are currently in the alpha stage for the first release. The API only supports basic operations for a few resources, but it is a good start!
Requirements
The only dependency is httplib2
Installation
You can install python-socialtext using pip or easy_install:
pip install python-socialtext easy_install python-socialtext
The tests use nose and can be run using:
python setup.py # or nosetests
Python API
Quick start:
from socialtext import Socialtext st = Socialtext(ST_URL, USERNAME, PASSWORD) st.signals.create("This is a signal from the API!") <Signal: 1234> signal.delete() st.pages.list("ws-name") <Page: test_page>, <Page: test_page_2>, <Page: test_page_3> ws = st.workspaces.get("ws-name") st.pages.list(ws) <Page: test_page>, <Page: test_page_2>, <Page: test_page_3>
Contributing
Development takes place on Github. You can file bug reports and pull requests there.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-socialtext-0.1.a1.tar.gz
(23.1 kB
view hashes)
Built Distribution
Close
Hashes for python_socialtext-0.1.a1-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef36a284190e3e6e85733a3514a88dce77936ad4d98d9c65ee036735d7e14c37 |
|
MD5 | c1d02e3746eafa4474ccdd4c5077f9a1 |
|
BLAKE2b-256 | 84d1084f0f7aab016a0bdd0bc1cfc14d4905f50138ee4650b83d11e914d502c8 |