liCN / ingrex_lib

A python lib for Google Ingress including intel api, message process, portal process, map process.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ingrex

A python lib for Google Ingress including all necessary functions you need to build a bot.

Support both Python 2 and 3.

This code was mainly written when I just learn Python few weeks and maybe outdated because I have no time to rewrite it, feel free to fork and improve it.

How to

Grab your cookies from Chrome F12 or Firefox and use the format like this:

SACSID=AAAA...AAAA; csrftoken=BBBB....BBBB; ingress.intelmap.shflt=viz; ingress.intelmap.lat=40.0000000000000; ingress.intelmap.lng=120.00000000000000; ingress.intelmap.zoom=16

You can copy the cookies with this format from Chrome's F12.

The comm.py shows how to write a simple COMM monitor.

The field.py shows how to write a simple Map infomation downloader.

LICENSE

The MIT License

Copyright (c) 2015 Daniel

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A python lib for Google Ingress including intel api, message process, portal process, map process.

License:MIT License


Languages

Language:Python 100.0%