Skip to main content

Phabricator API Bindings

Project description

Installation

$ python setup.py install

Usage

Use the API by instantiating it, and then calling the method through dotted notation chaining:

from phabricator import Phabricator
phab = Phabricator()  # This will use your ~/.arcrc file
phab.user.whoami()

Parameters are passed as keyword arguments to the resource call:

phab.user.find(aliases=["sugarc0de"])

Documentation on all methods is located at https://secure.phabricator.com/conduit/

Updating interfaces.json

Copy gen_api_interfaces.php to scripts/util of your Phabricator installation and run it:

$ ./gen_api_interfaces.php > interfaces.json

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 phabricator, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size phabricator-0.3.0.tar.gz (10.9 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