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.

Source Distribution

phabricator-0.3.0.tar.gz (10.9 kB view details)

Uploaded Source

File details

Details for the file phabricator-0.3.0.tar.gz.

File metadata

  • Download URL: phabricator-0.3.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for phabricator-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4a3f5a77a7372ab844500df5c9e781c2b86893e6afb17a50e30fd29c425b7a5e
MD5 92b21484d48dae3bbe6b1ab8b1bf9119
BLAKE2b-256 0d0b7d58d3e4d427e7f95567df4ae0d33732c6a0e7b960369da1d112be985be0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page