Pages: 1 2 3 [4] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Pantload
Gallente Handsome Millionaire Playboys Warped Aggression
|
Posted - 2010.11.09 17:42:00 -
[91]
Edited by: Pantload on 10/11/2010 00:48:56 I think I figured it out. Sorry. Thanks.
TUG: The Underpants Gnomes. Buy Corps here
|
Entity
X-Factor Industries Synthetic Existence
|
Posted - 2010.12.01 10:05:00 -
[92]
1.1.4 now available, which fixes empty CDATA not being handled (e.g. empty mail bodies)
_
Got Item? | EVE API? | Cache? |
Mr Coloredshirt
|
Posted - 2010.12.08 01:29:00 -
[93]
Edited by: Mr Coloredshirt on 08/12/2010 01:29:29 I'm probably being an utter scrub here, but I can't seem to get startDateTime to show anything understandable.
I copied the top part of your example (the import-bit), I (succesfully) authed my account. Now when I run something simple like
membersraw = auth.corp.MemberTracking(characterID=YOUR_CHARID)
for member in membersraw.members: print member.name, member.startDateTime
I get the name properly, but the startDateTime outputs things like 1290793680, when it should be 2010-11-26 17:48:00 (or atleast something like 2010112661748). Color me confused, please help.
|
Catari Taga
Centre Of Attention Middle of Nowhere
|
Posted - 2010.12.08 02:58:00 -
[94]
Originally by: Mr Coloredshirt I get the name properly, but the startDateTime outputs things like 1290793680, when it should be 2010-11-26 17:48:00 (or atleast something like 2010112661748). Color me confused, please help.
http://en.wikipedia.org/wiki/Unix_time --
|
Mr Coloredshirt
Brutor Tribe
|
Posted - 2011.01.26 02:22:00 -
[95]
Originally by: Catari Taga
Originally by: Mr Coloredshirt I get the name properly, but the startDateTime outputs things like 1290793680, when it should be 2010-11-26 17:48:00 (or atleast something like 2010112661748). Color me confused, please help.
http://en.wikipedia.org/wiki/Unix_time
Thanks ♥
New dumbass question of the day: http://wiki.eve-id.net/APIv2_Char_MailBodies_XML The mailbody (what I'm after) is in CDATA and I can't seem to find out how to retrieve it. Any ideas?
|
Entity
X-Factor Industries Synthetic Existence
|
Posted - 2011.05.27 13:26:00 -
[96]
New update
# Version: 1.1.6 - 27 May 2011 # - Now supports composite keys for IndexRowsets. # - Fixed calls not working if a path was specified in the root url. _
Got Item? | EVE API? | Cache? |
tantomonta montatanto
|
Posted - 2011.05.28 14:50:00 -
[97]
Originally by: Entity New update
# Version: 1.1.6 - 27 May 2011 # - Now supports composite keys for IndexRowsets. # - Fixed calls not working if a path was specified in the root url.
I've upgraded to that version and I get this error:
Quote: python apitest.py
EXAMPLE 1: GETTING THE ALLIANCE LIST (and showing alliances with 1000 or more members)
Traceback (most recent call last): File "apitest.py", line 46, in <module> result1 = api.eve.AllianceList() File "/usr/lib/python2.6/dist-packages/eveapi.py", line 251, in __call__ return self._root(self._path, **kw) File "/usr/lib/python2.6/dist-packages/eveapi.py", line 306, in __call__ http.request("GET", path) File "/usr/lib/python2.6/httplib.py", line 914, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.6/httplib.py", line 951, in _send_request self.endheaders() File "/usr/lib/python2.6/httplib.py", line 908, in endheaders self._send_output() File "/usr/lib/python2.6/httplib.py", line 780, in _send_output self.send(msg) File "/usr/lib/python2.6/httplib.py", line 739, in send self.connect() File "/usr/lib/python2.6/httplib.py", line 1112, in connect sock = socket.create_connection((self.host, self.port), self.timeout) File "/usr/lib/python2.6/socket.py", line 547, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): socket.gaierror: [Errno -2] Name or service not known
|
Entity
X-Factor Industries Synthetic Existence
|
Posted - 2011.05.28 18:59:00 -
[98]
Woops my bad. Updated. _
Got Item? | EVE API? | Cache? |
Yinmatook
|
Posted - 2011.06.21 16:53:00 -
[99]
I am starting to play with this on a Mac using python 2.6.6, and the apitest.py is aborting with the following:
EXAMPLE 7: TRANSACTION DATA (and doing more nifty stuff with rowsets)
[3] /char/WalletJournal.xml.aspx: not cached, fetching from server... [3] /char/WalletJournal.xml.aspx: cached (632 seconds) Traceback (most recent call last): File "./apitest.py", line 385, in <module> entriesByRefType = journal.entries.GroupedBy("refTypeID") AttributeError: 'Element' object has no attribute 'entries'
Is this expected, is this because I'm on a mac? I'm just starting to figure out this API stuff, want to build some apps for my corp and I'm sort of lost (I hope that's normal when we start doing this stuff).
Thanks, Yin
|
Entity
X-Factor Industries Synthetic Existence
|
Posted - 2011.06.21 17:51:00 -
[100]
Originally by: Yinmatook I am starting to play with this on a Mac using python 2.6.6, and the apitest.py is aborting with the following:
EXAMPLE 7: TRANSACTION DATA (and doing more nifty stuff with rowsets)
[3] /char/WalletJournal.xml.aspx: not cached, fetching from server... [3] /char/WalletJournal.xml.aspx: cached (632 seconds) Traceback (most recent call last): File "./apitest.py", line 385, in <module> entriesByRefType = journal.entries.GroupedBy("refTypeID") AttributeError: 'Element' object has no attribute 'entries'
Is this expected, is this because I'm on a mac? I'm just starting to figure out this API stuff, want to build some apps for my corp and I'm sort of lost (I hope that's normal when we start doing this stuff).
Thanks, Yin
Nah. try replacing 'entries' with 'transactions'. I think they just renamed the table :P
_
Got Item? | EVE API? | Cache? |
|
Rakio Oramara
Caldari Caldari State Navy
|
Posted - 2011.07.10 06:59:00 -
[101]
I've run into problems with apitest.py. Wallet accesses bomb out with:
-- EXAMPLE 2: GETTING WALLET BALANCE OF ALL YOUR CHARACTERS
Traceback (most recent call last): File "apitest.py", line 88, in <module> wallet = auth.char.AccountBalance(characterID=character.characterID) File "G:\Software\Spiele\MMO\Eve Online\Dev_Stuff\eveapi.py", line 252, in __call__ return self._root(self._path, **kw) File "G:\Software\Spiele\MMO\Eve Online\Dev_Stuff\eveapi.py", line 342, in __call__ return _ParseXML(response, True, store and (lambda obj: cache.store(self._host, path, kw, response, obj))) File "G:\Software\Spiele\MMO\Eve Online\Dev_Stuff\eveapi.py", line 188, in _ParseXML raise Error(error.code, error.data) eveapi.Error: Current security level not high enough --
If I comment out the code for example 2, the rest of the examples run okay and give correct data until the next wallet access in example 7 ( journal = me.WalletJournal() ), which quits with the same error as above. Tested with my two accounts, both show identical behavior. Any idea why this happens?
BTW, do you have a printable list of your missing items? This would make it much easier to help you with your holy mission. |
tantomonta montatanto
|
Posted - 2011.07.10 09:53:00 -
[102]
Originally by: Rakio Oramara I've run into problems with apitest.py. Wallet accesses bomb out with:
-- EXAMPLE 2: GETTING WALLET BALANCE OF ALL YOUR CHARACTERS
Traceback (most recent call last): File "apitest.py", line 88, in <module> wallet = auth.char.AccountBalance(characterID=character.characterID) File "G:\Software\Spiele\MMO\Eve Online\Dev_Stuff\eveapi.py", line 252, in __call__ return self._root(self._path, **kw) File "G:\Software\Spiele\MMO\Eve Online\Dev_Stuff\eveapi.py", line 342, in __call__ return _ParseXML(response, True, store and (lambda obj: cache.store(self._host, path, kw, response, obj))) File "G:\Software\Spiele\MMO\Eve Online\Dev_Stuff\eveapi.py", line 188, in _ParseXML raise Error(error.code, error.data) eveapi.Error: Current security level not high enough --
If I comment out the code for example 2, the rest of the examples run okay and give correct data until the next wallet access in example 7 ( journal = me.WalletJournal() ), which quits with the same error as above. Tested with my two accounts, both show identical behavior. Any idea why this happens?
BTW, do you have a printable list of your missing items? This would make it much easier to help you with your holy mission.
Seems you are using Limited API Key. You need Full Key for some queries (http://wiki.eve-id.net/APIv2_Page_Index) |
Entity
X-Factor Industries Synthetic Existence
|
Posted - 2011.09.01 22:06:00 -
[103]
1.1.8 now available.
# Version: 1.1.8 - 1 September 2011 # - fix for inconsistent columns attribute in rowsets. # # Version: 1.1.7 - 1 September 2011 # - auth() method updated to work with the new authentication scheme. _
Got Item? | EVE API? | Cache? |
diabeteman
ICE is Coming to EVE Goonswarm Federation
|
Posted - 2011.09.02 00:05:00 -
[104]
Edited by: diabeteman on 02/09/2011 00:18:03 EDIT: You read my mind!!! You fixed it as I was posting this
Hello mate,
I've been using evapi for over 2 years now and I must say : YOU ROCK!
I've got bad news though, since last CCP API patch (today in fact) the /corp/AssetList.xml.aspx response has changed and rows now (sometimes) contain a "rawQuantity" attribute (which seems to indicate blueprint copies if the value is -2 (lol))
Here is what it looks like:
And now, the problem. I run this code:
Quote: apiAssets = eveapi.EVEAPIConnection().auth(keyID=myKey, vCode=myCode).corp.AssetList(characterID=myCharID)
and then when I debug the program in eclipse PyDev, I get this when introspecting "apiAssets":
Nice drawing isn't it?
As you can see, there are 2 columns with the same name "contents". The thing is that when you want to access the actual "contents" of a Row, you get the first column value which is an integer (presumably the infamous "rawQuantity" attribute) and there is no way to access the contents.
I don't know exactly if this is a CCP fail (seems like it...) or a bug on your side, but we must do something
I tried to fix it by myself but it's getting late and I can't keep my eyes open anymore. Could you take a look at it?
---------------
What happened to all the fun in the world? (F. Zappa) |
Entity
X-Factor Industries Synthetic Existence
|
Posted - 2011.09.02 00:31:00 -
[105]
Originally by: diabeteman Edited by: diabeteman on 02/09/2011 00:18:03 EDIT: You read my mind!!! You fixed it as I was posting this
Hehe. I keep having to clean up after CCP's bugs. Every patch seems to get a new dev assigned to do api stuff, who ends up making the same mistakes as his predecessor(s).
Current CCP fails (HI CCP, ARE YOU READING THIS? :): - There is a space in the columns= attribute in rowsets for MemberSecurity page. - rowsets were not designed for conditional columns like rawQuantity in AssetList. More of those in the same table would render it extremely hard to parse without special-casing. Right now eveapi is context-free and I would like to keep it that way.
Originally by: diabeteman I've been using evapi for over 2 years now and I must say : YOU ROCK!
Why thank you, Sir! _
Got Item? | EVE API? | Cache? |
Johnathan Roark
Caldari The Graduates Morsus Mihi
|
Posted - 2011.09.02 01:17:00 -
[106]
Originally by: Entity
Originally by: diabeteman Edited by: diabeteman on 02/09/2011 00:18:03 EDIT: You read my mind!!! You fixed it as I was posting this
Hehe. I keep having to clean up after CCP's bugs. Every patch seems to get a new dev assigned to do api stuff, who ends up making the same mistakes as his predecessor(s).
Current CCP fails (HI CCP, ARE YOU READING THIS? :): - There is a space in the columns= attribute in rowsets for MemberSecurity page. - rowsets were not designed for conditional columns like rawQuantity in AssetList. More of those in the same table would render it extremely hard to parse without special-casing. Right now eveapi is context-free and I would like to keep it that way.
Originally by: diabeteman I've been using evapi for over 2 years now and I must say : YOU ROCK!
Why thank you, Sir!
XSD would go along way, it would force them to think about the xml a bit and they could even do a generic one for new apis.
Personally, I hate the characterInfo call because you can get 3 different returns depending on key, plus its in the wrong spot, /eve/ should be for global apis.
EVEVERIFY Recruitment API Verifier |
diabeteman
ICE is Coming to EVE Goonswarm Federation
|
Posted - 2011.09.02 03:04:00 -
[107]
@Entity: With your last update, everything is back to normal! Thanks :)
@Johnatan: I just peeked at your project EVEVERIFY. We should consider sharing some work :) Take a look at ECM when you have some time. ---------------
What happened to all the fun in the world? (F. Zappa)
ECM - EVE Corporation Management |
Entity
X-Factor Industries Synthetic Existence
|
Posted - 2011.09.08 18:14:00 -
[108]
New forums thread: https://forums.eveonline.com/default.aspx?g=posts&t=6504 _
Got Item? | EVE API? | Cache? |
|
|
|
Pages: 1 2 3 [4] :: one page |
First page | Previous page | Next page | Last page |