585gold.py 609 B

123456789101112131415161718192021
  1. from db0mb3r.services.service import Service
  2. class Zoloto585(Service):
  3. phone_codes = [7]
  4. async def run(self):
  5. await self.post(
  6. "https://zoloto585.ru/api/bcard/reg/",
  7. json={
  8. "name": self.russian_name,
  9. "surname": self.russian_name,
  10. "patronymic": self.russian_name,
  11. "sex": "m",
  12. "birthdate": "11.11.1999",
  13. "phone": self.format(self.formatted_phone, "+* (***) ***-**-**"),
  14. "email": self.email,
  15. "city": "Москва",
  16. },
  17. )