{"id":22218969,"url":"https://github.com/ajamous/response-codes-api-client","last_synced_at":"2025-08-11T04:19:36.130Z","repository":{"id":212066657,"uuid":"730648218","full_name":"ajamous/response-codes-api-client","owner":"ajamous","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-12T11:42:15.000Z","size":378,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T03:55:59.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ajamous.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-12T11:29:01.000Z","updated_at":"2023-12-12T13:08:06.000Z","dependencies_parsed_at":"2023-12-12T11:37:23.337Z","dependency_job_id":"259e7e74-67fa-47d6-a391-ab0f29d2f4ab","html_url":"https://github.com/ajamous/response-codes-api-client","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"56ed936562d977b30694a381f02010268871daaf"},"previous_names":["ajamous/response-codes-api-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ajamous/response-codes-api-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajamous%2Fresponse-codes-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajamous%2Fresponse-codes-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajamous%2Fresponse-codes-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajamous%2Fresponse-codes-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajamous","download_url":"https://codeload.github.com/ajamous/response-codes-api-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajamous%2Fresponse-codes-api-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269828793,"owners_count":24481796,"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-11T02:00:10.019Z","response_time":75,"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":[],"created_at":"2024-12-02T22:30:01.243Z","updated_at":"2025-08-11T04:19:36.104Z","avatar_url":"https://github.com/ajamous.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Response Codes API Client\n\nThis is a client library for interacting with the Response Codes API, providing easy access to SMPP, HTTP, and SIP error codes and their descriptions.\n\n## Installation\n\nInstall the package using npm:\n\n```bash\nnpm install response-codes-api-client\n```\n\n\n## Usage\n\nHere's how you can use the library:\n\n```javascript\nconst responseCodesClient = require('response-codes-api-client');\n\nasync function getCodes() {\n  try {\n    // Fetch all SMPP error codes\n    const smppCodes = await responseCodesClient.getAllSMPPErrorCodes();\n    console.log(smppCodes);\n\n    // Fetch a specific HTTP error code description\n    const httpCodeDesc = await responseCodesClient.getHTTPResponseCodeDescription(404);\n    console.log(httpCodeDesc);\n\n    // Similarly, use other available functions\n    // ...\n  } catch (error) {\n    console.error(error);\n  }\n}\n\ngetCodes();\n\n```\n\n## API\n\n`getAllSMPPErrorCodes()`\nFetches all SMPP error codes.\n\n`getSMPPErrorCodeDescription(errorCode)`\nFetches the description for a specific SMPP error code.\n\n`errorCode` (int): The specific SMPP error code.\n\n`getAllHTTPResponseCodes()`\nFetches all HTTP response codes.\n\n`getHTTPResponseCodeDescription(code)`\nFetches the description for a specific HTTP response code.\n\ncode (int): The specific HTTP response code.\n\n`getAllSIPResponseCodes()`\nFetches all SIP response codes.\n\n`getSIPResponseCodeDescription(code)`\nFetches the description for a specific SIP response code.\n\ncode (int): The specific SIP response code.\n\n## Contributing\n\nContributions, issues, and feature requests are welcome! Feel free to check issues page https://github.com/ajamous/response-codes-api-client/issues\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajamous%2Fresponse-codes-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajamous%2Fresponse-codes-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajamous%2Fresponse-codes-api-client/lists"}