Pages: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 .. 19 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Karbowiak
4M-CORP Insidious Empire
119
|
Posted - 2013.11.05 20:16:00 -
[301] - Quote
Caliginous Ferus wrote:Karbowiak wrote: Hi!
The API documentation is a bit misleading atm, and lack some of the proper header attributes and such, but it's on the todolist for being rewritten.
As for the headers you have x-bin-attempts-allowed = Tells you how many requests you can make before having to wait x-bin-seconds-between-requests x-bin-requests = Tells you how many requests you have actually made in this bin. x-bin-seconds-between-requests = Tells you the time to wait between filling each bin.
It was the most elegant way to tell do it.
However, we are considering switching to api keys that tie amount of requests to a users account on zkillboard. But before we go that route, we'd have to revamp parts of the API, to be easier to extend.
Hello again, Thanks for the answer, do you mind if I follow up with a few other questions? a) If/When you decide to change the way the API works, is it going to break all previous applications? IE, should I wait for the change to happen or is it not in your immediate plans? b) If I need to grab a large amount of data (all kills for a number of regions in the past 2 weeks for example), what would be the best way to approach it? Try to get as much data as I can in each request that happens every "x-bin-seconds-between-requests" seconds or get a couple of instances of an application that requests smaller pieces of data every "x-bin-seconds-between-requests" seconds? Is there any other way to obtain this amount of data? Do you release any dumps? Thanks again.
I don't mind, you ask all the questions you want! :)
a. We'll try not to make sweeping changes to the API as much as possible, we DO have a complete overhaul coming sometime in the near future, but we'll update the website, twitter and eve-kill a week or two before we actually do the change.
b. Fastest way is just to request page1,2,3,4,5 etc. of one region at a time. Just remember to space it out, if you want to space it out more than the x-bin-seconds-between-access dictates, go for it :)
Sadly we don't release any dumps, it's all available via the API :)
However, the 2nd version of the API, will ditch the requests pr. second idea, and instead impose a flat request amount, so you default get 5k requests pr. day, which is 1 request every 17.2 seconds, and you'll be in control of how fast you want to request stuff.
We can obv. add more to it on a case by case basis.
iskflakes wrote:Hi guys,
Have you made any progress on API limits or API keys? The current limits are quite tight and hard to work with for realtime apps. Could you provide daily dumps of kills, or some kind of bulk access? This would solve most of my own access problems (I could cache the kills the day before and not have to hammer your server). Many thanks for the great tool.
The 2nd version of the API will use an API key, where we can up the amount of requests you can get access to. But what realtime application are you trying to develop?
If you jump onto IRC and have a chat with us, we can more than likely come to some sort of agreement :) |

Caliginous Ferus
EveCoPilot. Northern Army.
0
|
Posted - 2013.11.05 20:33:00 -
[302] - Quote
5k requests as in max 1m killmails per day (200*5000) or 5k killmails per day? |

iskflakes
715
|
Posted - 2013.11.06 17:02:00 -
[303] - Quote
Karbowiak wrote: However, the 2nd version of the API, will ditch the requests pr. second idea, and instead impose a flat request amount, so you default get 5k requests pr. day, which is 1 request every 17.2 seconds, and you'll be in control of how fast you want to request stuff.
We can obv. add more to it on a case by case basis.
This would work well for my app. The app I'm working on is a quick kill history checker (get a name, get all kill history, do some searching). If a user gives me a name which has 30 pages of kill history they currently have to wait something like 30 seconds for the app to fetch it all. Under the new API the app can grab those pages in a few seconds then sit inactive for the rest of the day (i.e. the average requests per day will be tiny, but the app will request in bursts of about 30 requests).
If you need any beta testers for the new API let me know :) |

