Page 1 of 1

2 differents api ?

PostPosted: Fri Nov 04, 2005 5:15 pm
by dotnet
Hi (Salut),

First : hostip.info rocks !! :o

Well, when I browse the home page (http://www.hostip.info/) my city is mentioned. Not necessary correct but it's mentioned.

But when I use an url like this : http://api.hostip.info/get_html.php?ip=81.249.58.165

Here is the result :
Country: FRANCE (FR)
City: (Unknown city)

Does it means you're using inproved api to display your result on the home page ?

Or maybe it's because you're using a rough-html But I get a 404, each time I used rough_html.

Best,

jean-francois leterrier

Re: 2 differents api ?

PostPosted: Sat Nov 05, 2005 10:10 am
by bfolkens
dotnet wrote:Hi (Salut),

First : hostip.info rocks !! :o

Well, when I browse the home page (http://www.hostip.info/) my city is mentioned. Not necessary correct but it's mentioned.

But when I use an url like this : http://api.hostip.info/get_html.php?ip=81.249.58.165

Here is the result :
Country: FRANCE (FR)
City: (Unknown city)

Does it means you're using inproved api to display your result on the home page ?

Or maybe it's because you're using a rough-html But I get a 404, each time I used rough_html.

Best,

jean-francois leterrier



The home page uses a guess algorithm which you can use too with rough.php

PostPosted: Thu Feb 16, 2006 10:55 pm
by debugdom
is there anyway to get an xml feed from rough.php?

thanks in advance.

PostPosted: Mon Feb 20, 2006 7:21 pm
by bfolkens
debugdom wrote:is there anyway to get an xml feed from rough.php?

thanks in advance.


No, but you can get a 'rough' call from get_xml.php ;)

http://api.hostip.info/get_xml.php?rough=true&ip=.....


Just added this so let me know how it works...

PostPosted: Mon Feb 20, 2006 8:10 pm
by debugdom
dang, I already parsed the text version.

But thanks anyway, anyones welcome to either the XML or text version of my weather check thing.

dommm

PostPosted: Tue Feb 21, 2006 2:14 pm
by bfolkens
debugdom wrote:dang, I already parsed the text version.

But thanks anyway, anyones welcome to either the XML or text version of my weather check thing.

dommm


I'll add that to the text version too (if I can)