Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Releases: iann838/django-cassiopeia

Release 2.1.1

04 Dec 21:04
e3e75e6
Compare
Choose a tag to compare
  • Fix breaking of match v5

2.1.0

30 Sep 16:30
83a171a
Compare
Choose a tag to compare

News

Starting version 2.1, django-cassiopeia will no longer contain cassiopeia in its modules, instead it will wrap you original cassiopeia framework with the necessary changes in place. This makes easy to get ahead of fixes of the main library without the need of me doing pararel updates, when cassiopeia updates a new version, you can get going by only upgrading cassiopeia with pip install cassiopeia --upgrade.

2.0.0

30 Jul 20:07
Compare
Choose a tag to compare

This package has finished its testing during v1.x.

New features.

  1. In response to issue #1 , a new datastore called Omnistone is introduced, it is a refined version of cassiopeia Cache that will protect you from memory issues and speeding up performance.

  2. A brand new documentation is added, no longer uses read the docs, this time is on github page and using VuePress for better styling.

Backward Incompatible Changes

  1. RIOT_API_KEY is now CASSIOPEIA_RIOT_API_KEY. This is due to a possible variable name conflict, since you might have different API keys for different games (yes I am looking at you Valorant).

  2. CASSIOPEIA_GLOBAL has splitted into CASSIOPEIA_VERSION_FROM_MATCH and CASSIOPEIA_DEFAULT_REGION because the settings is global but wasn't global visually.

  3. CASSIOPEIA_DJANGO_CACHES is merged back to CASSIOPEIA_PIPELINE, because .. it's starting to be hard to maintain. When Omnistone was created, an issue came up that it's limiting the flexibility of the pipeline, and makes confusions. Now you specify everything inside CASSIOPEIA_PIPELINE since expirations is now shorten (a lot), so it won't be large neither. Check out the example at the end of Setup Pipeline.

Other Changes

  1. Now arguments keys can be all uppercase to fit into the Django settings syntax (e.g. instead of "expirations_map" now can be "EXPIRATIONS_MAP").

1.1.0

10 Jul 16:00
Compare
Choose a tag to compare

Changes in 1.1.0

  • Shorten the Django settings for handling Riot API request errors (in a 1:3 ratio), check out the documentation for its new syntax (Ctrl F5 to clean reload in case your brower loads the cached page).
  • Moved out the entire setting mapping logic to a separate file for better maintainance, mainly _cassiopeia.settings.py -> django_cassiopeia.utils.py.

1.0.0

07 Jul 21:07
Compare
Choose a tag to compare

First Release of Django Cassiopeia

An Integration of Cassiopeia to the Django Framework (Compatible with DRF) including more new features.

Cassiopeia itself is a Python adaptation of the Riot Games League of Legends API (https://developer.riotgames.com/). For instance it is also the sister library to Orianna (Java). It's been designed with usability in mind - making sure all the bookkeeping is done right so you can focus on getting the data you need and building your application.

Documentation

Django Cassiopeia has detailed documentation.
For functions and methods of Cassiopeia is found is this documentation

Installation and Requirements

Django>=3.0.1
Python>=3.6

pip install django-cassiopeia

Quick Start and/or Setup for your Django Project

  • Please check out the things that you should NOT do when using django-cassiopeia in this page
  • For setup in your Django environment, follow the setup instructions in django-cassiopeia's documentation
  • A Quick Start is also provided on django-cassiopeia's documentation
  • Taking in mind the instruction above, for all the methods and function of cassiopeia is found in this documentation