import requests
session = requests.Session()
response = session.get(url='https://test.wikipedia.org/w/api.php', params={
  'action': 'edit',
  'title': 'User:Lucas Werkmeister (WMDE)/sandbox',
  'text': 'this is a test. hi',
})
print(response)
print(1)