runk / node-maxmind

Maxmind GEO Lookup
MIT License
605 stars 62 forks source link

REST API #14

Closed villanus closed 9 years ago

villanus commented 10 years ago

It would be great if there were a REST api which would allow for other apps (javascript, php, asp.net) to access the Geo IP data.

A great example is this project: http://freegeoip.net/ which has a very simple REST api.

Also, Would love to have a step by step tutorial on how to deploy the application on something like Heroku. As an ASP developer, Node.js is still something I have not played with. I am sure that other developers not familiar with Node.js could greatly benefit from such a step by step guide on getting this installed on something like Herorku for free, and then use an api from the languages they already know.

THANKS IN ADVANCE

runk commented 10 years ago

Yeah, it might be good idea to add rest api. I'll do some research in this area @villanus.

villanus commented 10 years ago

thanks

msimerson commented 9 years ago

I'd vote to close this with a "nah, not worth bothering." For casual users, they can use freegeoip.net for free, and if they need more than 10,000 queries per hour, they can deploy their own copy of the source.

It's not hard whip out an Express based API that adds a few API endpoints and serves the GeoIP data via AJAX. But shouldn't such a thing be it's own project that depends on this one?

runk commented 9 years ago

Yeah, same opinion probably. Closing.