{"id":13822014,"url":"https://github.com/konsumer/humblebundle","last_synced_at":"2025-03-19T03:30:40.079Z","repository":{"id":57148627,"uuid":"58817519","full_name":"konsumer/humblebundle","owner":"konsumer","description":"Simple nodejs API for Humble Bundle purchases","archived":false,"fork":false,"pushed_at":"2016-05-14T19:13:42.000Z","size":9,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T13:21:07.893Z","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/konsumer.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}},"created_at":"2016-05-14T16:17:13.000Z","updated_at":"2023-11-16T07:15:33.000Z","dependencies_parsed_at":"2022-08-31T23:50:28.905Z","dependency_job_id":null,"html_url":"https://github.com/konsumer/humblebundle","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Fhumblebundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Fhumblebundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Fhumblebundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Fhumblebundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konsumer","download_url":"https://codeload.github.com/konsumer/humblebundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243965768,"owners_count":20375916,"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":[],"created_at":"2024-08-04T08:01:38.158Z","updated_at":"2025-03-19T03:30:39.820Z","avatar_url":"https://github.com/konsumer.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# humblebundle\n\nA simple nodejs API for reading your Humble Bundle purchases.\n\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\n\n## usage\n\nInstall with `npm install humblebundle`.\n\nHere is an example of getting some info:\n\n```js\nvar humblebundle = require('humblebundle')\n\nhumblebundle.login(email, password)\n  .then(function(){\n    // get list of orders\n    return humblebundle.order()\n  })\n  .then(function(orders){\n    // get a single order by ID\n    return humblebundle.order(orders[0])\n  })\n  .then(function(order){\n    console.log(order)\n  })\n  .catch(function(err){\n    throw err\n  })\n\n```\n\n### tests\n\nRun them tests with `npm test`. You will need to set these environment variables:\n\n```\nHUMBLE_EMAIL\nHUMBLE_PASSWORD\n```\n\n## api\n\nAll of these return promises.\n\n\n### `login(email, password)`\n\nAuthenticate yourslf with Humble Bundle. Used to get the cookies used in other API calls. \n\n\n### `order([id])`\n\nIf you leave out `id`, you'll get a list of your orders. If you include it, you'll get details about the order.\n\n\n### `claimed()`\n\nGet list of all the claimed entities for a user. This takes a really long time (45 seconds on my connection.)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2Fhumblebundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonsumer%2Fhumblebundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2Fhumblebundle/lists"}