Closed hanchao closed 7 years ago
@hanchao thank you for reporting an issue and sorry for getting back to you so late.
Are you running the OSM API on localhost? Can you try it like this:
api = osmapi.OsmApi(api="http://localhost:3000")
print api.Capabilities()
The "http://" is important for osmapi to connect to the API.
I'm closing this for now, as I think the missing "http://" caused this issue. Please comment/re-open if you think this is not correct.
output