@@ -13,7 +13,7 @@ def __init__(self, api_key, api_password):
1313 'X-SIM-PASSWORD' : self .api_password
1414 }
1515
16- # https://docs-new .simpay.pl/python/?python#sms-pobieranie-listy-uslug
16+ # https://docs.simpay.pl/ pl/python/?python#sms-pobieranie-listy-uslug
1717 def get_service_list (self ):
1818 result = []
1919
@@ -43,13 +43,13 @@ def get_service_list_paginated(self, page=None, limit=None):
4343
4444 return r .json ()
4545
46- # https://docs-new .simpay.pl/python/?python#sms-pobieranie-informacji-o-usludze
46+ # https://docs.simpay.pl/ pl/python/?python#sms-pobieranie-informacji-o-usludze
4747 def get_service (self , service_id ):
4848 r = requests .get (self .url + '/' + service_id , headers = self .headers )
4949
5050 return r .json ().data
5151
52- # https://docs-new .simpay.pl/python/?python#sms-pobieranie-listy-transakcji
52+ # https://docs.simpay.pl/ pl/python/?python#sms-pobieranie-listy-transakcji
5353 def get_transaction_list (self , service_id ):
5454 result = []
5555
@@ -79,13 +79,13 @@ def get_transaction_list_paginated(self, service_id, page=None, limit=None):
7979
8080 return r .json ()
8181
82- # https://docs-new .simpay.pl/python/?python#sms-pobieranie-informacji-o-transakcji
82+ # https://docs.simpay.pl/ pl/python/?python#sms-pobieranie-informacji-o-transakcji
8383 def get_transaction (self , service_id , transaction_id ):
8484 r = requests .get (self .url + '/' + service_id + '/transactions/' + transaction_id , headers = self .headers )
8585
8686 return r .json ().data
8787
88- # https://docs-new .simpay.pl/python/?python#sms-pobieranie-dostepnych-numerow-dla-uslugi
88+ # https://docs.simpay.pl/ pl/python/?python#sms-pobieranie-dostepnych-numerow-dla-uslugi
8989 def get_service_numbers (self , service_id ):
9090 result = []
9191
@@ -115,13 +115,13 @@ def get_service_numbers_paginated(self, service_id, page=None, limit=None):
115115
116116 return r .json ()
117117
118- # https://docs-new .simpay.pl/python/?python#sms-informacji-o-pojedynczym-numerze-uslugi
118+ # https://docs.simpay.pl/ pl/python/?python#sms-informacji-o-pojedynczym-numerze-uslugi
119119 def get_service_number (self , service_id , number ):
120120 r = requests .get (self .url + '/sms/' + service_id + '/numbers/' + number , headers = self .headers )
121121
122122 return r .json ().data
123123
124- # https://docs-new .simpay.pl/python/?python#sms-pobieranie-wszystkich-dostepnych-numerow
124+ # https://docs.simpay.pl/ pl/python/?python#sms-pobieranie-wszystkich-dostepnych-numerow
125125 def get_numbers (self ):
126126 result = []
127127
@@ -151,14 +151,14 @@ def get_numbers_paginated(self, page=None, limit=None):
151151
152152 return r .json ()
153153
154- # https://docs-new .simpay.pl/python/?python#sms-pobieranie-pojedynczego-numeru-sms
154+ # https://docs.simpay.pl/ pl/python/?python#sms-pobieranie-pojedynczego-numeru-sms
155155
156156 def get_number (self , number ):
157157 r = requests .get (self .url + '/numbers/' + number , headers = self .headers )
158158
159159 return r .json ().data
160160
161- # https://docs-new .simpay.pl/python/?python#sms-weryfikacja-poprawnosci-kodu
161+ # https://docs.simpay.pl/ pl/python/?python#sms-weryfikacja-poprawnosci-kodu
162162
163163 def verify_sms_code (self , service_id , code , number = None ):
164164 body = types .SimpleNamespace ()
0 commit comments