{"id":18402461,"url":"https://github.com/filosottile/hs-api-playground","last_synced_at":"2025-04-12T17:59:00.946Z","repository":{"id":22625659,"uuid":"25968213","full_name":"FiloSottile/hs-api-playground","owner":"FiloSottile","description":"Playground for the Hacker School API","archived":false,"fork":false,"pushed_at":"2014-10-30T13:01:27.000Z","size":153,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T17:58:57.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hs-api-playground.herokuapp.com/","language":"Python","has_issues":false,"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/FiloSottile.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":"2014-10-30T11:41:56.000Z","updated_at":"2021-05-12T00:10:36.000Z","dependencies_parsed_at":"2022-08-20T21:50:44.325Z","dependency_job_id":null,"html_url":"https://github.com/FiloSottile/hs-api-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiloSottile%2Fhs-api-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiloSottile%2Fhs-api-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiloSottile%2Fhs-api-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiloSottile%2Fhs-api-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FiloSottile","download_url":"https://codeload.github.com/FiloSottile/hs-api-playground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610387,"owners_count":21132920,"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-11-06T02:42:34.207Z","updated_at":"2025-04-12T17:59:00.903Z","avatar_url":"https://github.com/FiloSottile.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hacker School API Playground\n\nAllow HSers to play with HS API endpoints.\n\nThe Hacker School API is documented here: https://wiki.hackerschool.com/index.php/Hacker_School_API\n\n## Setup\n\n1. Clone this repo and use `pip install -r requirements.txt` to get the dependencies; you may wish to do this in a [virtual environment](https://docs.python.org/dev/library/venv.html)\n1. Create a new Heroku application\n1. Do *Create an OAuth application* on https://www.hackerschool.com/settings\n   1. Enter the redirect URL as something like `https://[app-name].herokuapp.com/oauth_authorized`\n2. Create a `keys.sh` file and put the **ID**, **Secret** and **redirect** values into it\n   ```bash\n   export CONSUMER_KEY='[your.application.id]'\n   export CONSUMER_SECRET='[your.application.secret]'\n   export REDIRECT_URI='[your.redirect.uri]'\n   ```\n\n3. Put those variables in your environment with `$ source keys.sh` and set them on Heroku with `$ heroku config:set CONSUMER_KEY=\"$CONSUMER_KEY\" CONSUMER_SECRET=\"$CONSUMER_SECRET\" REDIRECT_URI=\"$REDIRECT_URI\"`\n4. Run the dev server with `$ foreman start`\n5. Visit the server in your browser using your IP address in something like `http://localhost:5000/`. You will need to correct the URL to localhost when you are redirected.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilosottile%2Fhs-api-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilosottile%2Fhs-api-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilosottile%2Fhs-api-playground/lists"}