Karbowiak
4M-CORP Insidious Empire
119
|
Posted - 2013.11.06 18:54:00 -
[304] - Quote
Caliginous Ferus wrote:5k requests as in max 1m killmails per day (200*5000) or 5k killmails per day?
5k requests as 5k page requests.
loading https://zkillboard.com/api/blablablabla/ 5000 times.
iskflakes wrote:Karbowiak wrote: However, the 2nd version of the API, will ditch the requests pr. second idea, and instead impose a flat request amount, so you default get 5k requests pr. day, which is 1 request every 17.2 seconds, and you'll be in control of how fast you want to request stuff.
We can obv. add more to it on a case by case basis. This would work well for my app. The app I'm working on is a quick kill history checker (get a name, get all kill history, do some searching). If a user gives me a name which has 30 pages of kill history they currently have to wait something like 30 seconds for the app to fetch it all. Under the new API the app can grab those pages in a few seconds then sit inactive for the rest of the day (i.e. the average requests per day will be tiny, but the app will request in bursts of about 30 requests). If you need any beta testers for the new API let me know :)
you can play around with it on https://zkillboard.com/apiv2/ the requests are the same as before.
Just register an account on zKillboard, go to your account panel, click zKillboard API, and grab the API key that was generated :) |

iskflakes
715
|
Posted - 2013.11.10 04:42:00 -
[305] - Quote
I tried to use apiv2 earlier and got an "invalid hash" error. The hash I used came straight from my account page. I guess it's still work in progress though :)
|

Squizz Caphinator
Woopatang
113
|
Posted - 2013.11.11 14:36:00 -
[306] - Quote
iskflakes wrote:I tried to use apiv2 earlier and got an "invalid hash" error. The hash I used came straight from my account page. I guess it's still work in progress though :)
I was looking over Karbo's apiv2 code the other day and there are some things that need to be addressed. Karbo said he'd get around to it.... Various projects I enjoy putting my time into: http://eve-kill.net | http://zkillboard.com | http://evewho.com | http://evechatter.com | http://skillq.net |

Squizz Caphinator
Woopatang
113
|
Posted - 2013.11.12 02:14:00 -
[307] - Quote
Some changes have been made that will make folks using the API happy. A new field has been added to the JSON that is returned, zkb, and this field contains points and totalValue as calculated by zKillboard.
At this time, only kills processed after I pushed the changes are affected. I haven't decided yet how to handle the other 19.7 million killmails. But don't worry I'll come up with something!
Cheers! Various projects I enjoy putting my time into: http://eve-kill.net | http://zkillboard.com | http://evewho.com | http://evechatter.com | http://skillq.net |

Squizz Caphinator
Woopatang
113
|
Posted - 2013.11.13 13:53:00 -
[308] - Quote
Some more fixes to the API were done last night. This includes removing apiv2 (sorry karbo, but it had issues), and a severe fix to the rate limiting we put on folks using the API. While working on the API I noticed someone hit the API 98 times in 1 second... they had figured out a workaround, and I went ahead and fixed that.
Every API request will include the header X-Bin-Seconds-Between-Request, which tells you how long to wait between each request. If you fail to wait this long, you'll be given an error message telling you that you're requesting too fast, and then you'll have to wait X-Bin-Seconds-Between-Request seconds again to make your next request.
Right now X-Bin-Seconds-Between-Request is set to 10 seconds, which is very reasonable and allows you to make 8,640 calls a day.
If anyone has any questions feel free to post them, I'll get back to you. Or, you can create a ticket on zkb if you'd like to be a bit more private. Various projects I enjoy putting my time into: http://eve-kill.net | http://zkillboard.com | http://evewho.com | http://evechatter.com | http://skillq.net |

Squizz Caphinator
Woopatang
113
|
Posted - 2013.11.14 15:30:00 -
[309] - Quote
Eve-Kill's manual mail posting has been disabled. If you want to post manual mails you *must* use zKillboard.
Mails posted manually to zKillboard will not be shared with Eve-Kill. This is an executive decision for which we aren't sorry for (we hate manual mails). Various projects I enjoy putting my time into: http://eve-kill.net | http://zkillboard.com | http://evewho.com | http://evechatter.com | http://skillq.net |

iskflakes
715
|
Posted - 2013.11.14 17:46:00 -
[310] - Quote
Squizz Caphinator wrote:Some more fixes to the API were done last night. This includes removing apiv2 (sorry karbo, but it had issues), and a severe fix to the rate limiting we put on folks using the API. While working on the API I noticed someone hit the API 98 times in 1 second... they had figured out a workaround, and I went ahead and fixed that.
This is unfortunate. When will APIv2 be returning? This is a killer-feature as far as I'm concerned.. opening up more killmail data to the wider community can only lead to good things. - |
|

