EnkaNetwork.py icon indicating copy to clipboard operation
EnkaNetwork.py copied to clipboard

Library for fetching JSON data from site https://enka.network/ with Python

Results 10 EnkaNetwork.py issues
Sort by recently updated
recently updated
newest added

Please update as the Asia server now issues 10-digit UIDs.

Hello, please add Ukrainian lang to enkanetwork.py, it is already supported by the site

When executing the function `EnkaNetworkResponse.parse_obj(data)`, an unintended behavior was observed where the `icon` field type in the original `data` is being replaced with `IconAsset`. This issue is unexpected and should...

I know this can be a lot of work, but it would be enjoyable than the wrapper support latest update of enka.network, wich add Honkai Star Rail data

**Flawed Loop Logic** https://github.com/mrwan200/EnkaNetwork.py/blob/728f5ca42299c315f52993323e823f97c27c2dbf/enkanetwork/http.py#L121 When I set `RETRY_MAX` to 2, `tries` only gets assigned the values 0 or 1. ```python3 >>> RETRY_MAX = 2 >>> list(range(RETRY_MAX)) [0, 1] >>> ```...

**Description** I encountered a type error. ![20230906102735](https://github.com/mrwan200/EnkaNetwork.py/assets/46256932/9dbac9ec-ee4f-48c0-933b-77ccecb5185d) Upon reviewing the code, I found that `StaticCache` doesn't inherit from `Cache`. This seems to be the root cause of the type mismatch....

for some UIDs (including mine `uid=610976938`), I'm getting the error: ``` ValidationError(model='EnkaNetworkResponse', errors=[{'loc': ('owner', 'profile', 'level'), 'msg': 'value is not a valid enumeration member; permitted: 0, 1, 2', 'type': 'type_error.enum',...

Just as the title sad. When I used enkanetwork.py to get the information of 迪西雅,it catched some errors. ![image](https://github.com/mrwan200/EnkaNetwork.py/assets/105123341/34ea4be2-09c7-4d7e-b2d0-ddbfe9a19402) Was that my mistake?

Our hope is to create a base class that can gracefully catch exceptions thrown from the EnkaNetwork.py module ```python3 class EnkaNetworError(Exception): """Base class for EnkaNetwork errors.""" class NetworkError(EnkaNetworError): """Base class...

helpful

From issues https://github.com/mrwan200/EnkaNetwork.py/issues/29