{"id":35222445,"url":"https://github.com/scaleway/scaleway-sdk-js","last_synced_at":"2026-06-03T07:05:52.760Z","repository":{"id":44032001,"uuid":"511505701","full_name":"scaleway/scaleway-sdk-js","owner":"scaleway","description":"Integrate Scaleway with your JS application","archived":false,"fork":false,"pushed_at":"2026-03-09T14:27:19.000Z","size":110935,"stargazers_count":38,"open_issues_count":11,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-09T14:34:04.657Z","etag":null,"topics":["api","nodejs","scaleway","sdk","sdk-js","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@scaleway/sdk","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scaleway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-07-07T11:46:54.000Z","updated_at":"2026-03-09T13:55:12.000Z","dependencies_parsed_at":"2025-12-15T13:06:40.828Z","dependency_job_id":null,"html_url":"https://github.com/scaleway/scaleway-sdk-js","commit_stats":{"total_commits":641,"total_committers":10,"mean_commits":64.1,"dds":0.5210608424336973,"last_synced_commit":"6fd59dd9be0aa7e727d31d60089ec84e7cb4c8e2"},"previous_names":[],"tags_count":964,"template":false,"template_full_name":null,"purl":"pkg:github/scaleway/scaleway-sdk-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fscaleway-sdk-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fscaleway-sdk-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fscaleway-sdk-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fscaleway-sdk-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scaleway","download_url":"https://codeload.github.com/scaleway/scaleway-sdk-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scaleway%2Fscaleway-sdk-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30469867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","nodejs","scaleway","sdk","sdk-js","typescript"],"created_at":"2025-12-30T00:22:03.665Z","updated_at":"2026-03-13T16:02:39.969Z","avatar_url":"https://github.com/scaleway.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scaleway JS SDK\n\nThis SDK enables you to interact with Scaleway APIs.\n\n\u003e **Note**\n\u003e The SDK works exclusively within a Node.js environment, as browser requests are limited by CORS restrictions.\n\n**🔗  Important links:**\n\n- [Reference documentation](https://scaleway.github.io/scaleway-sdk-js)\n- [Example projects](./examples)\n- [Developers website](https://developers.scaleway.com) (API documentation)\n\n## Getting Started\n\nYou'll need a pair of access and secret keys to connect to Scaleway API. Please check the [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/iam/how-to/create-api-keys/) on how to retrieve them.\n\n**A minimal setup** would look like this:\n\n```ts\nimport { Registry, createClient } from '@scaleway/sdk'\n\nconst client = createClient({\n  accessKey: 'SCWXXXXXXXXXXXXXXXXX',\n  secretKey: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',\n  defaultProjectId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',\n  defaultRegion: 'fr-par',\n  defaultZone: 'fr-par-1',\n})\n\nconst api = new Registry.v1.API(client)\n```\n\n**For a simpler setup**, you could retrieve the profile from either the configuration file or the environment variables:\n\n```ts\nimport {\n  loadProfileFromConfigurationFile,\n  // loadProfileFromEnvironmentValues,\n} from '@scaleway/configuration-loader'\n\nconst profile = loadProfileFromConfigurationFile() // loadProfileFromEnvironmentValues()\nconst client = createClient(profile)\n```\n\n**For more advanced needs**, please check the examples.\n\n### Pagination\n\nWe included some pagination helpers for the methods supporting the feature. Let's take `listNamespaces()` (Registry product) as an example:\n\nRetrieve the **first page**:\n\n```ts\nconst namespaces = await api.listNamespaces(/*{ page: 1 }*/)\n```\n\nRetrieve **all the pages**:\n\n```ts\nconst allNamespaces = await api.listNamespaces().all()\n```\n\n**Iterate** over the pages:\n\n```ts\nfor await (const page of api.listNamespaces()) {\n  //\n}\n```\n\n### Types\n\nThe project is coded with Typescript, so don't hesitate to take advantage of it.\n\n1. All **types of a product** are stored in the `Product.version` namespace. For instance, the `Image` interface of Registry v1 can be accessed with `Registry.v1.Image`.\n\n2. We export **errors** in the namespace `Errors`, allowing you to differentiate the cases (e.g. `Errors.PermissionsDeniedError`).\n\n## Contributing Guidelines\n\nThis repository is at its early stage and is still in active development.\nIf you are looking for a way to contribute please read [CONTRIBUTING.md](./CONTRIBUTING.md).\n\n## Reach us\n\nWe love feedback. Feel free to reach us on [Scaleway Slack community](https://slack.scaleway.com/), we are waiting for you on [#opensource](https://scaleway-community.slack.com/app_redirect?channel=opensource).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleway%2Fscaleway-sdk-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscaleway%2Fscaleway-sdk-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleway%2Fscaleway-sdk-js/lists"}