• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
API Links section
Line 57: Line 57:  
{{clr}}
 
{{clr}}
   −
==Play without VPN/Proxy==
+
==API Links==
 +
===Introduction===
 +
* An API Link is a web address pointing directly to your KanColle account
 +
* If you acquire this, you can visit it as a quick way to login
 +
* Since it is a direct link, it bypasses DMM, thus bypasses country restrictions as well
 +
 
 +
{{Warning
 +
|title = Security Considerations for API Links
 +
|message = The API link bypasses login and opens your account directly. '''Be very careful not to let others see your link''' (e.g. when posting screenshots of the game). Anyone who gets a hold of your API Link can also access and control your account!
 +
}}
 +
 
 +
===Get via Network Logs===
 +
This is probably the easiest way to get an API link without third-party tools.
 +
[[File:Api_link_via_network.jpg|thumb]]
 +
# Open your browser DevTools by pressing F12.
 +
# Open the game
 +
# Go to the '''Network''' tab
 +
# Filter/Search for: '''<code>Maind2</code>'''
 +
# There will be only one result. Right-click that, and ['''Copy link address''']
 +
''Note: Terminologies for Chrome, there are counterparts for Firefox and other browsers''
 +
{{clr}}
 +
 
 +
 
 +
===Get via Manual Search===
 
[[File:Tutorial-ObtainAPI.png|thumb|right|300px|Tutorial on how to obtain the API link. Click to view full size.]]
 
[[File:Tutorial-ObtainAPI.png|thumb|right|300px|Tutorial on how to obtain the API link. Click to view full size.]]
It is possible for non-Japanese IP address to evade region restriction to '''play''' (not register) the game. Such way is by using the API link embedded in the Kantai Collection page.
+
# Open the game as usual (in this guide, using Chrome)
 
+
# Ctrl+Shift+I (F12) to inspect element of the page or use "Show resources list" using [https://getadblock.com Adblock], search for '''api_token''' or '''mainD2.swf'''
How to obtain API link:
  −
#Open the game as usual (in this guide, using Chrome)
  −
#Ctrl+Shift+I (F12) to inspect element of the page or use "Show resources list" using [https://getadblock.com Adblock], search for '''api_token''' or '''mainD2.swf'''
   
#* '''Example''': <nowiki>http://125.6.189.7/kcs/mainD2.swf?api_token=xxx&api_starttime=xxx</nowiki>
 
#* '''Example''': <nowiki>http://125.6.189.7/kcs/mainD2.swf?api_token=xxx&api_starttime=xxx</nowiki>
 
#* '''Note''': the API link unique for each server and session.
 
#* '''Note''': the API link unique for each server and session.
#Copy the API link
+
# Copy the API link
#Turn off your proxy/VPN and open the link in your browser.
+
# Turn off your proxy/VPN and open the link in your browser.
#*If it doesn't work, you probably copied the wrong or incomplete API link.
+
#* If it doesn't work, you probably copied the wrong or incomplete API link.
 
# If you somehow find that your search function in the developer console is not working properly (in either Chrome or Firefox), you can also manually search for the API link by navigating the script in this order:  
 
# If you somehow find that your search function in the developer console is not working properly (in either Chrome or Firefox), you can also manually search for the API link by navigating the script in this order:  
#* html > body > div#w > div#main-ntg.page-appdetial.d-rst > div#page > div#area-game > iframe#game_frame > html > body > div#flashWrap > embed#externalswf  
+
#* html > body > div#w > div#main-ntg > div#page > div#area-game > iframe#game_frame > html > body > div#flashWrap > embed#externalswf
 +
{{clr}}
 +
 
   −
'''The API link bypasses your login'''. '''''Be very careful not to let others see your link''''' (eg. when posting screenshots of the game) or just close your VPN connection when you are in-game.
+
===Further Reading===
{{clear}}
+
* Looking at the diagram under the Region Cookies section, we can see that DMM is connected to the developer's server through ''Embedded Flash with API Links''.
 +
** DMM ('''which is not the developer''') only shows you the game by embedding a flash object on their webpage. In this case, DMM is called the "'''publisher'''".
 +
** This flash object points to Kadokawa's ('''these are the developers''') KanColle servers.
 +
** The link to this flash object is the API Link.
 +
* Once DMM's country restriction has been bypassed, DMM will embed a flash object, as explained, through the API Link - which in turn becomes visible to us.
 +
* This link that DMM used to show us the game can be reused. You can save it on a file, or have it stickied on your computer, only to open it again, without the help of DMM this time around, thus avoiding country restrictions indefinitely.
 +
* If Region Cookies are used, API Links seem to be useless since its original purpose, avoiding country restriction, has already been resolved. However, some still prefer API Links because you do not need to load the DMM webpage, saving you some network load.
    
==Tip==
 
==Tip==
15

edits

Navigation menu