These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Question - Multi-account

Author
Py Bjoerny
Compi's
#1 - 2017-06-15 03:49:26 UTC
Hello, im a noob dev, and im looking for to learn something. Im looking for info.

With Old API system, you could check all your alliance members info with their vcode and key id, without their logon ( the members of my alliance), but actually, with ESI, what can I make for to store all my alliance member information with only one log per member, and not expire the token time?

Exist a method for to call back again that pilots information without their relog ( 2 or 3 days after their first time log ) for to update their information ( like isk wallet, assets, mails, skills... etc....) ??


Thanks. Sorry for my english !
Althalus Stenory
Flying Blacksmiths
#2 - 2017-06-15 06:55:09 UTC  |  Edited by: Althalus Stenory
save the refresh token for each character you need and use it to get a new access token every 20min / time you need it. But each member will have to log every characters, and you will have to save 1 refresh token / character / member

See http://eveonline-third-party-documentation.readthedocs.io/en/latest/sso/refreshtokens.html

EsiPy - Python 2.7 / 3.3+ Swagger Client based on pyswagger for ESI

Py Bjoerny
Compi's
#3 - 2017-06-15 19:57:55 UTC
Althalus Stenory wrote:
save the refresh token for each character you need and use it to get a new access token every 20min / time you need it. But each member will have to log every characters, and you will have to save 1 refresh token / character / member

See http://eveonline-third-party-documentation.readthedocs.io/en/latest/sso/refreshtokens.html


Thanks ! but...

I want to make a "no internet" app. I want to make an app without 24/7 internet conection. Just conect wend i need to check my alliance members stuff . Is imposible something like that with Crest? They will remove API form for ever? and ... if they will remove, wend this will happend?

Thanks you very much!!

Blacksmoke16
Imperial Academy
#4 - 2017-06-16 01:23:10 UTC
Well, you would need internet to make the calls to get the data, for the SSO and for the refresh tokens.

It is doable but kinda meh. What benefits would you get if it was a 'no internet' app?

You would have to do something like this:

1) Have internet to do initial SSO and store token and refresh token.

2) Go about your business.

3) When new data is needed etc, reconnect to internet, refresh the token, get the data, store it, then disconnect again.




Althalus Stenory
Flying Blacksmiths
#5 - 2017-06-16 06:41:00 UTC
Quote:
if they will remove, wend this will happend?

If they do, you'll get 4xx errors (you should already catch) and deactivate the token if it gives too much of it

EsiPy - Python 2.7 / 3.3+ Swagger Client based on pyswagger for ESI