ambr

An async API wrapper for ambr.top written in Python.

GPL-3.0 License

Downloads
433
Stars
9

Bot releases are hidden (Show)

ambr -

Published by seriaati 10 months ago

1.4.1 - 2024-01-07

Bug Fixes

  • Remove html tags from MaterialDetail description - (2032516)
  • Remove html tags from FoodEffect description - (8ada1eb)

Documentation

Refactoring

  • [breaking]Change type of category in Item to str - (79b2a01)
ambr -

Published by seriaati 10 months ago

1.4.0 - 2024-01-05

Bug Fixes

  • Remove HTML tags from description of FurnitureSetDetail - (20be000)
  • Remove HTML tags from description of MonsterDetail - (52d9142)
  • MonsterReward, MonsterDetail, Monster icon urls - (7004d8d)
  • Remove html tags from result of fetch_readable - (134a9a1)
  • Fix CardTalent icon url - (ef6ab2c)

Features

  • Add various field validators to CardDictionary - (164d2dc)
  • [breaking]Change type of props in TCGCardDetail to dict - (b66e7a0)
  • Add id attribute to CardTalent and CardDictionary - (9e7b547)
  • Add sub_skills attribute to CardTalent - (7f50666)

Miscellaneous Chores

  • (deps) Bump attrs to v23.2.0 - (2d18446)

Refactoring

ambr -

Published by seriaati 10 months ago

1.3.0 - 2024-01-04

Bug Fixes

  • Fix furniture icons - (d6b267d)
  • Convert FurnitureRecipeInput icon - (bd0d306)
  • Fix living being icon URLs - (14943a5)
  • FIx tcg card icon - (9c17b78)
  • Export missing furniture set related models to __all__ - (ceaae26)

Features

  • Support furniture sets - (7be3dd1)
  • Add small_icon attribute to tcg cards - (abc0211)
ambr -

Published by seriaati 10 months ago

1.2.0 - 2024-01-02

Bug Fixes

  • Remove HTML tags in description of NamecardDetail - (bbffc5e)
  • Fix artifact icons not working - (5bf6ec6)

Features

  • Add gacha attribute to CharacterDetail - (25b201b)
  • Add picture attribute to Namecard and NamecardDetail - (2325581)
ambr -

Published by seriaati 10 months ago

1.1.0 - 2023-12-26

Documentation

Features

  • Add gacha attribute to Character - (4446301)

Miscellaneous Chores

  • (deps) update dependencies - (a766b7e)
  • (deps) Update dependencies - (a27417c)
  • (ruff) Make dev deps optional - (f17f0ea)
ambr -

Published by seriaati 11 months ago

1.0.2 - 2023-12-02

Documentation

  • Add use_cache parameter docs - (7c52685)

Miscellaneous Chores

  • (cliff) update git cliff config - (e4cb483)

Refactoring

  • Update cache directory path - (85e11c9)
ambr - v1.0.1

Published by seriaati 11 months ago

1.0.1 - 2023-12-02

Miscellaneous Chores

  • (cliff) merge cliff.toml into pyproject.toml - (07e17b3)
  • (cliff) update git cliff config - (e991e85)
  • add changelog file - (9df8c79)
ambr - v1.0.0

Published by seriaati 11 months ago

[1.0.0] - 2023-12-02

Bug Fixes

  • Data obtain issue
  • Typing issues
  • Import issues
  • Docstrings
  • Incorrect endpoint value
  • Fetch from value, not key
  • Character model
  • Food model
  • Card tag field
  • Package name
  • Not typing ItemCategory
  • Typo in fetch artifact set
  • Typo in test
  • Update story_id field to be optional in WeaponDetail model
  • Fix certain models
  • Fix data type assertion in test_fetch_readable
  • Fix variable name in character and add new field in weapon promote
  • Replace \n with \n
  • Fix cache not being used
  • Fix replace pronoun function

Features

  • Add client
  • Add models
  • Add fetch functions
  • Add DiceCost model
  • Add new models
  • Add pyproject.toml
  • Domain models
  • Tests
  • Run pytest with github actions
  • Change log model
  • Lang test
  • Upgrade data
  • Beta attr for Character and CharacterDeteail
  • Change log ItemCategory enum
  • DataNotFound exception
  • Update gh CI to use poetry
  • Add italian and turkish
  • Use same session across requests
  • Add fetch_manual_weapon method to AmbrAPI class
  • Add fetch_readable method
  • Add methods to fetch avatar and weapon curves
  • Add caching to API requests
  • Add CharacterFetter model and fetch_character_fetter method
  • Add pronoun replacement in character story

Miscellaneous Tasks

  • Add requirements.txt
  • Update gitignore
  • Remove ci
  • Bump to v0.1.1
  • Bump to v0.1.2
  • Bump to v0.1.3
  • Bump to v0.1.4
  • Bump to v0.1.5
  • Add git cliff config file
  • Bump to v1.0.0

Performance

  • Export only certain classes
  • Export selected classes only
  • Export selected classes only

Refactor

  • Replace pip with poetry
  • Change on event trigger from pull_request to push
  • Replace deprecated validator func with field_validator
  • Remove utils from init.py
  • Rename name_card to namecard
  • Rewrite tests with fixtures
  • Remove unused argument
  • Improve caching approach
  • Refactor model field validators
  • Replace try-except-pass with contextlib.suppress
  • Replace wildcard import with specific imports

Styling

  • Remove unused imports
  • Format code with black

Testing

  • Add test for character fetter

Modify

  • Change fetch function names
  • Rename ItemCategory AVATAR to CHARACTER