{"id":18488420,"url":"https://github.com/sendinblue/APIv3-typescript-library","last_synced_at":"2025-04-08T21:30:28.760Z","repository":{"id":35120710,"uuid":"208754586","full_name":"sendinblue/APIv3-typescript-library","owner":"sendinblue","description":"SendinBlue's API v3 client ","archived":false,"fork":false,"pushed_at":"2023-08-17T03:36:22.000Z","size":888,"stargazers_count":40,"open_issues_count":15,"forks_count":19,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-06T13:00:49.008Z","etag":null,"topics":["api","deprecated","javascript","nodejs","obsolete","sendinblue","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sendinblue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-16T08:57:22.000Z","updated_at":"2024-04-29T13:30:41.000Z","dependencies_parsed_at":"2024-11-06T12:57:36.013Z","dependency_job_id":"ec861a1a-8920-4359-a402-2712ade4e7d6","html_url":"https://github.com/sendinblue/APIv3-typescript-library","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendinblue%2FAPIv3-typescript-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendinblue%2FAPIv3-typescript-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendinblue%2FAPIv3-typescript-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sendinblue%2FAPIv3-typescript-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sendinblue","download_url":"https://codeload.github.com/sendinblue/APIv3-typescript-library/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247930961,"owners_count":21020141,"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":["api","deprecated","javascript","nodejs","obsolete","sendinblue","typescript"],"created_at":"2024-11-06T12:51:42.683Z","updated_at":"2025-04-08T21:30:28.755Z","avatar_url":"https://github.com/sendinblue.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# [DEPRECATED:warning:] APIv3-typescript-library\n\nSendinBlue's API v3 TypeScript-Node Library\n\nSendinBlue's API exposes the entire SendinBlue features via a standardized programmatic interface. Please refer to the full [documentation](https://developers.sendinblue.com) to learn more.\n\nThis is the wrapper for the API. It implements all the features of the API v3. It supports promises.\n\nSendinBlue's API matches the [OpenAPI v2 definition](https://www.openapis.org/). The specification can be downloaded [here](https://api.sendinblue.com/v3/swagger_definition.yml).\n\n## Installation\n\n### For [Node.js](https://nodejs.org/)\n\n#### npm\n\nThe following recommended installation requires [npm](https://npmjs.org/). If you are unfamiliar with npm, see the [npm docs](https://npmjs.org/doc/).\n\nThen install it via:\n\n```shell\nnpm install @sendinblue/client --save\n# or\nyarn add @sendinblue/client\n```\n\n## Getting Started\n\nOnce you have [installed](#installation) the node module in your project, you can execute the following sample code JS code :\n\n```javascript\nimport * as SibApiV3Sdk from '@sendinblue/client'\n\nconst apiInstance = new SibApiV3Sdk.AccountApi()\n\n// Configure API key authorization: apiKey\n\napiInstance.setApiKey(SibApiV3Sdk.AccountApiApiKeys.apiKey, 'YOUR API KEY')\n\napiInstance.getAccount().then(\n  function (data) {\n    console.log('API called successfully. Returned data: ', data.body)\n  },\n  function (error) {\n    console.error(error)\n  }\n)\n```\n\n```javascript\nimport * as SibApiV3Sdk from '@sendinblue/client'\n\nconst apiInstance = new SibApiV3Sdk.ContactsApi()\n\n// Configure API key authorization: apiKey\n\napiInstance.setApiKey(SibApiV3Sdk.ContactsApiApiKeys.apiKey, 'YOUR API KEY')\n\nconst limit = 10 // Number | Number of documents per page\nconst offset = 0 // Number | Index of the first document of the page\n\napiInstance.getLists(limit, offset).then(\n  function (data) {\n    console.log('API called successfully. Returned data: ', data.body)\n    apiInstance.getAttributes().then(\n      function (data) {\n        console.log('API called successfully. Returned data: ', data.body)\n      },\n      function (error) {\n        console.error(error)\n      }\n    )\n  },\n  function (error) {\n    console.error(error)\n  }\n)\n```\n\nFor more examples, refer the [Endpoints Guide](https://developers.sendinblue.com/reference)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsendinblue%2FAPIv3-typescript-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsendinblue%2FAPIv3-typescript-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsendinblue%2FAPIv3-typescript-library/lists"}