Niv,
Strange timing maybe, but would there be any opportunity to participate in a mock baseball draft in the next few weeks? I want to test a tiny software tool.
Thanks, Chris
Niv,
Strange timing maybe, but would there be any opportunity to participate in a mock baseball draft in the next few weeks? I want to test a tiny software tool.
Thanks, Chris
Hi Niv. Thanks for that link; I gave it a try. I understand you won’t have time for some detailed dev support thread, so I’ll keep this concise and cross my fingers. In google sheets…
=importdata(“https://ottoneu.fangraphs.com/366/draftresults?export=1”) returns the results from my league’s last draft
Neither
=importdata(“https://ottoneu.fangraphs.com/90/draftresults?export=1”) nor
=importdata(“https://ottoneu.fangraphs.com/mockdraft/90/draftresults?export=1”)
returns the results from my mock draft, even after I mark the draft as complete. It appears to be #90 from the url.
My objective is to verify that a call made during a draft will return the draft results to that point.
Thanks, Chris
The number 366 is your league ID. Mock drafts are not tied to leagues.
If you go to this page:
https://ottoneu.fangraphs.com/mockdrafts
And click on any completed draft, such as the one you just completed:
https://ottoneu.fangraphs.com/mockdraftresults/90
You will see the correct URL for mock draft results.
The format is slightly different than regular league draft results, but not so much that it should cause any problems.
Thank you! FWIW, within sheets that becomes:
=importdata(“https://ottoneu.fangraphs.com/mockdraftresultsexport/90?export=1”)
Any reason =importdata(“https://ottoneu.fangraphs.com/366/draftresults?export=1”) would not work for in-progress draft?
No further questions, thanks!
I don’t think so, though I’d be careful about hitting it too often. I’ll have some of the folks who have built Ottoneu draft tools take a look at this thread in case there are any tips.
thanks!