A django app to gather information from game servers.
Project description
.. image:: https://travis-ci.org/Azelphur-Servers/django-game-info.svg?branch=master
:target: https://travis-ci.org/Azelphur-Servers/django-game-info
.. image:: https://coveralls.io/repos/Azelphur-Servers/django-game-info/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/Azelphur-Servers/django-game-info?branch=master
.. image:: https://requires.io/github/Azelphur-Servers/django-game-info/requirements.svg?branch=master
:target: https://requires.io/github/Azelphur-Servers/django-game-info/requirements/?branch=master
:alt: Requirements Status
=====
django_game_info
=====
django_game_info is a Django app to collect data from game servers
that respond to the A2S protocol defined at https://developer.valvesoftware.com/wiki/Server_queries
Examples of servers that follow this protocol include::
- Team Fortress 2
- Counter Strike: Source
- Counter Strike: Global Offensive
the module provides a json feed which you can use to display lots
of information about your servers, perfect to put in your sites
sidebar.
Quick start
-----------
1. Install with `pip install django-game-info`
2. Add "game_info" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'game_info',
]
3. Include the game_info URLconf in your project urls.py like this
url(r'^game_info/', include('game_info.urls')),
4. Run `python manage.py migrate` to create the models
5. Start the development server and visit http://127.0.0.1:8000/admin
to add some servers (you'll need the Admin app enabled)
6. Run `python manage.py update_game_info` to gather information from
your game server(s)
7. Visit http://127.0.0.1:8000/game_info/ to see a JSON feed of the
gathered information
:target: https://travis-ci.org/Azelphur-Servers/django-game-info
.. image:: https://coveralls.io/repos/Azelphur-Servers/django-game-info/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/Azelphur-Servers/django-game-info?branch=master
.. image:: https://requires.io/github/Azelphur-Servers/django-game-info/requirements.svg?branch=master
:target: https://requires.io/github/Azelphur-Servers/django-game-info/requirements/?branch=master
:alt: Requirements Status
=====
django_game_info
=====
django_game_info is a Django app to collect data from game servers
that respond to the A2S protocol defined at https://developer.valvesoftware.com/wiki/Server_queries
Examples of servers that follow this protocol include::
- Team Fortress 2
- Counter Strike: Source
- Counter Strike: Global Offensive
the module provides a json feed which you can use to display lots
of information about your servers, perfect to put in your sites
sidebar.
Quick start
-----------
1. Install with `pip install django-game-info`
2. Add "game_info" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'game_info',
]
3. Include the game_info URLconf in your project urls.py like this
url(r'^game_info/', include('game_info.urls')),
4. Run `python manage.py migrate` to create the models
5. Start the development server and visit http://127.0.0.1:8000/admin
to add some servers (you'll need the Admin app enabled)
6. Run `python manage.py update_game_info` to gather information from
your game server(s)
7. Visit http://127.0.0.1:8000/game_info/ to see a JSON feed of the
gathered information
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-game-info-0.1.3.tar.gz
.
File metadata
- Download URL: django-game-info-0.1.3.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c9e68af4538d74641132108c4b58f76b8f94019e19869bee30e9020d4dd048b |
|
MD5 | ace8909f6368140c8356459d6748bbd6 |
|
BLAKE2b-256 | 94044cfc464f7ee409460fe31912ce54cea864d43ab5ebed2e9d2f8dd0347428 |