-
-
Save filipsPL/d5a1b191a69ea6775ba2 to your computer and use it in GitHub Desktop.
gk logging via python script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import requests | |
payload = { | |
'secid': 'YourLongSecIdHere', | |
'nr': '2EJ3N3', | |
'formname': 'ruchy', | |
'logtype': '0', | |
'data': '2015-04-29', | |
'godzina': '12', | |
'minuta': '02', | |
'comment': 'Python script test v.00001', | |
'app': 'PyGK', | |
'app_ver': '0.0001dev', | |
'wpt': 'OP05E5' | |
} | |
r = requests.post( | |
"http://geokrety.org/ruchy.php", | |
data=payload) | |
print r.text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment