{"id":18897125,"url":"https://github.com/boywithkeyboard-archive/gatewayapi","last_synced_at":"2025-08-17T14:34:21.663Z","repository":{"id":223038450,"uuid":"759157622","full_name":"boywithkeyboard-archive/gatewayapi","owner":"boywithkeyboard-archive","description":"JavaScript SDK for 📬 gatewayapi","archived":false,"fork":false,"pushed_at":"2024-09-16T13:49:42.000Z","size":67,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-08T15:48:06.326Z","etag":null,"topics":["automation","cloudflare-workers","deno","gatewayapi","javascript","js","nodejs","sdk","sms","sms-api","sms-gateway","sms-service"],"latest_commit_sha":null,"homepage":"https://npmjs.com/gatewayapi","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/boywithkeyboard-archive.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"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":"boywithkeyboard"}},"created_at":"2024-02-17T20:02:12.000Z","updated_at":"2024-06-27T00:46:04.000Z","dependencies_parsed_at":"2024-02-26T18:44:04.958Z","dependency_job_id":"6cac222e-60af-4807-bc99-60797568d7ac","html_url":"https://github.com/boywithkeyboard-archive/gatewayapi","commit_stats":null,"previous_names":["boywithkeyboard/gatewayapi","boywithkeyboard-archive/gatewayapi"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/boywithkeyboard-archive/gatewayapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boywithkeyboard-archive%2Fgatewayapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boywithkeyboard-archive%2Fgatewayapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boywithkeyboard-archive%2Fgatewayapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boywithkeyboard-archive%2Fgatewayapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boywithkeyboard-archive","download_url":"https://codeload.github.com/boywithkeyboard-archive/gatewayapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boywithkeyboard-archive%2Fgatewayapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270859128,"owners_count":24658161,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["automation","cloudflare-workers","deno","gatewayapi","javascript","js","nodejs","sdk","sms","sms-api","sms-gateway","sms-service"],"created_at":"2024-11-08T08:36:24.254Z","updated_at":"2025-08-17T14:34:21.594Z","avatar_url":"https://github.com/boywithkeyboard-archive.png","language":"TypeScript","funding_links":["https://github.com/sponsors/boywithkeyboard"],"categories":[],"sub_categories":[],"readme":"## gatewayapi(.js)\n\n### Setup\n\n\u003e [!IMPORTANT]  \n\u003e You need to open a [gatewayapi](https://gatewayapi.com) account first to use this module. After you have signed up, you can create a new API token [here](https://gatewayapi.com/app/settings/api-oauth/).\n\n#### Deno\n\n```ts\nimport { Client } from 'https://esm.sh/gatewayapi'\n```\n\n#### Node.js\n\n```bash\nnpm i gatewayapi\n```\n\n```ts\nimport { Client } from 'gatewayapi'\n```\n\n### Usage\n\nThe SDK is fully typed, so getting started shouldn't be much of a challenge.\n\n```ts\nconst gatewayapi = new Client({\n  token: '...'\n})\n```\n\n#### `getAccountBalance()`\n\n```ts\nconst { data, error } = await gatewayapi.getAccountBalance()\n```\n\n#### `getPrices()`\n\n```ts\nconst { data, error } = await gatewayapi.getPrices({\n  format: 'json'\n})\n```\n\n#### `sendMessage()`\n\n```ts\nconst { data, error } = await gatewayapi.sendMessage({\n  sender: 'You',\n  message: '123456 is your verification code.',\n  to: 4566118311 // +45 66118311\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboywithkeyboard-archive%2Fgatewayapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboywithkeyboard-archive%2Fgatewayapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboywithkeyboard-archive%2Fgatewayapi/lists"}