Skip to main content

isAPIup

isAPIup is a Length based API testing and monitoring library

Usuage:

import isAPIup

obj=isAPIup.create("test")
#This will create sqlite3 db on current path

obj.insert("http://localhost:5000/test/a","GET",23,100)
obj.insert("http://localhost:5000/test/b","GET",23,100)
#This will insert the url and other parameters

#insert parameters
#insert(url:str,method:str,working_response_length:int,max_retry:int,headers=None,payload=None)
#url : API url
#method: GET or POST
#working_response_length: >=length for success response
#max_retry: max number or retry on an API
#headers: API Headers
#payload: API Payload

obj.start()
#This will start scanning the data which is provided above and change the status of running ones and has to be execute first time



response=obj.execute()
#execute parameters execute(postfix_url=None,show_logs=True)
#This will return the response of live working API
>>> response

>>> response.text
'{\n "msg": "working fine"\n}\n'


deletefromconnection(url)
#this will delete url and its content form main table

deletefromsession(url)
#this will delete url and its content form session table

Release files for isAPIup 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for isAPIup 0.0.5
File Size Uploaded
isAPIup-0.0.5.tar.gz 5.2 kB Details

Release files / isAPIup-0.0.5.tar.gz

Download URL isAPIup-0.0.5.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
137f232607f982ff19bf6fa16373fe6c352242599e5d66ef483f0aaf3169ede2
BLAKE2b-256 checksum
How to use checksums
3eca7651ffbe688907fab473cb25a2e787f004dd08915819b4293be0946a8b17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page