{"action":"closed","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/124","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/124/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/124/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/124","id":59374198,"number":124,"title":"FeedURLFactory.getSpreadsheetKeyFromUrl not recognizing a valid URL","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-01T03:18:46Z","updated_at":"2015-03-01T03:18:46Z","closed_at":"2015-03-01T03:18:46Z","body":"```\nVersion of google-api-java-client (e.g. 1.2.1-alpha)?\n1.43.0\n\nJava environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?\nJava 1.6.0_12\n\nDescribe the problem.\nI am using the follwing URL: \nhttps://spreadsheets.google.com/ccc?key=0AulArDet_f7TdEUxcDNiMkZ5bHNZcGFqRThqQWp\n6eHc&hl=en#gid=0\n\nWhen I try to obtain the spreadsheet key with the method \nFeedURLFactory.getSpreadsheetKeyFromUrl, I get the following error:\nException in thread \"main\" java.lang.IllegalArgumentException: Uknown URL \nformat.\n\nHow would you expect it to be fixed?\nThe method should return the key of the spreadsheet \n(0AulArDet_f7TdEUxcDNiMkZ5bHNZcGFqRThqQWp6eHc). I reviewed the code of the \nscript and it looks like the key format has chanted since this method was \ndeveloped, since the key doesn't start with \"p\" and it doesn't contain any \nperiod.\n\nSee the source of the method at: \nhttp://code.google.com/p/gdata-java-client/source/browse/trunk/java/src/com/goog\nle/gdata/client/spreadsheet/FeedURLFactory.java\n\nThanks.\n```\n\nOriginal issue reported on code.google.com by `dle...@gmail.com` on 15 Feb 2011 at 10:39"}}