Skip to main content

battlerite telemetry parser

Project description


Warhound
========

Battlerite API telemetry parser.


Introduction
-----------


The "telemetry" is a per-match file served over HTTP by Stunlock Studios. It
contains detailed events about what occurs in each round of a match--much more
detail than is exposed via the `Battlerite API <https://developer.battlerite.com>`_.

To get a match telemetry file, you will need a URL located in the "match
details" response body. You can interact with the API using a library like
`furrycorn <https://github.com/odeumgg/furrycorn>`_.

Once you obtain the URL for the match telemetry, use this library to parse it.

The parsed result is a structured object model of telemetry data, rendering it
much easier to find the data you need.


Wiki
----

We're using the `wiki <https://github.com/odeumgg/warhound/wiki>`_ to document
warhound. Feel free to make contributions.


Installation
------------

``pip install warhound`` should do it for your projects.


Development
-----------

Requirement setup should be a breeze using `pipenv <https://docs.pipenv.org/>`_.

If you're using `nixos <https://nixos.org>`_, simply boot a ``nix-shell`` in the
project directory to get a development shell.

For the rest of the world:

1. Clone the directory and navigate to your local repo in a command line.
2. ``pipenv install --three``
3. ``pipenv shell``

For development, make sure ``PYTHONPATH`` includes the project root. Run tests
with ``py.test``.

Please submit changes by pull request on an *aptly named topic branch*.


Code Style
----------

The author of this library prefers a functional style of coding which centers
on "types". It's a lot easier to reason about types than logical steps, and
given the highly structured nature of jsonapi, it felt like a good fit.

Feel free to message with any questions you have. I'm happy to help and explain.


License
-------

This project is Copyright © 2018 odeum.gg and licensed under the MIT license.
View `the license <https://github.com/odeumgg/warhound/blob/master/LICENSE>`_
for details.



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

warhound-0.8.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

warhound-0.8.2-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file warhound-0.8.2.tar.gz.

File metadata

  • Download URL: warhound-0.8.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for warhound-0.8.2.tar.gz
Algorithm Hash digest
SHA256 6a28db39aa95ec3bd7607ee4eca26de6c455778362f83c19b17b3612903df25c
MD5 4b0b6b385e9085807704078571e0d5b1
BLAKE2b-256 eefe582d072eca2b7cd0b50f30f497151e6256fe3292ecfeb6c1d1b915915d16

See more details on using hashes here.

File details

Details for the file warhound-0.8.2-py3-none-any.whl.

File metadata

File hashes

Hashes for warhound-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ab1a5d29100f2a4991765b849653a6d4f73e943e2a0ff326bd6652f1d8fa8a7f
MD5 b1e417ac65c97363fca119b3189bdd18
BLAKE2b-256 d27551249b5bdbf351503823c502a5558d62e12bb5a05c461d74852d4142a31b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page