SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Downloaden Sie, um offline zu lesen
versus
Ireneusz Skrobiś
Lead Developer @ Selleo
• Launched: Oct 27, 2009
• Number of players: 67 million a month
• Developer: Riot Games
• Launched: July 9, 2013
• Number of players: 8 million a month
• Developer: Valve Corporation
Good API
• documentation
• easy to use
• intuitive
• reliable
Documentation
Easy to use?
What I need?
• get player info for sign up
• get player stats
• get matches info
• get match info
What I need?
five last matches
with win/lose info
• find summoner by name and region

=> you get summoner_id





• find summoner by name and region

=> you get summoner_id
• hit games endpoint with summoner_id

=> you get list of games with win/lose info
• find player by name and region

=> you get player_id











• find player by name and region

=> you get player_id
• hit matches endpoint with player_id

=> you get list of games without(!) win/lose info

=> you take match_ids for five last matches



• find player by name and region

=> you get player_id
• hit matches endpoint with player_id

=> you get list of games without(!) win/lose info

=> you take match_ids for five last matches
• you hit match endpoint 5 times to get win/lose info
Intuitive?
What I need?
player id
• hit summoner endpoint with region and username

=> you get summoner_id



• hit summoner endpoint with region and username

=> you get summoner_id
• it works because username is unique for region
• to get player info you have to 

hit STEAM profile endpoint





• to get player info you have to 

hit STEAM profile endpoint
• username is not unique 

user can easily change it
• you have steamID (STEAM_0:1:123456)













• you have steamID (STEAM_0:1:123456)
• you have to use some library that will calculate a
proper profile id (76561198059906731)







• you have steamID (STEAM_0:1:123456)
• you have to use some library that will calculate a
proper profile id (76561198059906731)
• 76561198059906731 -



• you have steamID (STEAM_0:1:123456)
• you have to use some library that will calculate a
proper profile id (76561198059906731)
• 76561198059906731 - 76561197960265728



• you have steamID (STEAM_0:1:123456)
• you have to use some library that will calculate a
proper profile id (76561198059906731)
• 76561198059906731 - 76561197960265728
• now you get dota2_account_id: 99641003
WTF?
Reliable?
it is reliable
it is NOT reliable
Thank You!
Live Long And Prosper :)
Ireneusz Skrobiś
Lead Developer @ Selleo

Weitere ähnliche Inhalte

Ähnlich wie LOL vs Dota2: Battle Of APIs

Hackathon 2013 - The Art Of Cheating In Games
Hackathon 2013 - The Art Of Cheating In GamesHackathon 2013 - The Art Of Cheating In Games
Hackathon 2013 - The Art Of Cheating In GamesSouhail Hammou
 
GDC 2014 - Jeremy Ehrhardt, KIXEYE - Building Customer Support and Loyalty
GDC 2014 - Jeremy Ehrhardt, KIXEYE - Building Customer Support and LoyaltyGDC 2014 - Jeremy Ehrhardt, KIXEYE - Building Customer Support and Loyalty
GDC 2014 - Jeremy Ehrhardt, KIXEYE - Building Customer Support and LoyaltySteelPangolin
 
BSA Game Design Merit Badge
BSA Game Design Merit BadgeBSA Game Design Merit Badge
BSA Game Design Merit BadgeDavid Mullich
 
About Football Mates and Investment Options.pptx
About Football Mates and Investment Options.pptxAbout Football Mates and Investment Options.pptx
About Football Mates and Investment Options.pptxEvrim Levent TANRIKUT
 
Amazon 게임 플랫폼 활용하기- Amazon GameLift를 중심으로 - AWS Summit Seoul 2017
Amazon 게임 플랫폼 활용하기- Amazon GameLift를 중심으로 - AWS Summit Seoul 2017Amazon 게임 플랫폼 활용하기- Amazon GameLift를 중심으로 - AWS Summit Seoul 2017
Amazon 게임 플랫폼 활용하기- Amazon GameLift를 중심으로 - AWS Summit Seoul 2017Amazon Web Services Korea
 
98 374 Lesson 01-slides
98 374 Lesson 01-slides98 374 Lesson 01-slides
98 374 Lesson 01-slidesTracie King
 
Steam - How to make money on Steam
Steam - How to make money on Steam Steam - How to make money on Steam
Steam - How to make money on Steam MohammedAli1383
 