Squizz Caphinator
Woopatang
113
|
Posted - 2013.11.14 19:28:00 -
[311] - Quote
iskflakes wrote:Squizz Caphinator wrote:Some more fixes to the API were done last night. This includes removing apiv2 (sorry karbo, but it had issues), and a severe fix to the rate limiting we put on folks using the API. While working on the API I noticed someone hit the API 98 times in 1 second... they had figured out a workaround, and I went ahead and fixed that. This is unfortunate. When will APIv2 be returning? This is a killer-feature as far as I'm concerned.. opening up more killmail data to the wider community can only lead to good things.
All the data is open, what makes you think it isn't? Various projects I enjoy putting my time into: http://zkillboard.com | http://evewho.com | http://eve-kill.net | http://evechatter.com | http://skillq.net |

Karbowiak
4M-CORP Insidious Empire
120
|
Posted - 2013.11.14 19:31:00 -
[312] - Quote
iskflakes wrote:Squizz Caphinator wrote:Some more fixes to the API were done last night. This includes removing apiv2 (sorry karbo, but it had issues), and a severe fix to the rate limiting we put on folks using the API. While working on the API I noticed someone hit the API 98 times in 1 second... they had figured out a workaround, and I went ahead and fixed that. This is unfortunate. When will APIv2 be returning? This is a killer-feature as far as I'm concerned.. opening up more killmail data to the wider community can only lead to good things.
APIv2 was just going to be the 2nd version of the API for zKB, since it would have been a little easier to expand upon.
zKB however, still has an API that is fully open :) https://zkillboard.com/information/api/ |

iskflakes
715
|
Posted - 2013.11.15 18:30:00 -
[313] - Quote
Squizz Caphinator wrote:All the data is open, what makes you think it isn't?
I agree it's open, and that's great. I like the idea of apiv2 because of the more flexible request limits. The 10 second timer in apiv1 is quite hard to work with. I know you're still working on these things though :) - |

Squizz Caphinator
Woopatang
113
|
Posted - 2013.11.17 07:41:00 -
[314] - Quote
iskflakes wrote:Squizz Caphinator wrote:All the data is open, what makes you think it isn't? I agree it's open, and that's great. I like the idea of apiv2 because of the more flexible request limits. The 10 second timer in apiv1 is quite hard to work with. I know you're still working on these things though :)
Ah... well... apiv2 was going to limit you to about 5k requests per 24 hour period, api v1 gives you 8,640 requests per 24 hour period. So you're actually better off Various projects I enjoy putting my time into: http://zkillboard.com | http://evewho.com | http://eve-kill.net | http://evechatter.com | http://skillq.net |

Kristoffon vonDrake
Forceful Resource Acquisition Inc
80
|
Posted - 2013.11.18 13:22:00 -
[315] - Quote
So I'm trying to scratch up an app to do some stuff and I realized I can't just pull all kills because it has me specify regions or w-space. That is stupid. I'm sure you have good reasons for that but what I'll have to do instead is have to make more api calls to get all kills, one stupid region at a time. |

iskflakes
715
|
Posted - 2013.11.18 19:51:00 -
[316] - Quote
Squizz Caphinator wrote:Ah... well... apiv2 was going to limit you to about 5k requests per 24 hour period, api v1 gives you 8,640 requests per 24 hour period. So you're actually better off
For interactive purposes it's much worse if more than one page needs to be requested (the user has to wait 10 seconds). For bulk data gathering apiv1 is obviously better as you said.
Do you have a policy on people trying to download all killmails ever? Do you try and stop them or do you permit it as long as they stick to request limits? - |

