Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

merge develop in master #218

Merged
merged 106 commits into from Nov 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
755167b
Removed pogodev protos
Ephemerality Nov 22, 2016
b1360f9
Switched to AeonLucid protos, updated for 0.47.1
Ephemerality Nov 22, 2016
1efba62
Fixes from proto switch
Ephemerality Nov 22, 2016
9913551
Removed manual definition of the pcrypt library
Ephemerality Nov 22, 2016
3d59dea
Initial update to app_simulation_login
Ephemerality Nov 22, 2016
01f9d7a
Quick fix to app_simulation_login
Ephemerality Dec 22, 2016
ad47402
Updated protos to 0.49.1
Ephemerality Dec 22, 2016
35ba886
Updated protos to 0.51
Ephemerality Dec 24, 2016
1d61126
Merge branch 'master' into develop
Ephemerality Dec 24, 2016
138391a
New HashEngine + 0.51 API (#169)
ZeChrales Dec 27, 2016
336b9cf
Update setup.py
ZeChrales Dec 27, 2016
a91db08
fix new protos uint64 / int64
ZeChrales Dec 27, 2016
b8cdc63
Fix protos for 0.51 (#170)
ZeChrales Dec 27, 2016
94b80d0
Change RequestEnvelope accuracy field to altitude
ZeChrales Dec 27, 2016
fe649b2
Fix a bug which occurs when altitude isn't set. Fixes #171.
Dec 28, 2016
bda461d
Merge pull request #172 from pogo-excalibur/player-alt-fix
Ephemerality Dec 28, 2016
da2dab5
Revert altitude back to accuracy
Noctem Dec 29, 2016
f6817a7
Revert altitude proto back to accuracy
Noctem Dec 29, 2016
c239ccf
Still use altitude for hashing
Noctem Dec 29, 2016
f60abdc
Updated the README to include setup instructions
pogo-excalibur Dec 29, 2016
48d3385
Fix serialization on Python 3
Noctem Dec 29, 2016
51d01fe
Create hash with accuracy again
Noctem Dec 29, 2016
30f2cdc
Updated hash endpoint
Ephemerality Dec 30, 2016
7b93894
Update 0.51 libs submodule
Noctem Dec 30, 2016
be7825b
Reuse request after endpoint redirect
Noctem Dec 30, 2016
7dfee36
Remove libniahash from 0.51
Noctem Dec 30, 2016
b19677f
hash_server fixes and improvements
Noctem Dec 30, 2016
b6c001d
Store hash server key information
Noctem Dec 30, 2016
a4df97a
Exception improvements
Noctem Dec 31, 2016
0b44fdc
Allow newer versions of dependencies
Noctem Sep 8, 2016
614b3e5
Remove xxhash from requirements.
Noctem Dec 5, 2016
aa83915
Create a new exception for hash server bans
Noctem Jan 3, 2017
d9cf901
Remove unnecessary exception catching
Noctem Jan 3, 2017
bd84a45
Use protobuf_to_dict module
Noctem Jan 3, 2017
9cc688d
Increase hashing connection poolsize
Noctem Jan 4, 2017
0b13191
Log response text on unexpected hashing responses
Noctem Jan 4, 2017
d5f846a
Merge pull request #176 from Noctem/protobuf_to_dict
Noctem Jan 10, 2017
8f741a8
Prevent updates to pre-release protobufs
Noctem Jan 14, 2017
7710dfa
PTC login improvements
Noctem Jan 17, 2017
9658d21
More exception handling
Noctem Jan 17, 2017
64014fb
Allow custom user agents for PTC login
Noctem Jan 18, 2017
62e500b
Distinguish between timeouts and other exceptions
Noctem Jan 18, 2017
c5f43c0
Bug fix, improvements
Noctem Jan 19, 2017
1c66756
0.53 updates c/o Noctem's fork
Ephemerality Jan 20, 2017
b4471bd
Updated protos to 0.53.1
Ephemerality Jan 20, 2017
6272493
Include new platform request type on GMO/GetPlayer requests
Ephemerality Jan 20, 2017
72507e1
Use enum values instead
Ephemerality Jan 20, 2017
eceb6e9
Merge pull request #179 from Noctem/ptc-improvement
Noctem Jan 21, 2017
a8ac6cf
Merge branch 'develop' into prt8
Noctem Jan 21, 2017
3cd8861
Improve platform request 8 code
Noctem Jan 21, 2017
8065664
Unify encryption libs
Noctem Jan 24, 2017
bf19386
Merge branch 'develop' into prt8
Noctem Jan 24, 2017
0c7a0a2
Add message to Plat8, cherry-picked from Noctem/pgoapi
Noctem Jan 25, 2017
99c4b55
Fixed path and variable name from merge
Ephemerality Jan 26, 2017
ee72ee8
Fix redundant requirements
Noctem Jan 26, 2017
404b015
Catch KeyError instead of using get()
Noctem Jan 28, 2017
0129225
Add key expiration time to status dict
Noctem Feb 1, 2017
26c8c01
Update protos to 0.55
Noctem Feb 2, 2017
f357146
Update API to 0.55
Noctem Feb 2, 2017
509963e
0.57.2
ZeChrales Feb 17, 2017
6054261
Update protos to 0.57.2
Noctem Feb 17, 2017
9dbb0d1
Update unk25 for 0.45. (#186)
sebastienvercammen Feb 24, 2017
6ae636b
0.57.3
ZeChrales Mar 1, 2017
e0a2e28
Merge pull request #175 from pogo-excalibur/update-readme
nullpixel Mar 7, 2017
cf158ee
0.57.4
ZeChrales Mar 7, 2017
49e958b
Fix hashing of some coordinates
Noctem Mar 16, 2017
f348c18
Add token to HashServer status
myntath Mar 15, 2017
829e302
oops, fixed typo
myntath Mar 15, 2017
440f09c
Added support for Google Two Factor Auth
ezcGman Mar 28, 2017
8f038d5
0.59.1
ZeChrales Apr 4, 2017
b9d7fef
update pycrypt to 0.5.0
ZeChrales Apr 4, 2017
4b92d36
Cruft removal
Noctem Apr 5, 2017
89d4cc0
Merge remote-tracking branch 'pogodevorg/develop' into develop
ezcGman Apr 7, 2017
5b03bc2
0.61.0
ZeChrales Apr 8, 2017
1689301
0.61 (#198)
sebastienvercammen Apr 8, 2017
4b0e067
quick fixes in new protos
ZeChrales Apr 8, 2017
4a023eb
Merge remote-tracking branch 'pogodevorg/develop' into develop
ezcGman Apr 10, 2017
7667d63
update pycrypt to 0.7.1 min
ZeChrales May 8, 2017
4d80d80
0.63.1
ZeChrales May 14, 2017
80b54ce
Merge remote-tracking branch 'pogodevorg/develop' into develop
ezcGman May 15, 2017
fbe1a26
Add option for return protobuf data instead of map2dict
Apr 19, 2017
1a77611
Fix PTC login User-Agent according to niico - fixes "No JSON" errors
sLoPPydrive Jun 14, 2017
78e79bd
Increased app_version for download_remote_config_version request to 6304
sLoPPydrive Jun 14, 2017
b8844ba
Merge remote-tracking branch 'pogodevorg/develop' into develop
ezcGman Jun 22, 2017
61434f9
0.67.1
ZeChrales Jun 24, 2017
9900dc7
Merge remote-tracking branch 'origin/develop' into develop
ZeChrales Jun 24, 2017
55a861c
Merge remote-tracking branch 'pogodevorg/develop' into develop
ezcGman Jun 24, 2017
a349c78
Added support for sending platform request (the response is not parsed)
friscoMad Jun 20, 2017
0a5967c
Remove extra white lines
friscoMad Jun 20, 2017
610ed0b
Added get api version to api
friscoMad Jul 3, 2017
6ce595d
Make version function static (#208)
friscoMad Jul 5, 2017
870f476
Merge remote-tracking branch 'pogodevorg/develop' into develop
ezcGman Jul 6, 2017
46d6e32
0.67.2
ZeChrales Jul 6, 2017
32f2280
Merge remote-tracking branch 'pogodevorg/develop' into develop
ezcGman Jul 6, 2017
cd87d55
0.69.0 (#214)
sebastienvercammen Jul 20, 2017
1f73bcb
Merge remote-tracking branch 'pogodevorg/develop' into develop
ezcGman Jul 20, 2017
8a826c5
Change 2FA check to use .get()
nullpixel Jul 21, 2017
78921f0
Merge pull request #213 from gman-php/develop
keyphact Jul 21, 2017
85abbb9
0.69.1
ZeChrales Aug 2, 2017
070ea4b
0.73.1
ZeChrales Sep 7, 2017
eee0cc0
0.75.0
ZeChrales Sep 25, 2017
52935a7
0.75.1
ZeChrales Oct 5, 2017
9078611
0.77.1
ZeChrales Oct 13, 2017
d18b159
0.79.3
ZeChrales Oct 22, 2017
93a423a
0.79.4
ZeChrales Nov 10, 2017
bf7d561
Merge branch 'master' into develop
ZeChrales Nov 30, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 1 addition & 10 deletions .gitignore
Expand Up @@ -87,12 +87,6 @@ Temporary Items
*.la
*.lo

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
Expand Down Expand Up @@ -122,8 +116,6 @@ __pycache__/
*.py[cod]
*$py.class

# C extensions

# Distribution / packaging
.Python
env/
Expand Down Expand Up @@ -223,8 +215,6 @@ ENV/
# Compiled Static libraries
*.lai

# Executables


### SublimeText ###
# cache files for sublime text
Expand Down Expand Up @@ -272,3 +262,4 @@ pip-selfcheck.json

### Node ###
node_modules
test.py
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

20 changes: 2 additions & 18 deletions .travis.yml
Expand Up @@ -3,27 +3,11 @@ language: python
python:
- "2.7"
- "3.5"
- "3.6"

install:
- sudo apt-get update

- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a

- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment

- pip install -r requirements.txt
- python setup.py install

script:
- true
- python -c 'import pgoapi'
2 changes: 0 additions & 2 deletions MANIFEST.in
@@ -1,6 +1,4 @@
recursive-include pgoapi *.py

global-exclude *.dll
global-exclude *.pyc
global-exclude *.pyo
global-exclude *.so
23 changes: 21 additions & 2 deletions README.md
Expand Up @@ -28,12 +28,31 @@ Documentation is available at the github [pgoapi wiki](https://wiki.pogodev.org)
* requests
* protobuf (>=3)
* gpsoauth
* s2sphere
* geopy (only for pokecli demo)
* s2sphere (only for pokecli demo)

## Contribution
## Use
To use this api as part of a python project using setuptools/pip, modify your requirements.txt file to include:
```
git+https://github.com/pogodevorg/pgoapi.git@develop#egg=pgoapi
```

If you are not using setuptools/pip, follow the instructions in the Contributing section below to clone this repository and then install pgoapi using the appropriate method for your project.

## Contributing
Contributions are highly welcome. Please use github or [Discord](https://discord.pogodev.org) for it!

You can get started by cloning this repository. Note that as pgoapi uses [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) you must perform a recursive clone:

| Protocol | Command |
| -------- | ------- |
| HTTPS | `git clone --recursive https://github.com/pogodevorg/pgoapi.git` |
| SSH | `git clone --recursive git@github.com:pogodevorg/pgoapi.git` |

If you already have a copy of the repository you can use `git submodule update --init` to fetch and update the submodules.

Once you have cloned the repository, switch to the `develop` branch. To merge your changes back into the main repository, make a pull request to `develop`.

## Credits
[Mila432](https://github.com/Mila432/Pokemon_Go_API) for the login secrets
[elliottcarlson](https://github.com/elliottcarlson) for the Google Auth PR
Expand Down
6 changes: 0 additions & 6 deletions config.json.example

This file was deleted.

53 changes: 0 additions & 53 deletions old-demo/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions old-demo/config.json.example

This file was deleted.