[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Location dataengine is broken
From:       Vitor Boschi <vitorboschi () gmail ! com>
Date:       2010-11-26 12:07:45
Message-ID: AANLkTikPWb6vHJVE9P=jzbx2rhycxcrYKF=+snR8E=Na () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


They answered my question, and the only problem is that now their API
implements a rate limit.
Quoting their website[1]:

We do not have a specific daily limit but queries that are at a rate faster
than 2 per second will be put in "queue". If you stay below 2 queries/second
everything will be normal. If you go over the limit, you will still get an
answer *for all queries* but they will be slowed down to about 1 per second.

So I need answers for the following questions before fixing it:
1. Is that rate limit acceptable for the data engine? If it is not, we must
look for another provider, but sadly I couldn't find anything usable (with a
free XML API)  yet.
2. If so, who should get the api key? The e.v., the data engine maintainer,
me? They only request for name, email address and website(optional).


Vitor

[1] http://www.ipinfodb.com/ip_location_api.php

On Thu, Nov 25, 2010 at 9:10 AM, Vitor Boschi <vitorboschi@gmail.com> wrote:

> Hi,
>
> http://ipinfodb.com/ip_query.php is the actual address being used by the
> dataengine. The problem is that they started to require an API key in order
> to answer requests. The key is free, but I'm not sure that we can use it in
> our application, so I'm going to send an email to ask them and will reply
> here.
>
> Vitor
>
>
> On Thu, Nov 25, 2010 at 9:03 AM, Thomas Olsen <tanghus@gmail.com> wrote:
>
>> On Thursday 25 November 2010 10:45:09 Artur de Souza wrote:
>> > Hello :)
>> >
>> > It seems that the "ip location tools" service does not provide the
>> > same API as before.
>> > So the page that we are using:
>> >
>> > http://iplocationtools.com/ip_query.php
>>
>> This could be used instead:
>>
>> http://ipinfodb.com/ip_location_api.php
>>
>> I don't have any build environment setup as my HW is too low end to even
>> try to build anything :-/
>>
>> --
>> Best regards / med venlig hilsen
>>
>> Thomas Olsen
>>
>> Dropbox and my thumb drive had an epic battle. Dropbox won.
>> http://db.tt/T0p6d6L
>>
>> _______________________________________________
>> Plasma-devel mailing list
>> Plasma-devel@kde.org
>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>
>>
>

[Attachment #5 (text/html)]

They answered my question, and the only problem is that now their API implements a \
rate limit.<div>Quoting their website[1]:</div><div><br></div><div><meta \
http-equiv="content-type" content="text/html; charset=utf-8"><span \
class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; color: \
rgb(68, 68, 68); line-height: 19px; ">We do not have a specific daily limit but \
queries that are at a rate faster than 2 per second will be put in &quot;queue&quot;. \
If you stay below 2 queries/second everything will be normal. If you go over the \
limit, you will still get an answer <strong style="margin-top: 0px; margin-right: \
0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; \
padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: \
0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; \
border-color: initial; outline-width: 0px; outline-style: initial; outline-color: \
initial; font-size: 13px; vertical-align: baseline; background-image: initial; \
background-attachment: initial; background-origin: initial; background-clip: initial; \
background-color: transparent; background-position: initial initial; \
background-repeat: initial initial; ">for all queries</strong> but they will be \
slowed down to about 1 per second.</span></div>

<div><font class="Apple-style-span" color="#444444" face="sans-serif"><span \
class="Apple-style-span" style="line-height: 19px;"><br></span></font></div>So I need \
answers for the following questions before fixing it:<div> 1. Is that rate limit \
acceptable for the data engine? If it is not, we must look for another provider, but \
sadly I couldn&#39;t find anything usable (with a free XML API)  yet.</div> <div>2. \
If so, who should get the api key? The e.v., the data engine maintainer, me? They \
only request for name, email address and \
website(optional).<br><div><br></div><div><br></div><div>Vitor</div><div><br></div><div><div>


<font class="Apple-style-span" color="#444444" face="sans-serif"><span \
class="Apple-style-span" style="line-height: 19px; ">[1] </span><span \
class="Apple-style-span" style="line-height: 19px; "><meta http-equiv="content-type" \
content="text/html; charset=utf-8"></span><span class="Apple-style-span" \
style="line-height: 19px; "><a \
href="http://www.ipinfodb.com/ip_location_api.php">http://www.ipinfodb.com/ip_location_api.php</a></span><span \
class="Apple-style-span" style="line-height: 19px; "><br>

</span></font><br><div class="gmail_quote">On Thu, Nov 25, 2010 at 9:10 AM, Vitor \
Boschi <span dir="ltr">&lt;<a \
href="mailto:vitorboschi@gmail.com">vitorboschi@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;">

Hi,<div><br></div><div><a href="http://ipinfodb.com/ip_query.php" \
target="_blank">http://ipinfodb.com/ip_query.php</a> is the actual address being used \
by the dataengine. The problem is that they started to require an API key in order to \
answer requests. The key is free, but I&#39;m not sure that we can use it in our \
application, so I&#39;m going to send an email to ask them and will reply here.</div>


<div><br></div><div>Vitor</div><div><br></div><div><br><div \
class="gmail_quote"><div><div></div><div class="h5">On Thu, Nov 25, 2010 at 9:03 AM, \
Thomas Olsen <span dir="ltr">&lt;<a href="mailto:tanghus@gmail.com" \
target="_blank">tanghus@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div><div></div><div class="h5"><div>On Thursday 25 \
November 2010 10:45:09 Artur de Souza wrote:<br> &gt; Hello :)<br>
&gt;<br>
&gt; It seems that the &quot;ip location tools&quot; service does not provide the<br>
&gt; same API as before.<br>
&gt; So the page that we are using:<br>
&gt;<br>
&gt; <a href="http://iplocationtools.com/ip_query.php" \
target="_blank">http://iplocationtools.com/ip_query.php</a><br> <br>
</div>This could be used instead:<br>
<br>
<a href="http://ipinfodb.com/ip_location_api.php" \
target="_blank">http://ipinfodb.com/ip_location_api.php</a><br> <br>
I don&#39;t have any build environment setup as my HW is too low end to even try to \
build anything :-/<br> <font color="#888888"><br>
--<br>
Best regards / med venlig hilsen<br>
<br>
Thomas Olsen<br>
<br>
Dropbox and my thumb drive had an epic battle. Dropbox won. <a \
href="http://db.tt/T0p6d6L" target="_blank">http://db.tt/T0p6d6L</a><br> \
</font><br></div></div><div \
class="im">_______________________________________________<br> Plasma-devel mailing \
list<br> <a href="mailto:Plasma-devel@kde.org" \
target="_blank">Plasma-devel@kde.org</a><br> <a \
href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
<br></div></blockquote></div><br></div> </blockquote></div><br></div></div></div>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic