TodoLodo / cod-python-api

Call Of Duty API Library for python
https://cod-python-api.todolodo.xyz
GNU General Public License v3.0
54 stars 16 forks source link

Retrieving full data using Activision platform does not find user. (Any COD Game) #9

Closed kilgoreandy closed 1 year ago

kilgoreandy commented 1 year ago

This is a valid Activision account, (I tried a few more Activision accounts and they also did not work) I of course can go the playstation route and retrieve the data that way, however the Activision un is more universal and reliable

Reproduction code: import asyncio

from cod_api import API, platforms async def main():

initiating the API class

api = API()
api.login('haha')

# retrieving combat history
profile = await api.ColdWar.fullData(platforms.Activision, "ARKillsZombies#6873354") # returns data of type dict
# printing results to console
print(profile)

asyncio.run(main())

Console Output

{'status': 'error', 'data': {'type': 'com.activision.mt.common.stdtools.exceptions.NoStackTraceException', 'message': 'Not permitted: user not found'}}

TodoLodo commented 1 year ago

Hey @kilgoreandy

Thanks for mentioning this issue, we have faced this issue during our recent test runs, our dev team is working on fixing it, hopefully it wont take long and if any further issues may rise feel free to mention them here

Thanks

Engineer152 commented 1 year ago

This issue has been resolved in the latest version. All Activision IDs will now map correctly.