Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hamedfathi/postmancollectionreader

A library to read Postman Collection v2.1 Json files.
https://github.com/hamedfathi/postmancollectionreader

csharp dotnet json newtonsoft-json postman postman-collection

Last synced: 3 months ago
JSON representation

A library to read Postman Collection v2.1 Json files.

Awesome Lists containing this project

README

        

> [!IMPORTANT]
> Introducing **HamedStack**! For all my latest libraries, visit: [Explore HamedStack](https://github.com/HamedStack). Replacements and updates are available at the link. Thank you for your support! The new version of this library is accessible via [HamedStack.PostmanCollectionReader](https://github.com/HamedStack/HamedStack.PostmanCollectionReader)
---

![postman](https://user-images.githubusercontent.com/8418700/159980759-b9a94b90-5b9c-4745-878a-b2615ad17eff.png)

> Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.

This library helps you to read a `Postman Collection v2.1` json file in C#.

### [Nuget](https://www.nuget.org/packages/PostmanCollectionReader)

[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://opensource.org/licenses/MIT)
![Nuget](https://img.shields.io/nuget/v/PostmanCollectionReader)
![Nuget](https://img.shields.io/nuget/dt/PostmanCollectionReader)

```
Install-Package PostmanCollectionReader

dotnet add package PostmanCollectionReader
```

### Usage

```cs
using PostmanCollectionReader;
var postmanCollection = PostmanCollection.FromJson(jsonString);
var environment = PostmanCollection.EnvironmentFromJson(jsonString);
```

---
**Based on `Postman Collection Format v2.1.0 Draft 07` schema and [QuickType](https://app.quicktype.io/).**