{"id":26503989,"url":"https://github.com/nadirhaciyev/steamwebapi-trade-bot","last_synced_at":"2026-04-11T15:34:22.900Z","repository":{"id":219598967,"uuid":"749335186","full_name":"NadirHaciyev/steamwebapi-trade-bot","owner":"NadirHaciyev","description":"The official Node.js / Typescript library for the Steamwebapi API","archived":false,"fork":false,"pushed_at":"2024-02-07T13:21:46.000Z","size":125,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T02:39:56.146Z","etag":null,"topics":["api","counter-strike","javascript","node","nodejs","steam","steam-api","steamwebapi","typescript","valve","wrapper","wrapper-api"],"latest_commit_sha":null,"homepage":"https://www.steamwebapi.com/api/doc/","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/NadirHaciyev.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}},"created_at":"2024-01-28T09:23:05.000Z","updated_at":"2024-04-22T23:07:52.000Z","dependencies_parsed_at":"2024-02-06T10:47:17.284Z","dependency_job_id":"4e415352-3a8a-4b2e-9e1b-67c098628205","html_url":"https://github.com/NadirHaciyev/steamwebapi-trade-bot","commit_stats":null,"previous_names":["nadirhaciyev/steamwebapi-node","nadirhaciyev/steamwebapi-wrapper"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NadirHaciyev%2Fsteamwebapi-trade-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NadirHaciyev%2Fsteamwebapi-trade-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NadirHaciyev%2Fsteamwebapi-trade-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NadirHaciyev%2Fsteamwebapi-trade-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NadirHaciyev","download_url":"https://codeload.github.com/NadirHaciyev/steamwebapi-trade-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244676454,"owners_count":20491828,"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","counter-strike","javascript","node","nodejs","steam","steam-api","steamwebapi","typescript","valve","wrapper","wrapper-api"],"created_at":"2025-03-20T19:29:39.841Z","updated_at":"2025-12-31T00:04:53.050Z","avatar_url":"https://github.com/NadirHaciyev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Steamwebapi Trade Bot\n\n\u003cp align=\"center\"\u003e\n  Wrapper created for \n  \u003ca href=\"https://www.steamwebapi.com/\"\u003e\n    Steamwebapi\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/NadirHaciyev/steamwebapi-trade-bot/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/steamwebapi-trade-bot.svg\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/steamwebapi-trade-bot\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/steamwebapi-trade-bot.svg\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/NadirHaciyev/steamwebapi-trade-bot/releases\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/steamwebapi-trade-bot.svg\" alt=\"Latest Release\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nThis library provides convenient access to the Steamwebapi REST API from TypeScript or JavaScript.\n\nTo learn how to use the Steamwebapi API, check out our [API Reference](https://www.steamwebapi.com/api/list) and [Documentation](https://www.steamwebapi.com/api/doc/steam-trading-bot-api).\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Config Defaults](#config-defaults)\n- [Handling Errors](#handling-errors)\n- [Examples](#examples)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\n```bash\npnpm add steamwebapi-trade-bot\n# or\nnpm install steamwebapi-trade-bot\n# or\nyarn add steamwebapi-trade-bot\n```\n\n## Usage\n\nTo use this wrapper, you first need to obtain an API key from the Steam Web API. Follow these steps to get your API key:\n\n1. Go to the [Steam Web API Key Page](https://steamwebapi.com).\n2. Log in with your Steam account. If you do not have an account, you will need to create one.\n3. Fill in the required information to request an API key. This key will be necessary to access the Steam Web API.\n\nThe code below shows how to get started using the Steamwebapi Trade Bot API.\n\n\u003c!-- The full API of this library can be found in [api.md file](api.md) along with many [code examples](https://github.com/NadirHaciyev/steamwebapi-trade-bot/tree/main/examples). The code below shows how to get started using the Steamwebapi API. --\u003e\n\n\u003c!-- prettier-ignore --\u003e\n```ts\nimport Trade from \"steamwebapi-trade-bot\";\n\n// Create instance by providing API Key\nconst trade = new Trade(\"STEAMWEBAPI_API_KEY\");\n\n// Get Trade Offers\nasync function main() {\n  const offers = await trade.getOffers({ /* options */ });\n\n  console.log(offers.data);\n}\n\nmain();\n```\n\n### Config Defaults\n\nYou can specify config defaults that will be applied to every request.\n\n**Custom instance defaults**\n\n```ts\n// Set config defaults when creating the instance\nconst trade = new Trade(\"STEAMWEBAPI_API_KEY\", { assetid: \"ASSET_ID\" });\n\n// Override per-request:\nawait trade.getOffers({ assetid: \"NEW_ASSET_ID\" });\n```\n\n**Global trade defaults**\n\n```ts\ntrade.defaults.assetid = \"ASSET_ID\";\ntrade.defaults.steamcommunityapikey = \"STEAM_COMMUNITY_API_KEY\";\n```\n\n## Examples\n\nFor more examples check the [examples directory](https://github.com/NadirHaciyev/steamwebapi-trade-bot/tree/main/examples).\n\n## Contributing\n\nContributions to this project are welcome! If you encounter a bug or have a feature request, feel free to open an issue. Pull requests with improvements or new features are also appreciated.\n\n## License\n\nThis API wrapper is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadirhaciyev%2Fsteamwebapi-trade-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnadirhaciyev%2Fsteamwebapi-trade-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadirhaciyev%2Fsteamwebapi-trade-bot/lists"}