# Programmatic access to Statistics?

**URL:** <https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258>\
**Category:** Warcraft Logs\
**Created:** [April 8, 2016, 6:04pm UTC](https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258 "2016-04-08T18:04:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![skribbl](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@skribbl](https://forums.combatlogforums.com/u/skribbl)\
**Post date:** [April 8, 2016, 6:04pm UTC](https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258/1 "2016-04-08T18:04:32Z")

</div>

Is there any way to get heals, DPS, damage done on mobs, etc programatically?

We’re trying to do some custom ranking/analysis, and in order to do so we’d like to get all of the data into spreadsheets without having to manually input it or import a CSV by hand.

I see the v1 experimental API, but it’s not clear if I can get at actual statistics using it, and I don’t see a way to grab the CSV exports that looks ‘condoned.’

---

<div class="post-metadata">

**Author:** ![Kihra](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/kihra/32/1116_2.png) [@Kihra](https://forums.combatlogforums.com/u/Kihra)\
**Post date:** [April 8, 2016, 6:17pm UTC](https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258/2 "2016-04-08T18:17:48Z")

</div>

I have not exposed report analysis pages to the API. Part of my concern about doing so is that - unlike rankings - the report analysis section has changed completely with each expansion, i.e., stats looked very different in MoP vs. WoD. Legion is also likely going to look very different with the advent of gear and talents in the combat log.

An API would potentially “lock me in” to the current feature set and create headaches when the format changed.

---

<div class="post-metadata">

**Author:** ![skribbl](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@skribbl](https://forums.combatlogforums.com/u/skribbl)\
**Post date:** [April 8, 2016, 6:27pm UTC](https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258/3 "2016-04-08T18:27:53Z")

</div>

Wow, thanks for the quick response. Makes sense.

What do you think about something simple like:

[https://www.warcraftlogs.com/reports/zN7t2yBjCwvfhWL1#type=damage-taken&sourceclass=Any&output=csv](https://www.warcraftlogs.com/reports/zN7t2yBjCwvfhWL1#type=damage-taken&sourceclass=Any&output=csv)

That would just spit out the CSV for any tables in the page?

---

<div class="post-metadata">

**Author:** ![Sedon](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@Sedon](https://forums.combatlogforums.com/u/Sedon)\
**Post date:** [August 1, 2016, 9:38pm UTC](https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258/4 "2016-08-01T21:38:05Z")

</div>

I also would like access to just the DPs or hps values from a report. I hope it’s soon!

---

<div class="post-metadata">

**Author:** ![Kihra](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/kihra/32/1116_2.png) [@Kihra](https://forums.combatlogforums.com/u/Kihra)\
**Post date:** [August 2, 2016, 10:02pm UTC](https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258/5 "2016-08-02T22:02:40Z")

</div>

Damage, healing, casts and summons tables are now in the API.

[https://www.warcraftlogs.com/v1/docs#!/Report/report\_tables\_view\_code\_get](https://www.warcraftlogs.com/v1/docs#!/Report/report_tables_view_code_get)

---

<div class="post-metadata">

**Author:** ![Sedon](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@Sedon](https://forums.combatlogforums.com/u/Sedon)\
**Post date:** [August 2, 2016, 10:49pm UTC](https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258/6 "2016-08-02T22:49:53Z")

</div>

Thank you so much!

---

<div class="post-metadata">

**Author:** ![Sedon](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@Sedon](https://forums.combatlogforums.com/u/Sedon)\
**Post date:** [August 4, 2016, 5:28pm UTC](https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258/7 "2016-08-04T17:28:52Z")

</div>

Hey guys. Am I just missing something here or is there no way to filter out only boss kill dps? I can get at wipes only it seems, and I can get total. I can even get the difference between the two and go that route, but it’s not good for getting effective dps…only active.

Thanks!

---

<div class="post-metadata">

**Author:** ![Kihra](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/kihra/32/1116_2.png) [@Kihra](https://forums.combatlogforums.com/u/Kihra)\
**Post date:** [August 4, 2016, 6:07pm UTC](https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258/8 "2016-08-04T18:07:46Z")

</div>

I’m not sure exactly what you’re trying to get. The “fights” request gives you a map effectively of the start/end times of fights, what bosses they were, and whether or not they were kills. If you want the DPS for a specific fight, just pass in that fight’s start and end times.

---

<div class="post-metadata">

**Author:** ![Kihra](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/kihra/32/1116_2.png) [@Kihra](https://forums.combatlogforums.com/u/Kihra)\
**Post date:** [August 4, 2016, 6:22pm UTC](https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258/9 "2016-08-04T18:22:35Z")

</div>

It sounds like you may just be wanting to get the rankings from a report. There is no API for that yet.

---

<div class="post-metadata">

**Author:** ![Sedon](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@Sedon](https://forums.combatlogforums.com/u/Sedon)\
**Post date:** [August 4, 2016, 6:28pm UTC](https://forums.combatlogforums.com/t/programmatic-access-to-statistics/258/10 "2016-08-04T18:28:00Z")

</div>

Ok, so I need to do a fights request first, grab those, and then make my tables pull. Thanks very much!
