mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Adds import statement to front page of docs for clarity and quicker start up
This commit is contained in:
@@ -36,6 +36,7 @@ constantly reading documentation, depression, headaches, or even death.*
|
||||
|
||||
**Behold, the power of Requests**::
|
||||
|
||||
>>> import requests
|
||||
>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
|
||||
>>> r.status_code
|
||||
200
|
||||
|
||||
Reference in New Issue
Block a user