Dot net in social gaming
Dot net in social gamingDot net in social gaming
Dot net in social gamingYan Cui
 
R2Games: Maximizing F2P Monetization Presentation from the Montreal Internati...
R2Games: Maximizing F2P Monetization Presentation from the Montreal Internati...R2Games: Maximizing F2P Monetization Presentation from the Montreal Internati...
R2Games: Maximizing F2P Monetization Presentation from the Montreal Internati...David Piao Chiu
 
Fighting online game cheating with cryptography
Fighting online game cheating with cryptographyFighting online game cheating with cryptography
Fighting online game cheating with cryptographySteven Davis
 

Ähnlich wie LOL vs Dota2: Battle Of APIs (20)

Hackathon 2013 - The Art Of Cheating In Games
Hackathon 2013 - The Art Of Cheating In GamesHackathon 2013 - The Art Of Cheating In Games
Hackathon 2013 - The Art Of Cheating In Games
 
Future Warfare
Future WarfareFuture Warfare
Future Warfare
 
GameTako API
GameTako APIGameTako API
GameTako API
 
Thendgame
ThendgameThendgame
Thendgame
 
GDC 2014 - Jeremy Ehrhardt, KIXEYE - Building Customer Support and Loyalty
GDC 2014 - Jeremy Ehrhardt, KIXEYE - Building Customer Support and LoyaltyGDC 2014 - Jeremy Ehrhardt, KIXEYE - Building Customer Support and Loyalty
GDC 2014 - Jeremy Ehrhardt, KIXEYE - Building Customer Support and Loyalty
 
BSA Game Design Merit Badge
BSA Game Design Merit BadgeBSA Game Design Merit Badge
BSA Game Design Merit Badge
 
Thendgame1
Thendgame1Thendgame1
Thendgame1
 
About Football Mates and Investment Options.pptx
About Football Mates and Investment Options.pptxAbout Football Mates and Investment Options.pptx
About Football Mates and Investment Options.pptx
 
Amazon 게임 플랫폼 활용하기- Amazon GameLift를 중심으로 - AWS Summit Seoul 2017
Amazon 게임 플랫폼 활용하기- Amazon GameLift를 중심으로 - AWS Summit Seoul 2017Amazon 게임 플랫폼 활용하기- Amazon GameLift를 중심으로 - AWS Summit Seoul 2017
Amazon 게임 플랫폼 활용하기- Amazon GameLift를 중심으로 - AWS Summit Seoul 2017
 
Game cih
Game cihGame cih
Game cih
 
Future warfare
Future warfareFuture warfare
Future warfare
 
Thendgame,
Thendgame,Thendgame,
Thendgame,
 
98 374 Lesson 01-slides
98 374 Lesson 01-slides98 374 Lesson 01-slides
98 374 Lesson 01-slides
 
Steam - How to make money on Steam
Steam - How to make money on Steam Steam - How to make money on Steam
Steam - How to make money on Steam
 
Fanduelreview
FanduelreviewFanduelreview
Fanduelreview
 
Dot net in social gaming
Dot net in social gamingDot net in social gaming
Dot net in social gaming
 
R2Games: Maximizing F2P Monetization Presentation from the Montreal Internati...
R2Games: Maximizing F2P Monetization Presentation from the Montreal Internati...R2Games: Maximizing F2P Monetization Presentation from the Montreal Internati...
R2Games: Maximizing F2P Monetization Presentation from the Montreal Internati...
 
Fighting online game cheating with cryptography
Fighting online game cheating with cryptographyFighting online game cheating with cryptography
Fighting online game cheating with cryptography
 
Thendgame
ThendgameThendgame
Thendgame
 
Thendgame
ThendgameThendgame
Thendgame
 

Mehr von Ireneusz Skrobiś

Bugs and non-technical client
Bugs and non-technical clientBugs and non-technical client
Bugs and non-technical clientIreneusz Skrobiś
 
PayPal Subscriptions in Ruby on Rails application
PayPal Subscriptions in Ruby on Rails applicationPayPal Subscriptions in Ruby on Rails application
PayPal Subscriptions in Ruby on Rails applicationIreneusz Skrobiś
 
How to introduce a new developer to a project.
How to introduce a new developer to a project.How to introduce a new developer to a project.
How to introduce a new developer to a project.Ireneusz Skrobiś
 
