Skip to content

Commit b48bf6f

Browse files
framawikiBYK
authored andcommitted
Readme: Explain that you have to use /api/ host url (disqus#45)
1 parent dac1219 commit b48bf6f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Use the API by instantiating it, and then calling the method through dotted nota
2020
phab = Phabricator() # This will use your ~/.arcrc file
2121
phab.user.whoami()
2222

23+
You can also use::
24+
25+
phab = Phabricator(host='https://my-phabricator.org/api/', token='api-mytoken')
26+
2327
Parameters are passed as keyword arguments to the resource call::
2428

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

0 commit comments

Comments
 (0)