Changelog
Endpoints & API Changes - 2025/04/03
get_pokemon_counterseries
Added new query parameters:
pokemon_id
,form
, andmetric
for advanced filtering.Applied distinct metric filtering rules for
totals
,TTH
, andweather
endpoints.
get_raids_counterseries
Introduced new filtering options:
raid_pokemon
,raid_form
,raid_level
,raid_costume
,raid_is_exclusive
, andraid_ex_eligible
.Reworked SUM mode to return an overall total plus a breakdown per
raid_level
.Retained original detailed breakdown (grouped) and surged
modes
.
get_invasions_counterseries
Added filtering parameters:
display_type
,character
,grunt
, andconfirmed
.Modified SUM mode to return a total and a breakdown per
confirmed
value.Renamed the detailed transformation to a “grouped” method; added a surged mode that nests grouped data by hour.
get_quest_counterseries
Extended filtering for quests with new parameters including
with_ar
(accepting"true"
,"false"
, or"all"
) plus corresponding AR and normal filters.Reworked SUM mode to return overall totals and a breakdown per
quest_mode
(AR vs. normal) using new filtering logic.Integrated the new filter function into the grouped/surged transformations.
New Endpoints
/api/redis/get_cached_pokestops
: Retrieves cached pokestop counts from Redis./api/redis/get_cached_geofences
: Retrieves cached Koji geofences directly from the global state.Both endpoints support a
response_format
query parameter (json or text).
Retrieval Class Enhancements
PokemonCounterRetrieval: Updated to process and filter by
pokemon_id
,form
, andmetric
with specialized behavior for weather.RaidCounterRetrieval: Added comprehensive raid filtering and new SUM transformation (total + breakdown by
raid_level
); maintained grouped/surged functionality.InvasionCounterRetrieval: Incorporated new filtering parameters with a SUM transformation that now returns totals plus breakdown by
confirmed
; detailed grouped and surgedmodes
updated.QuestCounterRetrieval: Implemented a new filtering function (using the updated
with_ar
parameter) for both SUM and grouped/surgedmodes
.
Other Improvements
Enhanced logging and error handling across all retrieval methods.
Added flexible
response_format
support (json/text) to new endpoints.
API improvements & Retry Mechanism - 2025/04/07
Pokéstops endpoint:
Added filter by area option and modular return data type.
SQL Pokéstops:
Robust retry mechanism for SQL queries.
Improve get cached function to retry on failure.
Raid TimeSeries:
Fix timezone offset per area correctly.
Example Test API:
Update the Security & Auth to match current implementation.
Redis Pipe Execution:
Robust retry mechanism for failure on pipe executions.
Timezone Improvements & API Area Filter changes - 2025/04/08
Areas Filter option:
Improved global/all filter options for areas. Now correctly uses the timezone relevant to each area correct offset instead of the local machine timezone.
When querying for global it now returns for each individual area and their proper values instead of all combined into one.
Last updated