creditter.py 365 B

123456789101112131415
  1. from db0mb3r.services.service import Service
  2. class Creditter(Service):
  3. phone_codes = [7]
  4. async def run(self):
  5. await self.post(
  6. "https://api.creditter.ru/confirm/sms/send",
  7. json={
  8. "phone": self.format(self.formatted_phone, "+* (***) ***-**-**"),
  9. "type": "register",
  10. },
  11. )