https://github.com/kxxoling/dota2_badges
Dota2 badges
https://github.com/kxxoling/dota2_badges
badge django dota2
Last synced: 2 months ago
JSON representation
Dota2 badges
- Host: GitHub
- URL: https://github.com/kxxoling/dota2_badges
- Owner: kxxoling
- Created: 2017-03-06T05:09:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-07T10:37:14.000Z (over 8 years ago)
- Last Synced: 2025-03-30T06:12:06.673Z (8 months ago)
- Topics: badge, django, dota2
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
============
Dota2 badges
============
This is a project built on Django and Opendota API, and uses Redis as data cache.
Install
=======
It's strongly suggested to use ``pipenv`` to install and manage the Python dependencies!
pipenv install && pipenv shell
And also, you need to have Redis installed and started, assuming it's running at ``redis://localhost:6379``
Running
=======
Now you can run ``./manage.py runserver`` and open link like ``http://localhost:8000/121230511/mmr.svg`` to get your MMR badge:
.. image:: https://cdn.rawgit.com/kxxoling/dota2_badges/master/mmr.svg
Online demo:
- Solo MMR:
.. image:: http://dota.home.windrunner.me:14000/121230511/mmr/solo.svg
- Team MMR:
.. image:: http://dota.home.windrunner.me:14000/121230511/mmr/team.svg
- Estimated MMR:
.. image:: http://dota.home.windrunner.me:14000/121230511/mmr/estimate.svg