-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ARAM support #6
Comments
Hi, gracias por tus comentarios.
U.gg has an internal API that serves the data as a "minified" JSON (I found
this out through the RuneBook implementation), so I don't have to do any
HTML scraping. The data I download has data for each position, so it should
already be setting pages depending on your position.
El jue., 29 nov. 2018 7:11, Gregory Adam Conroy <[email protected]>
escribió:
… Hi Felipe!
Mucho gusto.
u.gg Integration works great for default roles!
Gonna make some assumptions and suggest ideas for how to improve it.
Assuming you get the current role from the League Client, you can use that
and query u.gg with a specific URL. Example: Zyra locks in as Jungle and
you query https://u.gg/lol/champions/zyra/build/?role=jungle instead of
https://u.gg/lol/champions/zyra which defaults to Support. You'll just
need to create an associative map of your logged positions (LCU's?) versus
u.gg's values for the positions (bottom @ LRM vs adc @ u.gg).
There's also an ARAM URL:
https://u.gg/lol/champions/zyra/build/?role=jungle&queueType=normal_aram
which can get region specific but you get the idea.
This way you can get FILL runes and any other locked in position (or any
position you choose from the download dropdown you have) for ideal runes
and item sets since I *assume* you're scraping the item sets and runes
based off a set URL which seems to be u.gg/lol/champions/CHAMPNAME and
that's a great start so why not spruce it up with
u.gg/lol/champions/CHAMPNAME/build/?role=LANENAME to flesh it out? Not
sure what other info your LCU provides you: Queue type? Region? There's
variables for those on u.gg as well.
Sorry if any of this comes across as insulting this app is just really
exciting to me and the potential is huge.
I'm a professional in IT and do coding in web languages but I can help
with concepts since I understand the data structures and logic. Not saying
I can do what you do, that's software, but I've got ideas I hope are
helpful! :)
P.S. I understand Spanish but I'm terrible at speaking it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ADtKiW-axYAi6TBbGHhzEpUVx8fqMZgIks5uz3qNgaJpZM4Y5Ah9>
.
|
Ahhh, my mistake then. And the API has ARAM runes as well I imagine? All good then. Great stuff! Loved it last night. |
I think U.GG doesn't have data for ARAM, at least none I can see. I'm glad you liked it! |
I'm seeing that it does have ARAM runes, see here: https://u.gg/lol/champions/zyra/build/?role=jungle&queueType=normal_aram |
I'm not sure if I'll implement runes for ARAM because that would involve adding a new position, whose UI would kind of tricky to update. I'll keep this open in case I ever feel like adding it. |
I dont see u.gg in the program, why? how can i fix that |
Make sure you downloaded it from here. |
1.2.0 has been released, so you can download it from the releases page now! |
After i downloaded new update i get this error every time: |
Did you create the minidump? If not, I'm afraid there's not much I can do
about it. Try downloading and installing it fresh.
El dom., 9 dic. 2018 20:13, 4madz <[email protected]> escribió:
… After i downloaded new update i get this error every time:
System.InvalidOperationException. Cannot navigate because there is no
entry in the back stack of the journal. Create minidump? You can use this
to report this issue to me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADtKiVU8pFAdmd3RnUD77HrHyXRs4SpCks5u3WDOgaJpZM4Y5Ah9>
.
|
Hi Felipe!
Mucho gusto.
u.gg Integration works great for default roles!
Gonna make some assumptions and suggest ideas for how to improve it.
Assuming you get the current role from the League Client, you can use that and query u.gg with a specific URL. Example: Zyra locks in as Jungle and you query https://u.gg/lol/champions/zyra/build/?role=jungle instead of https://u.gg/lol/champions/zyra which defaults to Support. You'll just need to create an associative map of your logged positions (LCU's?) versus u.gg's values for the positions (bottom @ LRM vs adc @ u.gg).
There's also an ARAM URL: https://u.gg/lol/champions/zyra/build/?role=jungle&queueType=normal_aram which can get region specific but you get the idea.
This way you can get FILL runes and any other locked in position (or any position you choose from the download dropdown you have) for ideal runes and item sets since I assume you're scraping the item sets and runes based off a set URL which seems to be u.gg/lol/champions/CHAMPNAME and that's a great start so why not spruce it up with u.gg/lol/champions/CHAMPNAME/build/?role=LANENAME to flesh it out? Not sure what other info your LCU provides you: Queue type? Region? There's variables for those on u.gg as well.
Sorry if any of this comes across as insulting this app is just really exciting to me and the potential is huge.
I'm a professional in IT and do coding in web languages but I can help with concepts since I understand the data structures and logic. Not saying I can do what you do, that's software, but I've got ideas I hope are helpful! :)
P.S. I understand Spanish but I'm terrible at speaking it.
The text was updated successfully, but these errors were encountered: