Third Party Developer Blog

rss Viewing archived items for July 2017

Jul
21

ESI Swagger Codegen Issues and Workarounds

CCP Zoetrope | 2017-07-21 13:11
This blog addresses an inconsistency [1] with a tool used within our previous blog: Using Swagger Codegen to Generate a Client API. In the previous blog we chronicled how to generate an ESI client library for Python using the Swagger Editor or curling the https://generate.swagger.io endpoint (which the Swagger Editor uses). However, it's been brought to our attention that https://generate.swagger.io is not working with the ESI Swagger spec found at https://esi.tech.ccp.is/_latest/swagger.json. Because online Swagger tools may not always work, this blog will present a backup method that can be used to generate a client library from ESI's Swagger spec. Prerequisites For this specific workaround you will need Docker installed on your machine. We will not go into detail about what Docker is or how it works but feel free to dig into Docker's ... read more
Jul
8

ESI Step by Step - SSO to Authenticated Calls

Team Tech Co | 2017-07-08 00:01
This blog post is part of a series of blogs examining best practices for ESI development. Each blog will be published on the 8th of each month during the journey towards XML API and CREST’s termination date. The legacy APIs will be terminated on May 8th, 2018, or earlier if metrics signal a trivial level of usage. Last month, we talked about auto generating a client library for ESI using Swagger Codegen. This month we will expand on this by stepping through the SSO authentication flow and using that authentication to make a call to the ESI endpoint /characters/{character_id}/standings. Typically, one would set up a server to handle most of this process, but today we're going to do it manually with curl, to lay out the steps in the process. It is assumed the reader already knows what SSO is, if a refresher ... read more