All Projects → thecopy → Apiary2postman

thecopy / Apiary2postman

Licence: mit
Tool for generating a Postman collection from Blueprint API markup or the Apiary API

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Apiary2postman

Pmtoapib
Tool to convert Postman collection exports to Api Blueprint documentation
Stars: ✭ 34 (-82.47%)
Mutual labels:  api-blueprint, postman, postman-collection
postman-webex
Postman collections for Webex REST APIs
Stars: ✭ 97 (-50%)
Mutual labels:  postman, postman-collection
Azuredevops Postman Collections
The collections allow you to test common Azure DevOps Rest APIs from within Postman.
Stars: ✭ 182 (-6.19%)
Mutual labels:  postman, postman-collection
Postman To K6
Converts Postman collections to k6 script code
Stars: ✭ 180 (-7.22%)
Mutual labels:  postman, postman-collection
pmpact
A command line tool to convert Pact files to Postman collections.
Stars: ✭ 15 (-92.27%)
Mutual labels:  postman, postman-collection
trello-postman-collection
A Postman collection for Trello REST API
Stars: ✭ 20 (-89.69%)
Mutual labels:  postman, postman-collection
Postman Code Generators
Common repository for all code generators shipped with Postman
Stars: ✭ 526 (+171.13%)
Mutual labels:  postman, postman-collection
axon
Autogenerate Integration Tests
Stars: ✭ 49 (-74.74%)
Mutual labels:  postman, postman-collection
Newman
Newman is a command-line collection runner for Postman
Stars: ✭ 5,607 (+2790.21%)
Mutual labels:  postman, postman-collection
Messenger Platform Postman Collection
A delicious Postman collection for all your Messenger Platform needs.
Stars: ✭ 150 (-22.68%)
Mutual labels:  postman, postman-collection
Blueman
Convert a generated API Blueprint JSON file into a Postman collection
Stars: ✭ 145 (-25.26%)
Mutual labels:  api-blueprint, postman
Swaggman
OpenAPI Spec SDK and Converter for OpenAPI 3.0 and 2.0 Specs to Postman 2.0 Collections. Example RingCentral spec included.
Stars: ✭ 94 (-51.55%)
Mutual labels:  postman, postman-collection
graphql-to-postman
Plugin for converting GraphQL to the Postman Collection (v2) format
Stars: ✭ 27 (-86.08%)
Mutual labels:  postman, postman-collection
postman-to-k6
Converts Postman collections to k6 script code
Stars: ✭ 269 (+38.66%)
Mutual labels:  postman, postman-collection
openman
Postman to OpenAPI Spec converter with mocking and documentation
Stars: ✭ 17 (-91.24%)
Mutual labels:  postman, postman-collection
Gin Boilerplate
The fastest way to deploy a restful api's with Gin Framework with a structured project that defaults to PostgreSQL database and JWT authentication middleware stored in Redis
Stars: ✭ 559 (+188.14%)
Mutual labels:  postman, postman-collection
Restdocs To Postman
Converts Spring REST Docs cURL snippets to Postman and Insomnia collections
Stars: ✭ 39 (-79.9%)
Mutual labels:  postman, postman-collection
Covid 19 Apis
Postman COVID-19 API Resource Center—API collections to help in the COVID-19 fight.
Stars: ✭ 111 (-42.78%)
Mutual labels:  postman, postman-collection
Usaspending Api
Server application to serve U.S. federal spending data via a RESTful API
Stars: ✭ 166 (-14.43%)
Mutual labels:  api-blueprint
Astra
Automated Security Testing For REST API's
Stars: ✭ 1,898 (+878.35%)
Mutual labels:  postman-collection

apiary2postman

Tool for generating a Postman collection from an API Blueprint, or an API Blueprint hosted on Apiary.

Supports

Prerequisites

Drafter < 2.0 is required if you want to use API Blueprint/Apiary API.

To install on OS X:

brew install --HEAD https://raw.githubusercontent.com/apiaryio/drafter/b3dce8dda5d48b36e963abeffe5b0de7afecac3d/tools/homebrew/drafter.rb

To install from source:

git clone https://github.com/apiaryio/drafter
cd drafter
git checkout b3dce8d # This is the commit for release 0.1.9
git submodule update --init --recursive # Get all the dependencies needed for compile
./configure
make
sudo make install

Drafter is used to convert Blueprint API to JSON. The preferred version is v0.1.9. Drafter v2 changed the JSON output format to be incomptabile with apiary2postman. Feel free to submit a pull request which fixes this.

Installation

pip install apiary2postman

Or, run from your checkout

git clone <repo-url>
cd apiary2postman/apiary2postman
./apiary2postman.py <args>

Usage

apiary2postman json blueprint.json --output postman.json
If you have the API Blueprint, use the blueprint subcommand:
apiary2postman blueprint some.blueprint > postman.dump

It is also possible to pipe everything:

cat some.blueprint | apiary2postman blueprint > postman.dump
To generate a total Postman environment dump from Apiary API, use the api subcommand with your Apiary API name:
apiary2postman api my_api > my_api.dump

If 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.

APIARY_API_KEY=ffffffffffffffffffffffffffffffff apiary2postman api my_api > my_api.dump

Or to generate only a Postman collection from Apiary API:

apiary2postman --only-collection api my_api > my_api.collection

It's also possible to specify the output file using the --output.

If you have the API Blueprint AST already generated, use the json subcommand:
apiary2postman json some.json > postman.dump

It is also possible to pipe everything:

cat some.json | apiary2postman json > postman.dump
Single Collection

To force all resource groups to be created as Folder within the same Postman collection use --single-collection option.

Contribution

Contributions are greatly appreciated. What is most lacking is tests and would be super-grealy appreciated.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].