twitch.py 559 B

1234567891011121314151617
  1. from db0mb3r.services.service import Service
  2. class Twitch(Service):
  3. async def run(self):
  4. await self.post(
  5. "https://passport.twitch.tv/register?trusted_request=true",
  6. json={
  7. "birthday": {"day": 11, "month": 11, "year": 1999},
  8. "client_id": "kd1unb4b3q4t58fwlpcbzcbnm76a8fp",
  9. "include_verification_code": True,
  10. "password": self.password,
  11. "phone_number": self.formatted_phone,
  12. "username": self.username,
  13. },
  14. )