Update documentation

This commit is contained in:
Vincent Jacques
2012-07-23 18:18:27 +02:00
parent a867416f3f
commit 754dc4a92b
2 changed files with 8 additions and 1 deletions
+6 -1
View File
@@ -17,7 +17,7 @@ You can also clone it on [Github](http://github.com/jacquev6/PyGithub).
Tutorial
========
First create a Gihub instance:
First create a Gihtub instance:
from github import Github
@@ -53,6 +53,11 @@ Projects using PyGithub
History
=======
[Version 1.4](https://github.com/jacquev6/PyGithub/issues?milestone=8&state=closed) (July 29th, 2012)
-----------------------------------------------------------------------------------------------------
* Allow connection to a custom Github URL, for Github Enterprise, thank you very much [engie](https://github.com/engie) for the merge request
[Version 1.3](https://github.com/jacquev6/PyGithub/issues?milestone=7&state=closed) (July 13th, 2012)
-----------------------------------------------------------------------------------------------------
+2
View File
@@ -17,6 +17,8 @@ Constructed from user's login and password or OAuth token or nothing:
g = Github( token )
g = Github()
You can add an argument `base_url = "http://my.enterprise.com:8080/path/to/github"` to connect to a local install of Github (ie. Github Enterprise).
Attributes
----------
* `rate_limiting`: tuple of two integers: remaining and limit, as explained in [Rate Limiting](http://developer.github.com/v3/#rate-limiting)