{"id":19784833,"url":"https://github.com/vladholubiev/aws-news-api-client","last_synced_at":"2026-04-30T12:31:30.860Z","repository":{"id":108277497,"uuid":"609634402","full_name":"vladholubiev/aws-news-api-client","owner":"vladholubiev","description":"AWS News API Client with retry behavior","archived":false,"fork":false,"pushed_at":"2024-06-09T20:11:54.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T02:52:55.879Z","etag":null,"topics":["aws","npm-package"],"latest_commit_sha":null,"homepage":"https://awsnews.info","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vladholubiev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://send.monobank.ua/2A11P2NhMq"]}},"created_at":"2023-03-04T19:15:01.000Z","updated_at":"2024-06-09T20:11:56.000Z","dependencies_parsed_at":"2024-11-12T06:22:55.846Z","dependency_job_id":null,"html_url":"https://github.com/vladholubiev/aws-news-api-client","commit_stats":null,"previous_names":["vladholubiev/aws-news-api-client"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladholubiev%2Faws-news-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladholubiev%2Faws-news-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladholubiev%2Faws-news-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladholubiev%2Faws-news-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vladholubiev","download_url":"https://codeload.github.com/vladholubiev/aws-news-api-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241117305,"owners_count":19912518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","npm-package"],"created_at":"2024-11-12T06:12:50.914Z","updated_at":"2026-04-30T12:31:25.840Z","avatar_url":"https://github.com/vladholubiev.png","language":"TypeScript","funding_links":["https://send.monobank.ua/2A11P2NhMq"],"categories":[],"sub_categories":[],"readme":"# aws-news-api-client [![CircleCI](https://circleci.com/gh/vladgolubev/aws-news-api-client/tree/master.svg?style=svg)](https://circleci.com/gh/shelfio/aws-news-api-client/tree/master)![](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)\n\n\u003e AWS News API Client with retry behavior\n\n## Install\n\n```\n$ yarn add @vladholubiev/aws-news-api-client\n```\n\n## Usage\n\n```js\nconst {\n  fetchPageOfNews,\n  getTotalPagesCount,\n  getYearsWithData,\n} = require('@vladholubiev/aws-news-api-client');\n\n// fetches 100 news from 2023\n// page numbering starts from 1\nawait fetchPageOfNews({year: 2023, pageNumber: 1, pageSize: 100});\n\n// returns total number of pages for 2023, useful for iteration with the fetchPageOfNews method\nawait getTotalPagesCount({year: 2023, pageSize: 100});\n\ngetYearsWithData(); // returns array of years with news from 2004 till now\n```\n\n`fetchPageOfNews` has retry logic, so it will retry a request for up to 5 times.\n\n**Note:** API doesn't return more than 100th page. In 2022 there were 2103 news. So if your page size is 100, you will get 21 pages.\nDon't select page size \u003c 22, otherwise you'll not get all the news.\n\n## Publish\n\n```sh\n$ git checkout master\n$ yarn version\n$ yarn publish\n$ git push origin master --tags\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladholubiev%2Faws-news-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvladholubiev%2Faws-news-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladholubiev%2Faws-news-api-client/lists"}