@@ -4,7 +4,6 @@ axosoft-python
44[ ![ Coverage Status] ( https://img.shields.io/coveralls/ckaznocha/axosoft-python.svg )] ( https://coveralls.io/r/ckaznocha/axosoft-python?branch=master )
55[ ![ Code Health] ( https://landscape.io/github/ckaznocha/axosoft-python/master/landscape.png )] ( https://landscape.io/github/ckaznocha/axosoft-python/master )
66[ ![ Stories in Ready] ( https://badge.waffle.io/ckaznocha/axosoft-python.svg?label=ready&title=stories+ready )] ( http://waffle.io/ckaznocha/axosoft-python )
7- [ ![ Stories in Progress] ( https://badge.waffle.io/ckaznocha/axosoft-python.svg?label=in+progress&title=stories+in+progress )] ( http://waffle.io/ckaznocha/axosoft-python )
87[ ![ License] ( http://img.shields.io/:license-mit-blue.svg )] ( http://ckaznocha.mit-license.org )
98
109An unofficial Python module for the Axosoft (formerly OnTime) API.
@@ -66,7 +65,7 @@ An unofficial Python module for the Axosoft (formerly OnTime) API.
6665 Once they have authenticated they will be forwarded to the URL you provided.
6766 Exchanged to code for a token by passing the code and the redirect_uri to complete_authentication_by_code().
6867 """
69- code = " query_string[ " code " ] "
68+ code = code_from_redirect_url
7069
7170 token = self .axosoft_client.complete_authentication_by_code(
7271 code,
@@ -101,7 +100,7 @@ An unofficial Python module for the Axosoft (formerly OnTime) API.
101100 The second argument is optionally the ID of a specific resource
102101 The third argument is optionally a dictionary of parameters
103102 """
104- r = axosoft_client.get(' releases' , r[' id' ])
103+ r = axosoft_client.get(' releases' , r[' data ' ][ ' id' ])
105104
106105 """
107106 Update a release
@@ -110,7 +109,7 @@ An unofficial Python module for the Axosoft (formerly OnTime) API.
110109 The second argument is the ID of the resource you are updating
111110 The third arguments is a dictionary containing all the fields of your resource
112111 """
113- r = axosoft_client.update(' releases' , r[' id' ], payload = {' name' : ' testRelease' , ' release_type' : {' id' : 1 }})
112+ r = axosoft_client.update(' releases' , r[' data ' ][ ' id' ], payload = {' name' : ' testRelease' , ' release_type' : {' id' : 1 }})
114113
115114 """
116115 Delete a release
@@ -119,7 +118,7 @@ An unofficial Python module for the Axosoft (formerly OnTime) API.
119118 The second argument is the ID of the resource you want to delete
120119 Returns true if the delete was successful
121120 """
122- r = self .axosoft_client.delete(' releases' , r[' id' ])
121+ r = self .axosoft_client.delete(' releases' , r[' data ' ][ ' id' ])
123122
124123 ````
125124
0 commit comments