Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Partial ZZZ Support #200

Merged
merged 11 commits into from
Jul 5, 2024
Merged

Conversation

seriaati
Copy link
Collaborator

@seriaati seriaati commented Jul 4, 2024

Summary

This PR will add support for Zenless Zone Zero.

Features

  • Code redemption
  • Daily check-in
  • Data Overview
  • Sticky notes (real-time notes)
  • My agents (characters)
  • My bangboo
  • Shiyu Defense

@seriaati seriaati linked an issue Jul 5, 2024 that may be closed by this pull request
@seriaati seriaati requested a review from omg-xtao July 5, 2024 01:20
@seriaati seriaati marked this pull request as ready for review July 5, 2024 01:20
@seriaati seriaati changed the title Add ZZZ Support Add Partial ZZZ Support Jul 5, 2024
@seriaati
Copy link
Collaborator Author

seriaati commented Jul 5, 2024

I've decided to add only partial support for now as I don't have enough progress in-game to add the remaining 3 features.

@omg-xtao
Copy link
Collaborator

omg-xtao commented Jul 5, 2024

user stats has buddy_list

class ZZZBaseBuddy(APIModel):
    """Base Buddy model."""

    id: int
    name: str
    rarity: typing.Literal["S", "A"]
    level: int
    star: int 
class ZZZUserStats(APIModel):
    """Zenless Zone Zero user model."""
    buddy_list: typing.Sequence[ZZZBaseBuddy]
    ...

@seriaati
Copy link
Collaborator Author

seriaati commented Jul 5, 2024

Yeah but I've got 0 buddies that's why I didn't add it. Thanks for the info.

@seriaati seriaati merged commit 21ccb3c into thesadru:dev Jul 5, 2024
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add daily rewards for ZZZ
2 participants