1313
1414
1515class Api (object ):
16- """A python interface into the iland cloud API
16+ """A Python interface into the iland cloud API
1717 """
1818
1919 _client_id = None
@@ -155,8 +155,8 @@ def _do_request(self, rpath, verb='GET', form_data=None):
155155 return json_obj
156156
157157 def get (self , rpath ):
158- """ Perform a GET request agains the iland cloud API given its resource
159- path.
158+ """ Perform a GET request against the iland cloud API given its
159+ resource path.
160160
161161 `iland.Api` will refresh the access token if non valid.
162162
@@ -168,8 +168,8 @@ def get(self, rpath):
168168 return self ._do_request (rpath )
169169
170170 def put (self , rpath , form_data = None ):
171- """ Perform a PUT request agains the iland cloud API given its resource
172- path.
171+ """ Perform a PUT request against the iland cloud API given its
172+ resource path.
173173
174174 `iland.Api` will refresh the access token if non valid.
175175
@@ -182,8 +182,8 @@ def put(self, rpath, form_data=None):
182182 return self ._do_request (rpath , verb = 'PUT' , form_data = form_data )
183183
184184 def post (self , rpath , form_data = None ):
185- """ Perform a POST request agains the iland cloud API given its resource
186- path.
185+ """ Perform a POST request against the iland cloud API given its
186+ resource path.
187187
188188 `iland.Api` will refresh the access token if non valid.
189189
@@ -196,7 +196,7 @@ def post(self, rpath, form_data=None):
196196 return self ._do_request (rpath , verb = 'POST' , form_data = form_data )
197197
198198 def delete (self , rpath ):
199- """ Perform a DELETE request agains the iland cloud API given its
199+ """ Perform a DELETE request against the iland cloud API given its
200200 resource path.
201201
202202 `iland.Api` will refresh the access token if non valid.
@@ -211,8 +211,8 @@ def delete(self, rpath):
211211 def get_access_token (self ):
212212 """ Returns the access token in use for this session.
213213
214- This method is exposed in case you interested in managing the token
215- life cycle yourself. `iland.Api` will refresh the token on your
214+ This method is exposed in case you are interested in managing the
215+ token life cycle yourself. `iland.Api` will refresh the token on your
216216 behalf while performing queries.
217217
218218 :raises: UnauthorizedException: credentials / grants invalids
@@ -223,8 +223,8 @@ def get_access_token(self):
223223 def refresh_access_token (self ):
224224 """ Refresh token if token is not valid: None or expired.
225225
226- This method is exposed in case you interested in managing the token
227- life cycle yourself. `iland.Api` will refresh the token on your
226+ This method is exposed in case you are interested in managing the
227+ token life cycle yourself. `iland.Api` will refresh the token on your
228228 behalf while performing queries.
229229
230230 :raises: UnauthorizedException: credentials / grants invalids
@@ -235,8 +235,8 @@ def refresh_access_token(self):
235235 def login (self ):
236236 """ Requests an access token.
237237
238- This method is exposed in case you interested in managing the token
239- life cycle yourself. `iland.Api` will refresh the token on your
238+ This method is exposed in case you are interested in managing the
239+ token life cycle yourself. `iland.Api` will refresh the token on your
240240 behalf while performing queries.
241241
242242 :raises: UnauthorizedException: credentials / grants invalids
0 commit comments