Commit 8bf31f5
authored
Development (#248)
* Refresh the OAuth token when it expires
* Fix my siliness and provide API consumers a way to provide their refresh token when using static auth
* add query from hatched eggs + rewrite stuff around EggPokemon
* fix the explaination for eclipse user
* Level enum public for custom loggers
* Publish sources jar
Fixes #128
* add license to GoogleLoginSecrets
* Use a reset instead of using another instance
* Fix the checkstyle config to not break other modules
* find Pokemon by ID
update inventory after hatching eggs
add missing license
* Meta info on pokemon
* add method the incubator
* fix typo
* Add a callback for when the Initial oAuth completes so that the app can automate the flow
* Power up pokemon API
* Add info about native google sign in
* REAME.md: fix Usefull->Useful typo
* README.md: fix PtcLogin classname type
* fix force updating inventories
* Fix incorrect static statements on point
* Added iv calculator (#207)
* Added iv calculator
* checkstyleMain fix
* Fix @returns in doc of getIVRatio()
* take care that the candies actually are in the map
* forgot that cancerous check style
* tweak checkstyle config to be friendly (#226)
* Add cause to LoginFailedExceptions. (#220)
Signed-off-by: Niklas Walter <walter.niklas@gmail.com>
* Remove printStackTrace from updateProfile (#221)
updateProfile, in case of failure, would dump stacktraces to the console and then crash in the next line with a NullPointerException
* Added request to add modifiers to forts, for example a lure-module on a pokestop (#217)
* implemented request to add fort modifier
* added @throws to javadoc for addModifier in Pokestop.java
* Added SetFavoritePokemon method (#222)
* add lombok to more objects (#212)
* add lombok to more objects
* add lombok to GoogleAuthJson
* add lombok to Team
* getItemsCount function (#224)
* get total space used by items
* get total space used by items
* add javadoc
* Rewrote and Refactored login logic. Now the credential providers transparently handle providing credentials and refreshing tokens.
* Update the protobuf dependency (#235)
Includes fix for hatched eggs IndexOutOfBoundsException
* WIP: Gym/Battle (#203)
* Add info about native google sign in
* fix force updating inventories
* REAME.md: fix Usefull->Useful typo
* README.md: fix PtcLogin classname type
* Start Gym + Battle API
* Battle API - Example included, utility functions to get state of battle. Can only spam attack right now.
* Deprecate pokemon.getFavorite, rename to pokemon.isFavorite (#230)
* deprecate getFavorite, rename to isFavorite
* Adhere to checkstyle
* Use gradle-wrapper instead (#200)
* Use gradle-wrapper instead
* Changed second gradle usage to use gradlew aswell
* Fix typos (#218)
* Fix UTF-8 encoding
* Fix typo recieved -> received
* fix example
* Consistently use RemoteServerException for network/server errors (#243)
* Redone meta pm, lots of info available, several enums for pokemon (some may be duplicates of proto enums), fix catchable pokemon (#246)
* fix #237 + #227 (#240)
* Update protobufs to latest version1 parent f21ab72 commit 8bf31f5
File tree
49 files changed
+7387
-872
lines changed- .github
- config
- gradle/wrapper
- src
- main/java/com/pokegoapi
- api
- gym
- inventory
- map
- fort
- pokemon
- player
- pokemon
- auth
- examples
- exceptions
- main
- util
- resources
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+7387
-872
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
63 | 72 | | |
64 | | - | |
| 73 | + | |
65 | 74 | | |
66 | | - | |
| 75 | + | |
67 | 76 | | |
68 | 77 | | |
69 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | | - | |
| 69 | + | |
| 70 | + | |
72 | 71 | | |
73 | | - | |
| 72 | + | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
| |||
149 | 148 | | |
150 | 149 | | |
151 | 150 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 151 | | |
157 | 152 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 153 | | |
164 | 154 | | |
165 | 155 | | |
| |||
174 | 164 | | |
175 | 165 | | |
176 | 166 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | 167 | | |
181 | 168 | | |
182 | 169 | | |
| |||
204 | 191 | | |
205 | 192 | | |
206 | 193 | | |
207 | | - | |
| 194 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
56 | | - | |
57 | 60 | | |
58 | 61 | | |
59 | | - | |
| 62 | + | |
60 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
61 | 71 | | |
62 | 72 | | |
63 | 73 | | |
64 | | - | |
65 | | - | |
| 74 | + | |
66 | 75 | | |
67 | 76 | | |
68 | 77 | | |
69 | 78 | | |
70 | 79 | | |
71 | 80 | | |
72 | 81 | | |
73 | | - | |
74 | 82 | | |
75 | 83 | | |
76 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
77 | 97 | | |
78 | 98 | | |
79 | 99 | | |
| |||
0 commit comments