{"action":"closed","issue":{"url":"https://api.github.com/repos/badges/shields/issues/655","repository_url":"https://api.github.com/repos/badges/shields","labels_url":"https://api.github.com/repos/badges/shields/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/badges/shields/issues/655/comments","events_url":"https://api.github.com/repos/badges/shields/issues/655/events","html_url":"https://github.com/badges/shields/issues/655","id":134571909,"number":655,"title":"Nuget  badges inaccessible","user":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2016-02-18T12:44:03Z","updated_at":"2016-03-15T13:24:36Z","closed_at":"2016-03-15T13:24:36Z","body":"(Comment hijacked to summarize the advancement.)\r\n\r\nhttps://github.com/badges/shields/blob/5e4c71181372b5ec86b844aded99acb5f0270b28/server.js#L3163\r\n\r\nNuGet returns a different content type, which is probably why shields.io breaks on the XML/Atom response received from NuGet.\r\n\r\nUsing the v3 API:\r\n\r\n* Append the package identifier + index.json, for example: `https://api.nuget.org/v3/flatcontainer/{packageid-lowercase}/index.json`. The JSON has all versions of the package and can tell you in one go what the latest version is. eg, https://api.nuget.org/v3/flatcontainer/microsoft.aspnet.mvc/index.json \r\n* Get the latest version: (latest = last item in the list, latest stable is last one in the list that does not have a - in the version number)\r\n\r\nThere is no download information in v3, we'd have to keep the old system which still works for Chocolatey.\r\n\r\nChocolatey doesn't seem to use the v3: https://api.chocolatey.org/v3/flatcontainer/scriptcs/index.json, so we can't use it even for versions.\r\n\r\nWe cannot find the v3 endpoint for myget: neither https://www.myget.org/F/yolodev/api/v3/flatcontainer/fsharpsupport/index.json nor https://api.myget.org/F/yolodev/v3/flatcontainer/fsharpsupport/index.json work.\r\n\r\n---\r\n\r\n(Original comment here.)\r\n\r\nThe NuGet badges are inaccessible for days. Is this a rate limit? Is there something I can do? Is this for every visitor?  Can you cache more at your side?\r\n\r\nCurrent what I see:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5808377/13143570/1815b736-d645-11e5-9dc8-7802284a3136.png)\r\n\r\nOne of the links:\r\n\r\n- https://img.shields.io/nuget/v/NLog.svg \r\n- https://www.nuget.org/packages/NLog\r\n\r\nWe see it also on shield.io:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5808377/13143605/579a4980-d645-11e5-9e29-03ac21218f5e.png)\r\n\r\nWe have arround 5K views/day\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5808377/13143639/988f6024-d645-11e5-9d0b-7a56d9117dc9.png)\r\n"}}