# Fflogs API not actually pulling all parses

**URL:** <https://forums.combatlogforums.com/t/fflogs-api-not-actually-pulling-all-parses/6700>\
**Category:** FF Logs\
**Created:** [July 17, 2018, 11:54pm UTC](https://forums.combatlogforums.com/t/fflogs-api-not-actually-pulling-all-parses/6700 "2018-07-17T23:54:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hammerbag](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/hammerbag/32/988_2.png) [@hammerbag](https://forums.combatlogforums.com/u/hammerbag)\
**Post date:** [July 17, 2018, 11:54pm UTC](https://forums.combatlogforums.com/t/fflogs-api-not-actually-pulling-all-parses/6700/1 "2018-07-17T23:54:08Z")

</div>

I’m running the API and pulling all parses, but some are not included. I had assumed at first maybe it’s because I didn’t own the log, but that shouldn’t matter (and despite my page showing someone else’s upload, I have the same upload on the same day). I’m running it with following:

[https://www.fflogs.com:443/v1/parses/character/Sydney%20Lahkol/jenova/NA?metric=dps&timeframe=historical&api\_key=apiKey](https://www.fflogs.com:443/v1/parses/character/Sydney%20Lahkol/jenova/NA?metric=dps&timeframe=historical&api_key=apiKey)

I can get the correct reports when I run rankings instead of parses for my character, but then when I check some other characters, it’s giving incorrect numbers with rankings, but correct with parses.

Seems no matter which way I run, some reports are missing. I could run both, I guess, but my understanding is that pulling /parses/ should but all parses for a character.

Am I missing something obvious?

EDIT: Nevermind, I’m dumb. It’s pulling the parses in a 2-week window. Still not sure why some rankings aren’t showing, though. IE if I look up One Luv on Jenova (under rankings), the top parses for all fights (standard comp) are missing from the list, but they do show up when I run all parses. I guess I do need to use both?

---

<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:** [July 18, 2018, 12:58am UTC](https://forums.combatlogforums.com/t/fflogs-api-not-actually-pulling-all-parses/6700/2 "2018-07-18T00:58:06Z")

</div>

It should give you all parses.

---

<div class="post-metadata">

**Author:** ![hammerbag](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/hammerbag/32/988_2.png) [@hammerbag](https://forums.combatlogforums.com/u/hammerbag)\
**Post date:** [July 18, 2018, 5:11am UTC](https://forums.combatlogforums.com/t/fflogs-api-not-actually-pulling-all-parses/6700/3 "2018-07-18T05:11:21Z")

</div>

Hmm, that’s what I thought. It should give all parses including rankings? Or are reports generated under rankings not also generated by the parses report? Not sure why some parses are missing. I think that if I just request both and then sort them together, I will have all of the data I need to work with, but I wasn’t sure if this was part of the design and I just misunderstood (Definitely possible).

For reference, if there is anything worth looking further into:

When I search by report ID, these two seem to be missing (Could be others, but my highest parses on the other 3 fights appear just fine under parses and rankings both):  
[https://www.fflogs.com/reports/Np82PcV19qvLwQTk#fight=18&type=damage-done](https://www.fflogs.com/reports/Np82PcV19qvLwQTk#fight=18&type=damage-done) - Kefka  
When I run this as “rankings”, I get my 97th percentile parse. When I run as parses, I can locate this report ID, but it’s only displaying the other 4 clears of the fight.

[https://www.fflogs.com/reports/ZYk9QNfBPA7XnyaJ#fight=25&type=damage-done](https://www.fflogs.com/reports/ZYk9QNfBPA7XnyaJ#fight=25&type=damage-done) - Phantom Train  
With this one, if I run ranking, my 98th percentile pull shows. When I run parses, only 1 out of the 3 total clears we had appear in the listing.

So far the only thing I’ve noticed is that these are not my owned reports - they were uploaded by others, and those clears seem to show the same way (some missing on parses, all appearing on rankings).

z8HP7wk1RYK2v6FV - Report ID for my upload of Phantom Train.

Right now, I’m just searching using the output sample provided on the API page, but I do have the same report request in my code, and all I’m doing with the data currently is just sorting it.

---

<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:** [July 18, 2018, 2:30pm UTC](https://forums.combatlogforums.com/t/fflogs-api-not-actually-pulling-all-parses/6700/4 "2018-07-18T14:30:10Z")

</div>

Parses will try to filter out duplicates, maybe that code is bugged.

---

<div class="post-metadata">

**Author:** ![hammerbag](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/hammerbag/32/988_2.png) [@hammerbag](https://forums.combatlogforums.com/u/hammerbag)\
**Post date:** [July 18, 2018, 6:57pm UTC](https://forums.combatlogforums.com/t/fflogs-api-not-actually-pulling-all-parses/6700/5 "2018-07-18T18:57:29Z")

</div>

Oh, that could be it. From my end, it’s just two extra lines of code to make the second request and handle it, just wanted to make sure I was understanding it all correctly 🙂

---

<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:** [July 18, 2018, 10:16pm UTC](https://forums.combatlogforums.com/t/fflogs-api-not-actually-pulling-all-parses/6700/6 "2018-07-18T22:16:15Z")

</div>

Yeah was the duplication code. Should be fixed.
