From 3dc24ee78f73094f44ed89a044c85d7c4338ff97 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sun, 6 Jan 2013 13:27:23 +0100 Subject: Moved many API calls over to new version 4. Old versions are marked as deprecated. All new API calls are documented. --- examples/tapi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/tapi b/examples/tapi index cb37c03..4495a73 100755 --- a/examples/tapi +++ b/examples/tapi @@ -12,7 +12,7 @@ # You can set the following environment variables (default in brackets): # TAGINFO_API_SERVER [taginfo.openstreetmap.org] # TAGINFO_API_PORT [80] -# TAGINFO_API_VERSION [2] +# TAGINFO_API_VERSION [4] # require 'rubygems' @@ -23,7 +23,7 @@ require 'json' API_SERVER = ENV['TAGINFO_API_SERVER'] || 'taginfo.openstreetmap.org' API_PORT = ENV['TAGINFO_API_PORT'] || 80 -API_VERSION = ENV['TAGINFO_API_VERSION'] || '2' +API_VERSION = ENV['TAGINFO_API_VERSION'] || '4' def api_call(path, params) query = [] -- cgit v1.2.3