Geolocation Databases in Ruby on Rails
Geolocation Databases in Ruby on RailsGeolocation Databases in Ruby on Rails
Geolocation Databases in Ruby on RailsIreneusz Skrobiś
 
Geocoding with Rails and Twitter Typeahead
Geocoding with Rails and Twitter TypeaheadGeocoding with Rails and Twitter Typeahead
Geocoding with Rails and Twitter TypeaheadIreneusz Skrobiś
 
What to do when there is no API
What to do when there is no APIWhat to do when there is no API
What to do when there is no APIIreneusz Skrobiś
 

Mehr von Ireneusz Skrobiś (8)

Bugs and non-technical client
Bugs and non-technical clientBugs and non-technical client
Bugs and non-technical client
 
PayPal Subscriptions in Ruby on Rails application
PayPal Subscriptions in Ruby on Rails applicationPayPal Subscriptions in Ruby on Rails application
PayPal Subscriptions in Ruby on Rails application
 
New features in Ruby 2.5
New features in Ruby 2.5New features in Ruby 2.5
New features in Ruby 2.5
 
How to introduce a new developer to a project.
How to introduce a new developer to a project.How to introduce a new developer to a project.
How to introduce a new developer to a project.
 
Geolocation Databases in Ruby on Rails
Geolocation Databases in Ruby on RailsGeolocation Databases in Ruby on Rails
Geolocation Databases in Ruby on Rails
 
New features in Ruby 2.4
New features in Ruby 2.4New features in Ruby 2.4
New features in Ruby 2.4
 
Geocoding with Rails and Twitter Typeahead
Geocoding with Rails and Twitter TypeaheadGeocoding with Rails and Twitter Typeahead
Geocoding with Rails and Twitter Typeahead
 
What to do when there is no API
What to do when there is no APIWhat to do when there is no API
What to do when there is no API
 

Kürzlich hochgeladen

CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 

Kürzlich hochgeladen (20)

CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 

LOL vs Dota2: Battle Of APIs

  • 2.
  • 3.
  • 4. • Launched: Oct 27, 2009 • Number of players: 67 million a month • Developer: Riot Games • Launched: July 9, 2013 • Number of players: 8 million a month • Developer: Valve Corporation
  • 5. Good API • documentation • easy to use • intuitive • reliable
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 13. What I need? • get player info for sign up • get player stats • get matches info • get match info
  • 14. What I need? five last matches with win/lose info
  • 15. • find summoner by name and region
 => you get summoner_id
 
 

  • 16. • find summoner by name and region
 => you get summoner_id • hit games endpoint with summoner_id
 => you get list of games with win/lose info
  • 17. • find player by name and region
 => you get player_id
 
 
 
 
 

  • 18. • find player by name and region
 => you get player_id • hit matches endpoint with player_id
 => you get list of games without(!) win/lose info
 => you take match_ids for five last matches
 

  • 19. • find player by name and region
 => you get player_id • hit matches endpoint with player_id
 => you get list of games without(!) win/lose info
 => you take match_ids for five last matches • you hit match endpoint 5 times to get win/lose info
  • 22. • hit summoner endpoint with region and username
 => you get summoner_id
 

  • 23. • hit summoner endpoint with region and username
 => you get summoner_id • it works because username is unique for region
  • 24. • to get player info you have to 
 hit STEAM profile endpoint
 
 

  • 25. • to get player info you have to 
 hit STEAM profile endpoint • username is not unique 
 user can easily change it
  • 26.
  • 27. • you have steamID (STEAM_0:1:123456)
 
 
 
 
 
 

  • 28. • you have steamID (STEAM_0:1:123456) • you have to use some library that will calculate a proper profile id (76561198059906731)
 
 
 

  • 29. • you have steamID (STEAM_0:1:123456) • you have to use some library that will calculate a proper profile id (76561198059906731) • 76561198059906731 -
 

  • 30. • you have steamID (STEAM_0:1:123456) • you have to use some library that will calculate a proper profile id (76561198059906731) • 76561198059906731 - 76561197960265728
 

  • 31. • you have steamID (STEAM_0:1:123456) • you have to use some library that will calculate a proper profile id (76561198059906731) • 76561198059906731 - 76561197960265728 • now you get dota2_account_id: 99641003
  • 32. WTF?
  • 35. it is NOT reliable
  • 36.
  • 37. Thank You! Live Long And Prosper :) Ireneusz Skrobiś Lead Developer @ Selleo