
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
GetMan is a versatile tool inspired by Postman that simplifies the process of testing and exploring APIs.
GetMan is a versatile tool inspired by Postman that simplifies the process of testing and exploring APIs.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
GetMan is a Python-based API testing tool inspired by Postman. It simplifies the process of testing and exploring APIs by providing a simple and intuitive functions for making HTTP requests.
Key features of GetMan include:
Whether you're a developer testing your own APIs or a tester exploring third-party APIs, GetMan provides a powerful and flexible tool to help you get the job done.
This project built with the following technologies:
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Before you can use GetMan, you need to have the following software installed on your system:
Install python from https://www.python.org/
To install the library, you can just run the following command:
pip install getman
GetMan is designed to be simple and intuitive to use. Below are some examples of how you can use GetMan to test and explore APIs.
from getman import GetMan
from getman.constant import HttpMethod
from getman.manager.dict import ParamManager
url = "https://example.com"
version = "your-version" # Optional
client = GetMan(base_url=url, version=version)
client.add_cookie("sessionid", "RANDOM SESSION ID")
params = ParamManager()
params["category"] = "tools"
route = client.routes("product")
response = client.perform_request(method=HttpMethod.GET, routes=route, params=params.data)
client.get_report(response)
from getman import GetMan
from getman.constant import HttpMethod
from getman.manager.dict import DictManager
url = "https://example.com"
version = "your-version" # Optional
client = GetMan(base_url=url, version=version)
client.add_cookie("sessionid", "RANDOM SESSION ID")
body = DictManager()
body["product_name"] = "getman"
route = client.routes("product")
response = client.perform_request(method=HttpMethod.POST, routes=route, body=body.data)
client.get_report(response)
from getman import GetMan
from getman.constant import HttpMethod
from getman.manager.dict import DictManager
from getman.utils.decorators import coroutine
@coroutine # use this to run coroutine
async def main():
url = "https://example.com"
client = GetMan(base_url=url)
body = DictManager()
body["product_name"] = "getman"
route = client.routes("product")
total_request = 100
for i in range(total_request):
await client.perform_request(method=HttpMethod.POST, routes=route, body=body.data, queue=True)
client.execute_queue() # Execute all queued requests concurrently
For more examples, please refer to the Documentation_
See the open issues for a full list of proposed features ( and known issues).
Getman is an open-source project, and we welcome contributions of all kinds. Whether you want to report a bug, request a feature, or submit a pull request, we appreciate your help! Please refer to the contribution guidelines for more information.
Distributed under the MIT License. See LICENSE for more information.
FAQs
GetMan is a versatile tool inspired by Postman that simplifies the process of testing and exploring APIs.
We found that getman demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.