{"id":13477364,"url":"https://github.com/thecopy/apiary2postman","last_synced_at":"2025-04-07T06:06:36.560Z","repository":{"id":57410825,"uuid":"20320955","full_name":"thecopy/apiary2postman","owner":"thecopy","description":"Tool for generating a Postman collection from Blueprint API markup or the Apiary API","archived":false,"fork":false,"pushed_at":"2018-01-31T15:27:37.000Z","size":41,"stargazers_count":206,"open_issues_count":4,"forks_count":28,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-30T21:10:05.034Z","etag":null,"topics":["api-blueprint","apiary","drafter","postman","postman-apps","postman-collection","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/thecopy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-30T07:35:11.000Z","updated_at":"2025-03-10T23:57:56.000Z","dependencies_parsed_at":"2022-08-28T01:21:25.492Z","dependency_job_id":null,"html_url":"https://github.com/thecopy/apiary2postman","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecopy%2Fapiary2postman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecopy%2Fapiary2postman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecopy%2Fapiary2postman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecopy%2Fapiary2postman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecopy","download_url":"https://codeload.github.com/thecopy/apiary2postman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601447,"owners_count":20964864,"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-blueprint","apiary","drafter","postman","postman-apps","postman-collection","python"],"created_at":"2024-07-31T16:01:41.706Z","updated_at":"2025-04-07T06:06:36.531Z","avatar_url":"https://github.com/thecopy.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"apiary2postman\n==============\n\nTool for generating a Postman collection from an API Blueprint, or an API Blueprint hosted on Apiary.\n\nSupports\n\n  * [API Blueprint](https://apiblueprint.org)\n  * [API Blueprint AST](https://github.com/apiaryio/api-blueprint-ast), which can be generated by [Drafter](https://github.com/apiaryio/drafter)\n  * Fetching an API Blueprint from Apiary API\n\n    \n# Prerequisites\n\n[Drafter](https://github.com/apiaryio/drafter) \u003c 2.0 is required if you want to use API Blueprint/Apiary API.\n\nTo install on OS X:\n\n    brew install --HEAD https://raw.githubusercontent.com/apiaryio/drafter/b3dce8dda5d48b36e963abeffe5b0de7afecac3d/tools/homebrew/drafter.rb\n    \nTo install from source:\n\n    git clone https://github.com/apiaryio/drafter\n    cd drafter\n    git checkout b3dce8d # This is the commit for release 0.1.9\n    git submodule update --init --recursive # Get all the dependencies needed for compile\n    ./configure\n    make\n    sudo make install\n\nDrafter is used to convert Blueprint API to JSON. The preferred version is v0.1.9.\nDrafter v2 changed the JSON output format to be incomptabile with apiary2postman.\nFeel free to submit a pull request which fixes this.\n\n# Installation\n\n    pip install apiary2postman\n\n### Or, run from your checkout\n\n    git clone \u003crepo-url\u003e\n    cd apiary2postman/apiary2postman\n    ./apiary2postman.py \u003cargs\u003e\n\n# Usage\n\n    apiary2postman json blueprint.json --output postman.json\n\n##### If you have the API Blueprint, use the `blueprint` subcommand:\n\n    apiary2postman blueprint some.blueprint \u003e postman.dump\n  \nIt is also possible to pipe everything:\n\n    cat some.blueprint | apiary2postman blueprint \u003e postman.dump\n\n##### To generate a total Postman environment dump from Apiary API, use the `api` subcommand with your Apiary API name:\n \n    apiary2postman api my_api \u003e my_api.dump\n\nIf you don't have an API key, go to https://login.apiary.io/tokens. Generate one if needed, and set the environment variable `APIARY_API_KEY` to that hex string.\n\n    APIARY_API_KEY=ffffffffffffffffffffffffffffffff apiary2postman api my_api \u003e my_api.dump\n\nOr to generate only a Postman collection from Apiary API:\n\n    apiary2postman --only-collection api my_api \u003e my_api.collection\n\nIt's also possible to specify the output file using the `--output`.\n\n##### If you have the API Blueprint AST already generated, use the `json` subcommand:\n\n    apiary2postman json some.json \u003e postman.dump\n    \nIt is also possible to pipe everything:\n\n    cat some.json | apiary2postman json \u003e postman.dump\n\n##### Single Collection\nTo force all resource groups to be created as Folder within the same Postman collection use `--single-collection` option.\n\n# Contribution\n\nContributions are greatly appreciated. What is most lacking is tests and would be super-grealy appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecopy%2Fapiary2postman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecopy%2Fapiary2postman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecopy%2Fapiary2postman/lists"}