Eve-online/Eve ESI Notes

From Federal Burro of Information
Jump to navigationJump to search

my app: https://developers.eveonline.com/applications/details/5511#app-section-details

https://www.quadratic.net:8883/kills

how to auth

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

https://developers.eveonline.com/blog/article/sso-to-authenticated-calls < best as of july 6th 2019

swagger ui: https://esi.evetech.net/ui/

urllib: https://docs.python.org/2/library/urllib.html

EsiPy - "easy" python library
https://kyria.github.io/EsiPy/getting_started/basic_usage/

mongodb with python

https://www.mongodb.com/blog/post/getting-started-with-python-and-mongodb


Request type

implicit grant

https://oauthlib.readthedocs.io/en/latest/oauth2/grants/implicit.html

+----------+
| Resource |
|  Owner   |
|          |
+----------+
     ^
     |
    (B)
+----|-----+          Client Identifier     +---------------+
|         -+----(A)-- & Redirection URI --->|               |
|  User-   |                                | Authorization |
|  Agent  -|----(B)-- User authenticates -->|     Server    |
|          |                                |               |
|          |<---(C)--- Redirection URI ----<|               |
|          |          with Access Token     +---------------+
|          |            in Fragment
|          |                                +---------------+
|          |----(D)--- Redirection URI ---->|   Web-Hosted  |
|          |          without Fragment      |     Client    |
|          |                                |    Resource   |
|     (F)  |<---(E)------- Script ---------<|               |
|          |                                +---------------+
+-|--------+
  |    |
 (A)  (G) Access Token
  |    |
  ^    v
+---------+
|         |
|  Client |
|         |
+---------+

code grant

https://oauthlib.readthedocs.io/en/latest/oauth2/grants/authcode.html

+----------+
| Resource |
|   Owner  |
|          |
+----------+
     ^
     |
    (B)
+----|-----+          Client Identifier      +---------------+
|         -+----(A)-- & Redirection URI ---->|               |
|  User-   |                                 | Authorization |
|  Agent  -+----(B)-- User authenticates --->|     Server    |
|          |                                 |               |
|         -+----(C)-- Authorization Code ---<|               |
+-|----|---+                                 +---------------+
  |    |                                         ^      v
 (A)  (C)                                        |      |
  |    |                                         |      |
  ^    v                                         |      |
+---------+                                      |      |
|         |>---(D)-- Authorization Code ---------'      |
|  Client |          & Redirection URI                  |
|         |                                             |
|         |<---(E)----- Access Token -------------------'
+---------+       (w/ Optional Refresh Token)