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

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

Player Features and Ideas Discussion

 
  • Topic is locked indefinitely.
 

Have You Ever Considered An Interface To The API From A Real Program?

First post
Author
ACY GTMI
Veerhouven Group
#1 - 2014-08-03 06:33:20 UTC
Sorry, got cut short by the length of allowed Title.

I don't program in XML, and never will. No matter how shiney it is.

The poor quality of the add-on apps kind of makes me think I would like to write my own. So, are there any interfaces to the API for:

1. C
2. C++
3. Visual Basic
4. Modula 2
5. Ada

??

Or do I need to write an XML translator first?
Kaerakh
Obscure Joke Implied
#2 - 2014-08-03 06:40:36 UTC  |  Edited by: Kaerakh
ACY GTMI wrote:
Sorry, got cut short by the length of allowed Title.

I don't program in XML, and never will. No matter how shiney it is.

The poor quality of the add-on apps kind of makes me think I would like to write my own. So, are there any interfaces to the API for:

1. C
2. C++
3. Visual Basic
4. Modula 2
5. Ada

??

Or do I need to write an XML translator first?



Um, XML is a scripting language(fine mark up language, for the pretentious crowd). Scripts differ from programs dramatically in the fact that scripts are generally easy to read and define from a human standpoint and are interpreted by a program. Programs are the instructions used to operate the hardware platform to the desired effect.

So let me break that down for you.

One is instructions for the instructions for the computer
and the other is
instructions for the computer.

I'll let you figure out what that is and why your post is hilariously bad.
Rawketsled
Generic Corp Name
#3 - 2014-08-03 08:18:01 UTC  |  Edited by: Rawketsled
I wouldn't call it a scripting language (what do the M and the L in XML stand for). However, the sentiment is correct. The XML describes what the data looks like and how it's structured as well as how to get it.

ACY, did you know Visual Basic has an XML reader? Do your research before posting
Zan Shiro
Doomheim
#4 - 2014-08-03 11:25:24 UTC
picks several languages we can argue are on life support or heading there, wonders if data has to be cleaned and prepped for use....not sure if serious or bad at trolling.

OP...when does xml, html, json, etc not need to be cleaned and prepped for import then analysis? Even .txt does ffs as you have to worry about encoding (windows can't read unix end/line carriage return too well) inducing misreads and errors.

You could al least go for baiting python devs ops if trolling. This is easy. bait the 3.3's saying 2.7 is better, this always works. Since eve is python based it also be less obvious. Hell...we coulld bring up old stuff like monkeysphere following this path.
Raw Matters
Brilliant Starfire
#5 - 2014-08-03 11:52:47 UTC
ACY GTMI wrote:
I don't program in XML, and never will.

XML is not a programming language, it is a descriptive language for data, most of the time used to interchange data without having to tie it to a specific programming language. Which would be what you are looking for, right?

Quote:
So, are there any interfaces to the API for:

All the listed languages have existing tools/libraries to process XML. If CCP has done their homework, there should be an XSD that can be used to generate a set of classes/functions to read the data just like that.

Just an idea for the future: before you rant about the poor quality of others, it's always a good idea to get a clue first, otherwise you might just embarrass yourself trying to rant.
Ima Wreckyou
The Conference Elite
The Conference
#6 - 2014-08-03 13:39:26 UTC
ACY GTMI wrote:
Sorry, got cut short by the length of allowed Title.

I don't program in XML, and never will. No matter how shiney it is.

XML is not a programming language, it is a hierarchical data description language. It's simply the format of the data the API will return to you if you make a call. And the API call itself is just simply an HTTP get request to an URL.

As an expamle this is a simple call from the command line to get the document with the server status:
$ wget -O ServerStatus.xml https://api.eveonline.com/server/ServerStatus.xml.aspx


ACY GTMI wrote:

The poor quality of the add-on apps kind of makes me think I would like to write my own. So, are there any interfaces to the API for:

1. C
2. C++

All you basically need is a library for HTTP calls and an XML parser. There are plenty of them around and Frameworks like QT or GTK will probably already have that functionality.

ACY GTMI wrote:

3. Visual Basic

Hahahahahahahahahahahahaha
..

Didn't you say programming language?

ACY GTMI wrote:

4. Modula 2

I have never seen this outside of academic applications

ACY GTMI wrote:

5. Ada

Never used it but I hear a lot of good things about it out of the crypto corner. But why not
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#7 - 2014-08-03 14:16:05 UTC
As many people have stated above, XML isn't a programming language, it's a way of marking up data for interchange between systems.

What you want is an XML parser, to convert the XML document, into a data structure you can then work with. You'll also want a library to handle the retrieval of the data.

Once you have it, please pay attention to the caching timers on it, keeping a local copy and using that until it expires.



Quote:

The poor quality of the add-on apps

Does have me thinking that this may be a troll. After all, the people who are most likely to help you, are the people who actually wrote the applications that you're complaining about. I'm answering on the offchance that you're just not thinking about the social impact of your statements.

As for pointing out the parsers to look at for the 5 languages you listed, well, there's Google. It answers those questions pretty quickly, for the rather odd grab bag of languages you listed.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Jur Tissant
Garoun Investment Bank
Gallente Federation
#8 - 2014-08-03 14:51:01 UTC
Question is, are you going to create a GUI interface using Visual Basic?