Squizz Caphinator
Woopatang
113
|
Posted - 2013.11.20 14:33:00 -
[317] - Quote
iskflakes wrote:Squizz Caphinator wrote:Ah... well... apiv2 was going to limit you to about 5k requests per 24 hour period, api v1 gives you 8,640 requests per 24 hour period. So you're actually better off For interactive purposes it's much worse if more than one page needs to be requested (the user has to wait 10 seconds). For bulk data gathering apiv1 is obviously better as you said. Do you have a policy on people trying to download all killmails ever? Do you try and stop them or do you permit it as long as they stick to request limits?
I've modified the code to allow 8,640 requests per day at any rate you want. Same limits as before, just not as limiting, heh...
If someone wants to download all our killmails via the API they are more than welcome to do so, we have no policy for or against it. Its all there for anyone to use, we believe in being open about it. However, we aren't going to provide a dump of the killmails, they'll have to use the API. At 1.6 million mails per day it'll take them a couple of weeks, they'll just have to be patient :) Various projects I enjoy putting my time into: http://zkillboard.com | http://evewho.com | http://eve-kill.net | http://evechatter.com | http://skillq.net |

Kristoffon vonDrake
Forceful Resource Acquisition Inc
80
|
Posted - 2013.11.20 17:36:00 -
[318] - Quote
Squizz, if I want to make incremental pulls from the database using the AfterKillID to get only kills since my last query is it guaranteed I'll get all killmails (IOW is that a sequential value zkb creates as it parses killmails) or do I risk missing some if they're inserted out of order (IOW is that a CCP-created value that could be out-of-order ie api for killmail #100 is pulled before api for killmail #101)?
Thank you! |

Squizz Caphinator
Woopatang
113
|
Posted - 2013.11.20 20:03:00 -
[319] - Quote
Kristoffon vonDrake wrote:Squizz, if I want to make incremental pulls from the database using the AfterKillID to get only kills since my last query is it guaranteed I'll get all killmails (IOW is that a sequential value zkb creates as it parses killmails) or do I risk missing some if they're inserted out of order (IOW is that a CCP-created value that could be out-of-order ie api for killmail #100 is pulled before api for killmail #101)?
Thank you!
At this time you risk missing some if they are inserted out of order. I don't like it, you don't like it, but it is what it is at the moment. The data that handles *when* we got the kill is stored separately from the data that stores when the kill happened, and the size of the tables prevents joins to execute in a timely manner.
As we polish zkb into a more admin installer friendly killboard, this will be addressed. In the meantime please exercise patience. Various projects I enjoy putting my time into: http://zkillboard.com | http://evewho.com | http://eve-kill.net | http://evechatter.com | http://skillq.net |

iskflakes
715
|
Posted - 2013.11.21 21:08:00 -
[320] - Quote
Squizz Caphinator wrote:I've modified the code to allow 8,640 requests per day at any rate you want. Same limits as before, just not as limiting, heh...
Thank you! This is much more usable, at least in my case. I'm getting much better responsiveness in my app now.
Squizz Caphinator wrote:If someone wants to download all our killmails via the API they are more than welcome to do so, we have no policy for or against it. Its all there for anyone to use, we believe in being open about it. However, we aren't going to provide a dump of the killmails, they'll have to use the API. At 1.6 million mails per day it'll take them a couple of weeks, they'll just have to be patient :)
Thanks for the answer. It was mostly a hypothetical question because of the timeframe involved.
Keep up the great work! - |
|

Karbowiak
4M-CORP Insidious Empire
127
|
Posted - 2013.11.26 00:50:00 -
[321] - Quote
We did an upgrade today, moving zKillboard from our VM where EVE-KILL is also running, to a new VM, where yours truly, spent a couple of hours setting up HHVM and NGINX, including SSL and whatnots.
The end result was a few bugs that had to be fixed, and a vastly faster and more responsive zKillboard
Avg. load time on the frontpage went from 35-40ms to 10-15ms, on a 500 man supercap mail it went from ~1000ms to below 100ms etc. etc.
So enjoy :) |

Karbowiak
4M-CORP Insidious Empire
127
|
Posted - 2013.12.10 21:24:00 -
[322] - Quote
Bumpetybump
Might aswell keep this alive! |

