{"id":23244796,"url":"https://github.com/frodsan/frog","last_synced_at":"2026-04-22T16:37:40.469Z","repository":{"id":145874871,"uuid":"145684934","full_name":"frodsan/frog","owner":"frodsan","description":"Dota 2 API for Hero, Ability and Item data","archived":false,"fork":false,"pushed_at":"2018-09-01T11:57:08.000Z","size":43,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-27T03:16:02.182Z","etag":null,"topics":["cloudfunctions","dota2","javascript","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/frodsan.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-08-22T09:13:26.000Z","updated_at":"2018-09-01T11:57:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac431c2d-38b9-4707-8d33-8e9d99d382cb","html_url":"https://github.com/frodsan/frog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frodsan/frog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frodsan%2Ffrog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frodsan%2Ffrog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frodsan%2Ffrog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frodsan%2Ffrog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frodsan","download_url":"https://codeload.github.com/frodsan/frog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frodsan%2Ffrog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32145870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T15:33:03.595Z","status":"ssl_error","status_checked_at":"2026-04-22T15:30:42.712Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["cloudfunctions","dota2","javascript","nodejs"],"created_at":"2024-12-19T07:11:14.139Z","updated_at":"2026-04-22T16:37:35.460Z","avatar_url":"https://github.com/frodsan.png","language":"JavaScript","readme":"# frog\n\n[Google Cloud Function](https://cloud.google.com/functions/) that serves Dota 2 ability, hero and item data in a JSON format. It gets the data from the Steam source files through: [dotabuff/d2vpkr](https://github.com/dotabuff/d2vpkr).\n\n## Requirements\n\n- Node.js 8+\n\n## Usage\n\nTo try it in development, fire up the server with:\n\n```\n$ npm run server # or npm run s\n```\n\nTo start getting data, make a request to:\n\n```\nhttp://localhost:1437/GetSource\n```\n\n| Query param | Required | Description\n| ---- | -------- | -----------\n| type | ✓ | Can be one of: `abilities`, `heroes`, or `items`.\n| pretty | | Prettify JSON response.\n\n#### Example:\n\n```\n$ curl http://localhost:1437/GetSource?type=heroes | jq -s '.[0][0]'\n{\n  \"id\": 1,\n  \"key\": \"npc_dota_hero_antimage\",\n  \"name\": \"Anti-Mage\",\n  \"roles\": [\n    \"carry\",\n    \"escape\",\n    \"nuker\"\n  ],\n  \"complexity\": 1,\n  \"primary_attribute\": \"agi\",\n  \"base_str\": 23,\n  \"base_agi\": 22,\n  \"base_int\": 12,\n  \"str_gain\": 1.3,\n  \"agi_gain\": 2.8,\n  \"int_gain\": 1.8,\n  \"base_health\": 200,\n  \"base_mana\": 75,\n  \"base_health_regen\": 1.75,\n  \"base_mana_regen\": 0.9,\n  \"attack_type\": \"melee\",\n  \"attack_range\": 150,\n  \"attack_rate\": 1.4,\n  \"base_attack_min\": 29,\n  \"base_attack_max\": 33,\n  \"base_armor\": -1,\n  \"base_magical_resistance\": 25,\n  \"movement_speed\": 310,\n  \"movement_turn_rate\": 0.5,\n  \"abilities\": [\n    \"antimage_mana_break\",\n    \"antimage_blink\",\n    \"antimage_spell_shield\",\n    \"generic_hidden\",\n    \"generic_hidden\",\n    \"antimage_mana_void\"\n  ],\n  \"talents\": [\n    \"special_bonus_strength_10\",\n    \"special_bonus_attack_speed_20\",\n    \"special_bonus_unique_antimage_3\",\n    \"special_bonus_agility_15\",\n    \"special_bonus_unique_antimage_5\",\n    \"special_bonus_unique_antimage\",\n    \"special_bonus_unique_antimage_4\",\n    \"special_bonus_unique_antimage_2\"\n  ]\n}\n```\n\n## Deployment\n\nUse the `gcloud` utility, like:\n\n```\n$ gcloud beta functions deploy GetSource \\\n    --trigger-http \\\n    --runtime nodejs8 \\\n    --region \u003cyour-favorite-region\u003e\nDeploying function (may take a while - up to 2 minutes)...\n```\n\nThe function can be triggered at \u003chttps://[region]-[project_id].cloudfunctions.net/GetSource\u003e.\n\n## License\n\nReleased under MIT License, check LICENSE file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrodsan%2Ffrog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrodsan%2Ffrog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrodsan%2Ffrog/lists"}