ollis.py 345 B

12345678910111213
  1. from db0mb3r.services.service import Service
  2. class Ollis(Service):
  3. async def run(self):
  4. await self.post(
  5. "https://www.ollis.ru/gql",
  6. json={
  7. "query": 'mutation { phone(number:"%s", locale:ru) { token error { code message } } }'
  8. % self.formatted_phone
  9. },
  10. )