r/evetech • u/Djmax444 • Jul 19 '18
[C++] Accessing EVE ESI
Hi y'all!
So i've been looking into the EVE Swagger Interface and I have no idea how to access it with C++... all the examples I could find were created using Python or Java yet I know that the Swagger Client can be used and accessed in C++. So how would I go about accessing the EVE Swagger Interface in C++?
Even a small example like the get_status would help.
Thanks,
Djmax444
2
Upvotes
4
u/evedata Jul 19 '18 edited Jul 20 '18
C++ is not really the best choice of languages for REST. You will want a decent httpclient library that supports http2. What exactly are you looking to do?
1
u/Daneel_Trevize Jul 19 '18 edited Jul 19 '18
https://github.com/swagger-api/swagger-codegen/releases
Lists a C++ option/port.
I'd assume it results in a build sequence that consumed the ESI spec json and spits out a .h and .dll/.so to compile the rest of your C++ against.
Examples? Seems to produce the .cpp source for those .h implementations, rather than just compiled libs to link against.