Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Support IP2Location.IO API #53

Open
ip2location opened this issue Aug 16, 2023 · 2 comments
Open

Proposal: Support IP2Location.IO API #53

ip2location opened this issue Aug 16, 2023 · 2 comments

Comments

@ip2location
Copy link

It looks like this project is not being updated.

We would like to offer PR to use with IP2Location.IO API.

Kindly let us know if it is possible. It will offer another data source API to users.

@sunil2709
Copy link

Updated is made from my side in the front class of the


need any changes let me know

@sunil2709
Copy link

var MongoClient = require('mongodb').MongoClient;
var url = "mongodb://localhost:27017/";

MongoClient.connect(url, function(err, db) {
if (err) throw err;
var dbo = db.db("mydb");
dbo.dropCollection("customers", function(err, delOK) {
if (err) throw err;
if (delOK) console.log("Collection deleted");
db.close();
});
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants