Official Python SDK for Geekflare API
Project description
geekflare-api
Official Python SDK for the Geekflare API.
Installation
pip install geekflare-api
Quick Start
from geekflare_api.client import GeekflareClient
from geekflare_api.models import PingDto
with GeekflareClient(api_key="your-api-key") as client:
result = client.ping(PingDto(url="https://google.com"))
print(result)
Available Methods
| Method | Description |
|---|---|
client.meta_scrape(body) |
Scrape meta tags from a URL |
client.web_scrape(body) |
Scrape web page content |
client.dns_record(body) |
Look up DNS records |
client.screenshot(body) |
Take a screenshot of a URL |
client.site_status(body) |
Check if a site is up or down |
client.redirect_check(body) |
Check redirect chain of a URL |
client.broken_link(body) |
Find broken links on a page |
client.url2_pdf(body) |
Convert a URL to PDF |
client.open_ports(body) |
Scan open ports on a host |
client.tls_scan(body) |
Scan TLS/SSL configuration |
client.load_time(body) |
Test page load time |
client.mixed_content(body) |
Check for mixed content issues |
client.dns_sec(body) |
Check DNSSEC configuration |
client.mtr(body) |
Perform MTR network test |
client.ping(body) |
Ping a host |
client.lighthouse(body) |
Run Lighthouse audit |
client.search(body) |
Perform a web search |
Error Handling
from geekflare_api.exceptions import ApiException
try:
result = client.ping(PingDto(url="https://google.com"))
except ApiException as e:
print(f"API error {e.status}: {e.reason}")
Links
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
geekflare_api-0.1.0.tar.gz
(68.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
geekflare_api-0.1.0-py3-none-any.whl
(162.4 kB
view details)
File details
Details for the file geekflare_api-0.1.0.tar.gz.
File metadata
- Download URL: geekflare_api-0.1.0.tar.gz
- Upload date:
- Size: 68.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b59a510b0a4695b970c2712c316281843b668e8fab02a6939ce8e0424ca9c1ed
|
|
| MD5 |
afb189971c431679e7193f1b4a8db278
|
|
| BLAKE2b-256 |
9e0a18576cef17a202ca39b126a332b8eafbf3fba8d242356395df6724de73fb
|
File details
Details for the file geekflare_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: geekflare_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 162.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2d8c5536cad6f624a8f5af1d7dabb088bae5c2f14f7ab8446861cbc1e9f72be
|
|
| MD5 |
3f61c3e79dbd1d1e2cf60050fabe74c0
|
|
| BLAKE2b-256 |
25747e3d36390c4f9d31fe05c7128c824282af441b4d4cac4ef9a59be5f3292f
|