Skip to main content

Python library for webhookbin.net

Project description

webhookbin-library

Python library for https://www.webhookbin.net

Install with pip

pip install webhookbin

Examples:

import webhookbin

print(webhookbin.makebin().text)

print(webhookbin.post({"data": "here"}).text)

print(webhookbin.get().text)

print(webhookbin.makebin("both").text)

print(webhookbin.makebin("post").text)

print(webhookbin.makebin("get").text)

print(webhookbin.post({"data": "here"},headers={"Customheader": "Something"}).text)

headers = {"Customheader": "Something"}

print(webhookbin.post({"data": "here"},headers=headers,token="DBwIfrB_9BDycs0a4rm0YVRrgsPPpmS2_Vl11ElKpIM").text)

print(webhookbin.get(delete=False).text)

print(webhookbin.get(orderby="acending").text)

print(webhookbin.get(token="DBwIfrB_9BDycs0a4rm0YVRrgsPPpmS2_Vl11ElKpIM").text)

print(webhookbin.patch().text)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webhookbin-1.0.1.tar.gz (14.7 kB view hashes)

Uploaded Source

Built Distribution

webhookbin-1.0.1-py3-none-any.whl (14.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page