dixy.py 631 B

12345678910
  1. from db0mb3r.services.service import Service
  2. class Dixy(Service):
  3. async def run(self):
  4. await self.post(
  5. "https://loyalty-api.dixy.ru//api/v1/users/register",
  6. headers={"appinfo": "eyJhcHBfdmVyc2lvbiI6IjIuMi4yKzMyMCIsImRldmljZSI6ImFuZHJvaWQiLCJkZXZpY2VfaWQiOiIyZGQ5YmZjZmUxOGMyMjYyIiwib3NfdmVyc2lvbiI6InNkazoyOCJ9",
  7. "dixy-api-token": "7b2f81beb3bc53c95ea7074b9be34b14ca1cb9e0aad355d9be3defb7df54072a64f172051582b9276db166c18c4f410ca21ca603f04e3765c971f590fb7b0c5d"},
  8. json={"user": {"phone": self.formatted_phone, "platform": "android", "sms_hash": "EnLcVjUZitT", "loyalty_region_id":"1"}}
  9. )