[
  {
    "path": "LICENSE",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2015 James Titcumb\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "YaaS\n====\n\nYear as a Service. Providing you with extremely accurate year as an API service, since 2015.\n\n* **Current year:** https://raw.github.com/asgrim/year/master/en/currentYear\n* **Next year:** https://raw.github.com/asgrim/year/master/en/nextYear\n* **Previous year:** https://raw.github.com/asgrim/year/master/en/previousYear\n\n## Examples\n\nNote that these examples may not take into account good security practices, for example escaping output to prevent XSS vulnerabilities.\n\n### PHP\n\n```php\n<?php\n$year = file_get_contents('https://raw.github.com/asgrim/year/master/en/currentYear');\n\necho $year; // 2025\n```\n\n### Ruby\n\n```ruby\nrequire 'net/http'\nyear = Net::HTTP.get_response(URI.parse(\"https://raw.github.com/asgrim/year/master/en/currentYear\")).body\np year # 2025\n```\n\n### Python\n\n```python\nimport urllib2\nyear = urllib2.urlopen('https://raw.github.com/asgrim/year/master/en/currentYear').read(1000).strip()\nprint year; # 2025\n```\n### JavaScript\n\n```javascript\n// Fetch\nfetch('https://raw.githubusercontent.com/asgrim/year/master/en/currentYear')\n    .then(resp => resp.json())\n    .then(year => console.log(year)) // 2025\n\n// XMLHttpRequest\nlet xhr = new XMLHttpRequest()\nxhr.open('GET', 'https://raw.githubusercontent.com/asgrim/year/master/en/currentYear', true);\nxhr.onload = () => {\n    if (xhr.status >= 200 && xhr.status < 300 || xhr.status === 304) {\n        console.log(xhr.responseText)\n    }\n};\nxhr.send(); // 2020\n```\n### Bash\n\n```Bash\n#!/bin/bash\n## Fetch\npage=\"$(curl -s https://raw.githubusercontent.com/asgrim/year/master/en/currentYear)\"\necho \"$page\" # 2025\n\n```\n## BC Break\n\nIn the future, we may have to break BC by removing the root \"[currentYear](https://raw.github.com/asgrim/year/master/currentYear)\". You should use \"[en/currentYear](https://raw.github.com/asgrim/year/master/en/currentYear)\" instead.\n\n## Internationalisation (i18n)\n\nYaaS also supports the following calendars:\n\nHebrew (he):\n\n* **Current year:** https://raw.github.com/asgrim/year/master/he/currentYear\n* **Next year:** https://raw.github.com/asgrim/year/master/he/nextYear\n* **Previous year:** https://raw.github.com/asgrim/year/master/he/previousYear\n\nChinese (zh-cn):\n\n* **Current year:** https://raw.github.com/asgrim/year/master/zh-cn/currentYear\n* **Next year:** https://raw.github.com/asgrim/year/master/zh-cn/nextYear\n* **Previous year:** https://raw.github.com/asgrim/year/master/zh-cn/previousYear\n\n## FAQs\n\n**Should I use this in my real application?**\n* No.\n\n**r u troleing me?**\n* Yes.\n"
  },
  {
    "path": "currentYear",
    "content": "2026\n"
  },
  {
    "path": "en/currentYear",
    "content": "2026\n"
  },
  {
    "path": "en/isLeapYear",
    "content": "false\n"
  },
  {
    "path": "en/nextYear",
    "content": "2027\n"
  },
  {
    "path": "en/previousYear",
    "content": "2025\n"
  },
  {
    "path": "he/currentYear",
    "content": "5785\n"
  },
  {
    "path": "he/nextYear",
    "content": "5786\n"
  },
  {
    "path": "he/previousYear",
    "content": "5784\n"
  },
  {
    "path": "nextYear",
    "content": "2027\n"
  },
  {
    "path": "previousYear",
    "content": "2025\n"
  },
  {
    "path": "zh-cn/currentYear",
    "content": "4722\n"
  },
  {
    "path": "zh-cn/nextYear",
    "content": "4723\n"
  },
  {
    "path": "zh-cn/previousYear",
    "content": "4721\n"
  }
]