Bitcoin Forum
April 26, 2024, 09:22:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [SOlved] I need a Ip x to weather y at time z query! 10 BTC bounty  (Read 1064 times)
ptshamrock (OP)
Hero Member
*****
Offline Offline

Activity: 484
Merit: 500



View Profile
May 10, 2012, 03:46:25 PM
Last edit: May 14, 2012, 11:21:54 AM by ptshamrock
 #1

Hi,

I have about 4 days of chat data (roughly 70 chats a day), along with the chatter's IP addresses.

I need a script or program to tell me what the weather was like at the location of the IP, at the time of the chat.

The script must look-up the location of the IP using a Geo location database, then take that location and look-up the weather at the time of chat.

I do not want the script to make a lot of queries as it may get blocked from submitting further queries, but 50 queries at a time should be OK.

The data is available in:
HTML
XML
XLS
CSV

"Money needs to be depoliticized, and the time has come for the separation of money and state to be accomplished."
1714123363
Hero Member
*
Offline Offline

Posts: 1714123363

View Profile Personal Message (Offline)

Ignore
1714123363
Reply with quote  #2

1714123363
Report to moderator
1714123363
Hero Member
*
Offline Offline

Posts: 1714123363

View Profile Personal Message (Offline)

Ignore
1714123363
Reply with quote  #2

1714123363
Report to moderator
1714123363
Hero Member
*
Offline Offline

Posts: 1714123363

View Profile Personal Message (Offline)

Ignore
1714123363
Reply with quote  #2

1714123363
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Blazr
Hero Member
*****
Offline Offline

Activity: 882
Merit: 1005



View Profile
May 10, 2012, 03:51:52 PM
 #2

Hi,

I have about 4 days of chat data (roughly 70 chats a day), along with the chatter's IP addresses.

I need a script or program to tell me what the weather was like at the location of the IP, at the time of the chat.

The script must look-up the location of the IP using a Geo location database, then take that location and look-up the weather at the time of chat.

I do not want the script to make a lot of queries as it may get blocked from submitting further queries, but 50 queries at a time should be OK.

The data is available in:
HTML
XML
XLS
CSV

FTFY

Now its much easier to read!

ptshamrock (OP)
Hero Member
*****
Offline Offline

Activity: 484
Merit: 500



View Profile
May 10, 2012, 04:02:05 PM
 #3

Thanks a bunch !

sorry i am just in a hurry !  I swear i woulkd made it better to read later on Smiley 

Thank u very much!

"Money needs to be depoliticized, and the time has come for the separation of money and state to be accomplished."
jack-o-lantern
Newbie
*
Offline Offline

Activity: 23
Merit: 0



View Profile
May 10, 2012, 04:30:40 PM
 #4

I've never worked with Geo IP before; but do you have a specific site in mind? Even a database you can access?

I may be up for it if you know more about the actual way of acquiring the data; I don't feel like regexing and stuff.
ptshamrock (OP)
Hero Member
*****
Offline Offline

Activity: 484
Merit: 500



View Profile
May 10, 2012, 04:47:32 PM
 #5

I've never worked with Geo IP before; but do you have a specific site in mind? Even a database you can access?

I may be up for it if you know more about the actual way of acquiring the data; I don't feel like regexing and stuff.



http://www.wipmania.com/en/base/


http://www.geoio.com/


http://whatismyipaddress.com/geolocation-providers


for weather data i am still searching..

I need around 20 days back in time.. because the deadline for the thing is tuesday ^^

or if the script  can be ready by tomorow i can feed it with Saturday,Sunday data.

Only weekend data is needed..
 I am still searching..



this one looks good..I am just googleing ..i don`t know much about this at all^^

http://www.worldweatheronline.com/weather-api.aspx


I hope ur the Man for the job !


"Money needs to be depoliticized, and the time has come for the separation of money and state to be accomplished."
jack-o-lantern
Newbie
*
Offline Offline

Activity: 23
Merit: 0



View Profile
May 10, 2012, 04:59:23 PM
 #6

Do you mind if I make it in Python? I'll see what I can do.
ptshamrock (OP)
Hero Member
*****
Offline Offline

Activity: 484
Merit: 500



View Profile
May 10, 2012, 05:34:55 PM
 #7

as long as it works i won´t mind if you get it rhought smoke signs lol


Very cool!!!!!!!!!!  send u an pm


"Money needs to be depoliticized, and the time has come for the separation of money and state to be accomplished."
jack-o-lantern
Newbie
*
Offline Offline

Activity: 23
Merit: 0



View Profile
May 10, 2012, 06:39:47 PM
 #8

So, I made a program only to discover that you needed to pay money in order to use their historical api key. I started looking at other sites; so far, I haven't found a site that provides historical weather data for free. Unfortunately, because of this, I'll abandon this project.
If you ever find a site that provides historical weather data and has an API with json or XML, feel free to contact me again.


Good luck.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!