Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/libninjacom/postman-ts
Postman client, generated from the OpenAPI spec
https://github.com/libninjacom/postman-ts
openapi postman typescript
Last synced: 6 days ago
JSON representation
Postman client, generated from the OpenAPI spec
- Host: GitHub
- URL: https://github.com/libninjacom/postman-ts
- Owner: libninjacom
- License: mit
- Created: 2022-10-14T18:32:58.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-20T21:16:54.000Z (about 2 years ago)
- Last Synced: 2024-11-09T14:29:17.963Z (2 months ago)
- Topics: openapi, postman, typescript
- Language: TypeScript
- Homepage: https://www.postman.com/postman/workspace/postman-public-workspace/documentation/12959542-c8142d51-e97c-46b6-bd77-52bb66712c9a
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Postman client, generated from the OpenAPI spec.
# Usage
```typescript
import {PostmanClient} from "postman"async function main() {
const client = PostmanClient.fromEnv()
const response = await client.getAllApis()
console.log(response)
}main()
```This example loads configuration from environment variables, specifically:
* `POSTMAN_API_KEY`
# Documentation
* [API Documentation](https://www.postman.com/postman/workspace/postman-public-workspace/documentation/12959542-c8142d51-e97c-46b6-bd77-52bb66712c9a)
You can see working examples of every API call in the `examples/` directory.
# Contributing
Contributions are welcome!
*Library created with [Libninja](https://www.libninja.com).*