Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-socialtext, version 0.1.a1
Filename, size File type Python version Upload date Hashes
Filename, size python_socialtext-0.1.a1-py2.6.egg (29.8 kB) File type Egg Python version 2.6 Upload date Hashes View
Filename, size python-socialtext-0.1.a1.tar.gz (23.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page