Releases: DEViantUA/StarRailCard
Version 2.2.0
This update takes Star Rail Card to the next level!!
Added support:
-
EnkaNetwork Build - Allows you to get all your assemblies from the EnkaNetwork website
-
HoYoLab API - Gives you the opportunity to get ALL your characters
-
Added the ability to set a custom image for each build.
-
Added the ability to work with all currently available APIs
-
The result of the work received new arguments
-
Added additional main class.
-
Added new function for getting assemblies.
-
Improved work with API - Now this is not only the best module for generating cards, but also an excellent wrapper for all APIs
-
Added a dependency on genshin.py if you want to use the HoYoLab API
At the moment the code looks a little terrible and there is also a lack of documentation, but this will be fixed soon
Now I’ll tell you about the update: Added support for all APIs, all API capabilities, sorting, selection, etc. have not yet been added, this is just a beta version, so to speak, but this is already progress, as I think, I did a lot of work, especially with the work of the HoYoLab API, it took more than a month of work, I didn’t have time for documentation, in the next update I’m going to rewrite 50% of the code to optimize it and speed it up even more!
But now I want to work on the EnkaCard module, there are many proposals for improving it, and a new template is being prepared for it
Support the project::
- Patreon: https://www.patreon.com/deviantapi
- Ko-Fi: https://ko-fi.com/dezzso
- GitHub: https://github.com/DEViantUA/StarRailCard
Version 2.1.9
Added:
- EnkaApi support - Now you can receive data from Enka and not from MiHoMo.
- Added the ability to set your own color settings for the character. Example
In the future we plan to add:
- Support for converting Enka.py data from Seria to generate cards.
- Full API wrapper for both postals
Version 2.1.8
New:
Version: 2.1.8
- Added new card style:
3
- Corrected function names.
- Added more settings for styles in the
style.py
file
Support the project::
- Patreon: https://www.patreon.com/deviantapi
- Ko-Fi: https://ko-fi.com/dezzso
- GitHub: https://github.com/DEViantUA/StarRailCard
New V2.1.6
New:
- The main
Card()
class received new arguments:
boost_speed
- Loads character assets onto the device, which speeds up subsequent card generation.api_data
- The data was obtained usingApiMiHoMo().get()
, you can also get it on your side and assemble it into a model:MiHoMoApi
user_agent
- Custom User-Agent.proxy
- Useful if your IP is blocked or you do not have access to the address, as for example, my access topixiv
is sometimes blocked.
In addition, some functions have received updates in their operation.
Support the project::
- Patreon: https://www.patreon.com/deviantapi
- Ko-Fi: https://ko-fi.com/dezzso
2.0.4
2.0.0
Release Version 2.0.0:
I finally finished working on version 2.0.0. This version has a lot of changes, both in the code structure and in the way the code works.
Changes:
- Only 2 templates left.
- Template 2 received score support
- Templates are now called Styles
- The weight of the module has been reduced.
- Added utils functions
- Changed the style for the profile.
- Added the ability to remove the logo from the results.
- Added the ability to configure the cache.
- Now the cache is the same for the entire module.
- Working with the API is built into the module.
- Added support for pydantic v2.0.0 and higher
- Added the ability to work and create animated cards.
- Assets can be downloaded to the device.
- Added the ability to update user data using Primus.
- A LICENSE OF USE has been added, PLEASE READ IT: HERE
- Complete documentation with examples has been written: HERE
- Many additional features have been added to make your development easier.
- In the future, it is planned to add an argument that allows you to change any style parameter.
- Add new styles.
- Add models and work with the Score calculator.
BETA VERSION STAR RAIL CARD V2
This version is completely rewritten from 0, only the best templates are left and changed!
API Update
API updated:
- The domain has changed.
- Added additional 2 endpoints.
- Added the ability to create your own profile page.
get_profile
- Will create/update data and return a link to the player's profile,profile
- Link to user profile as a website. (Can be generated via the get_profile method)
♥ Thanks for your help with the code: @jokelbaf
♥ Thanks for the idea and the code example provided: @LogCreative
Version 1.2.6
New:
- Template 2 - Removed.
- Created from 0 and written from 0 new template 2.
- New function and formula for calculating the score and rating of relics.
Fix:
- Fixed 1 template.
While writing the code for template 2, I realized that starrailcard is outdated in code and needs to be completely rewritten, at least to the level of EnkaCard 3.0.0, but this will happen after the release of Honkai Star Railill 2.0
API
Many people have asked if my module is available in other languages and my answer has always been the same: No, my designs are only for Python but now you can use the API to get these cards in other programming languages!
Today I wrote an API that generates cards and returns you the same result as the module.
Read more: Documentation