Squizz Caphinator
Woopatang
114
|
Posted - 2013.12.18 16:05:00 -
[323] - Quote
And just to keep everyone updated on what I'm doing - I'm currently evaluating ways to reduce the size of the database. I just removed a 22 gig table and replaced it with a 1 gig table. I'm also looking into how to reduce the size of a 100+ gig table to possibly 30 gigs.
You might think that space is cheap, blah blah blah. Well, when you run on SSD drives space is premium. Also, the smaller the tables the less memory they require and the faster the site runs overall.
More updates coming! Various projects I enjoy putting my time into: http://zkillboard.com | http://evewho.com | http://eve-kill.net | http://evechatter.com | http://skillq.net |

imbaRabbit
Suddenly rabbit
77
|
Posted - 2013.12.18 17:19:00 -
[324] - Quote
Squizz Caphinator wrote:And just to keep everyone updated on what I'm doing - I'm currently evaluating ways to reduce the size of the database. I just removed a 22 gig table and replaced it with a 1 gig table. I'm also looking into how to reduce the size of a 100+ gig table to possibly 30 gigs.
Would be awesome to know what you have done and how did you reduce 22 GB to just 1 GB? Is it possible to get some details about that (private | public - doesn't matter)? |

Karbowiak
4M-CORP Insidious Empire
137
|
Posted - 2013.12.19 14:45:00 -
[325] - Quote
imbaRabbit wrote:Squizz Caphinator wrote:And just to keep everyone updated on what I'm doing - I'm currently evaluating ways to reduce the size of the database. I just removed a 22 gig table and replaced it with a 1 gig table. I'm also looking into how to reduce the size of a 100+ gig table to possibly 30 gigs. Would be awesome to know what you have done and how did you reduce 22 GB to just 1 GB? Is it possible to get some details about that (private | public - doesn't matter)?
He removed the zz_items table, and used the item data already stored in the raw json files that we store.
As for the big table, it's just indexes that'll be removed, maybe a row or two of data that isn't used that much. :) |

Squizz Caphinator
Woopatang
115
|
Posted - 2013.12.19 16:06:00 -
[326] - Quote
Karbowiak wrote: He removed the zz_items table, and used the item data already stored in the raw json files that we store.
You're half right. I remapped the items data into daily values and integrated the data from each particular kill's JSON.
Karbowiak wrote: As for the big table, it's just indexes that'll be removed, maybe a row or two of data that isn't used that much. :)
No indexes are going to be removed - that would make some things worse. I am looking at columns that can be removed and the information can be used pulled from JSON. I might also rework indexes entirely - while keeping the existing indexes. Or I might do something else, I have a few options to look at that may be useful. Various projects I enjoy putting my time into: http://zkillboard.com | http://evewho.com | http://eve-kill.net | http://evechatter.com | http://skillq.net |

Brain Gehirn
Reikoku Pandemic Legion
49
|
Posted - 2013.12.20 04:15:00 -
[327] - Quote
Im missing the "all time" top history from players/corps Its interesting to have it montly but add the option to see the "all time" too!
Edit: Ranks arent updating too.
What is a signature? |

Squizz Caphinator
Woopatang
116
|
Posted - 2013.12.20 14:56:00 -
[328] - Quote
Brain Gehirn wrote:Im missing the "all time" top history from players/corps Its interesting to have it montly but add the option to see the "all time" too!
Edit: Ranks arent updating too.
You aren't missing all time, it was removed and monthly put into place. All time put a bit of strain on the db and I'm currently looking into efficient ways to present that properly.
Ranks *are* updating. What makes you think they're not? Various projects I enjoy putting my time into: http://zkillboard.com | http://evewho.com | http://eve-kill.net | http://evechatter.com | http://skillq.net |

Brain Gehirn
Reikoku Pandemic Legion
49
|
Posted - 2013.12.20 18:40:00 -
[329] - Quote
Alltime and recent rank - at least for my char - are static for some days now!
Its not important but I took the topic to comment
What is a signature? |

Reilleen Kawahara Haginen
Bio-Tech Research
0
|
Posted - 2013.12.21 10:53:00 -
[330] - Quote
I'm sure this may have been asked before but cannot see it in the replies.
Is it possible to just display a certain corp or alliance or is it an all or nothing?
Thanks |
|
|
|
|
Pages: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 .. 19 :: one page |
First page | Previous page | Next page | Last page |