{"id":20181320,"url":"https://github.com/codepope/httpie-apikeyquery","last_synced_at":"2025-07-04T10:34:00.263Z","repository":{"id":75009295,"uuid":"359857755","full_name":"codepope/httpie-apikeyquery","owner":"codepope","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-21T15:20:07.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T06:29:36.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/codepope.png","metadata":{"files":{"readme":"README.rst","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":"2021-04-20T15:07:06.000Z","updated_at":"2024-11-28T16:34:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d1b5c58-1c8f-4411-9d0a-1f726d7a7510","html_url":"https://github.com/codepope/httpie-apikeyquery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codepope/httpie-apikeyquery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepope%2Fhttpie-apikeyquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepope%2Fhttpie-apikeyquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepope%2Fhttpie-apikeyquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepope%2Fhttpie-apikeyquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codepope","download_url":"https://codeload.github.com/codepope/httpie-apikeyquery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepope%2Fhttpie-apikeyquery/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263493374,"owners_count":23475184,"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-14T02:35:05.506Z","updated_at":"2025-07-04T10:34:00.228Z","avatar_url":"https://github.com/codepope.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"httpie-apikeyquery\n==================\n\nFor situations where the API key is passed as a parameter in the query.\n\nVery much based on code in requests_auth_.\n\n.. _requests_auth: https://github.com/Colin-b/requests_auth\n\nInstalling\n----------\n\nClone the repository then `cd` into the cloned directory and run:\n\n.. code-block:: shell\n\n    python3 setup.py install\n\nEnsure that the Python used here is the same one that HTTPie runs with.\n\nConfirm installation by running `http --help` and referring to the Authentication `auth-type` section where you should find an entry for apikey.\n\nUsage\n-----\n\nSet --auth-type to apikey and for credentials set -a to \"query parameter name:key value\". If you skip the query parameter name, it will default to `api_key`.\n\nFor example:\n\n.. code-block:: shell\n\n    https --auth-type apikey -a \":7e23cee5bfb742e781fccc26b9e9009f\" api.themoviedb.org/3/movie/550\n\n\nUsage with sessions\n-------------------\n\nThis is most useful when used with HTTPie sessions_.\n\n.. _sessions: https://httpie.io/docs#sessions\n\nPerform a request with `--session name` and the `--auth-type` and `-a` settings like so:\n\n.. code-block:: shell\n\n   https --session tmdb --auth-type apikey -a \":7e23cee5bfb742e781fccc26b9e9009f\" api.themoviedb.org/3/movie/550\n\nThe named session retains the authentication data, so now you just refer to that session to make a new query:\n\n.. code-block:: shell\n\n   https --session tmdb api.themoviedb.org/3/movie/551\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepope%2Fhttpie-apikeyquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodepope%2Fhttpie-apikeyquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepope%2Fhttpie-apikeyquery/lists"}