Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/hamedfathi/postmancollectionreader
- Owner: HamedFathi
- License: mit
- Created: 2022-03-24T17:42:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-17T17:56:59.000Z (10 months ago)
- Last Synced: 2024-09-29T18:17:30.599Z (3 months ago)
- Topics: csharp, dotnet, json, newtonsoft-json, postman, postman-collection
- Language: C#
- Homepage:
- Size: 43.9 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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 PostmanCollectionReaderdotnet 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/).**