@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
41
41
42
42
@property
43
43
def api_user_key (self ):
44
- """This is where the api_user_key is stored after calling :func:`creatAPIUserKey `
44
+ """This is where the api_user_key is stored after calling :func:`createAPIUserKey `
45
45
46
46
:returns: str -- the api_user_key
47
47
@@ -148,7 +148,7 @@ def __processPost(self, url, data):
148
148
149
149
return response
150
150
151
- def creatAPIUserKey (self , api_user_name , api_user_password ):
151
+ def createAPIUserKey (self , api_user_name , api_user_password ):
152
152
"""This is used to request an *api_user_key* which can be used to create a paste as a logged in user
153
153
154
154
:param api_user_name: this is the pastebin.com username
@@ -184,7 +184,7 @@ def listUserPastes(self, api_results_limit=50):
184
184
185
185
.. note::
186
186
187
- Need to call the :func:`creatAPIUserKey ` first before calling this function
187
+ Need to call the :func:`createAPIUserKey ` first before calling this function
188
188
Pastes list will be stored to the private variable *__api_user_paste_list* and can be retrieve by the property *api_user_key*
189
189
190
190
"""
@@ -308,7 +308,7 @@ def deletePaste(self, api_paste_key):
308
308
309
309
.. note::
310
310
311
- Before calling this function, you need to call the :func:`creatAPIUserKey ` first then call the :func:`listUserPastes`
311
+ Before calling this function, you need to call the :func:`createAPIUserKey ` first then call the :func:`listUserPastes`
312
312
313
313
"""
314
314
postData = {
@@ -337,7 +337,7 @@ def getUserInfos(self):
337
337
338
338
.. note::
339
339
340
- You need to call the :func:`creatAPIUserKey ` before calling this function
340
+ You need to call the :func:`createAPIUserKey ` before calling this function
341
341
342
342
"""
343
343
0 commit comments