euro-ix / ixf-client-py

Python client for RESTful access to the IX-F database
MIT License
1 stars 2 forks source link

Working IXF database to test the client #1

Open afressancourt opened 9 years ago

afressancourt commented 9 years ago

Hello,

I am interested in using the IXF Python client to get information on IXPs in the frame of the PhD thesis I am currently pursuing. Yet, the client as it stands doesn't connect to a database. Is there a working instance of the IXF database that can be used? Do you know of another method to get data on IXPs around the globe, especially the IP address ranges they use to match this data with observed traceroutes?

Thanks for your answer,

Antoine

grizz commented 9 years ago

Yep, working instance is at https://db.ix-f.net/api/

There's also PeeringDB

afressancourt commented 9 years ago

Hello,

Thanks for your answer.

I tried to change the code in client.py, I made the following changes

self.host = 'db.ix-f.net' self.port = 443 self.path = '/api/' self.user = None self.password = None self.timeout = None self.validate_ssl = True

I get an error

ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)

I tried to change the URL for the REST API in the setup.py file but it doesn't find the destination

Can you help me?

Thanks in advance