Skip to content

Commit da475b6

Browse files
author
Josh Mervine
committed
Version bump.
1 parent c4e04e7 commit da475b6

File tree

2 files changed

+22
-14
lines changed

2 files changed

+22
-14
lines changed

README.text

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
.. contents::
2+
:depth: 3.0
3+
..
4+
15
MaxCDN is Hiring!
26
=================
37

48
Do you like building cool stuff? Do APIs keep you up at night? We're
59
looking for our next superstar hacker and you could be it. Interested?
610
Check out our job posting on
7-
`stackoverflow <http://careers.stackoverflow.com/jobs/37078/senior-web-engineer-for-fun-growing-la-startup-maxcdn&a=JdFbT4OY>`_.
11+
`stackoverflow <http://careers.stackoverflow.com/jobs/37078/senior-web-engineer-for-fun-growing-la-startup-maxcdn&a=JdFbT4OY>`__.
812

913
MaxCDN REST Web Services Python Client
1014
======================================
@@ -20,7 +24,7 @@ Installation
2024
Usage
2125
-----
2226

23-
::
27+
.. code:: python
2428

2529
from maxcdn import MaxCDN
2630

@@ -50,7 +54,7 @@ signed requests.
5054
We now have a shortcut for Purge Calls!
5155
---------------------------------------
5256

53-
::
57+
.. code:: python
5458

5559
zone_id = 12345
5660

@@ -63,18 +67,21 @@ We now have a shortcut for Purge Calls!
6367
# Purge Files
6468
api.purge(zone_id, ['/some_file', '/another_file'])
6569

66-
Every request can take an optional debug parameter. \`\`\`python
67-
api.get("/account.json", debug=True) # Will output # Making GET request
68-
to http://rws.netdna.com/myalias/account.json #{... API Returned Stuff
69-
...}
70+
Every request can take an optional debug parameter.
7071

71-
Every request can also take an optional debug\_json parameter if you
72-
don't like the exception based errors. api.get('/account.json',
73-
debug\_json=True) \`\`\`
72+
.. code:: python
73+
74+
api.get("/account.json", debug=True)
75+
# Will output
76+
# Making GET request to http://rws.netdna.com/myalias/account.json
77+
#{... API Returned Stuff ...}
78+
79+
Every request can also take an optional debug_json parameter if you don't like the exception based errors.
80+
api.get('/account.json', debug_json=True)
7481

7582
For more information about what optional parameters this methods accept
76-
you should check out `@kennethreitz <http://github.com/kennethreitz>`_
77-
library `Requests <https://github.com/kennethreitz/requests>`_.
83+
you should check out [@kennethreitz](http://github.com/kennethreitz)
84+
library `Requests <https://github.com/kennethreitz/requests>`__.
7885

7986
Initialization
8087
--------------
@@ -85,7 +92,7 @@ default initialization as the example above.
8592
For applications that require user authentication, you can initialize
8693
the API as follows.
8794

88-
::
95+
.. code:: python
8996

9097
api = MaxCDN("myalias", "consumer_key", "consumer_secret",
9198
token="user_token", token_secret="user_token_secret")
@@ -127,3 +134,4 @@ Running examples:
127134
./examples/report.py # [hourly|daily|monthly]
128135
./examples/purge.py # [zoneid]
129136

137+
:target: https://travis-ci.org/MaxCDN/python-maxcdn

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
options = {
55
"name": "maxcdn",
6-
"version": "0.0.6",
6+
"version": "0.0.7",
77
"description": "A Python REST Client for MaxCDN REST Web Services",
88
"author": "Joshua P. Mervine",
99
"author_email": "[email protected]",

0 commit comments

Comments
 (0)