Skip to content

iwilldefinitelybecoder/devutils-sdks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DevUtils SDKs

Production-grade SDKs for the DevUtils API. Take screenshots, generate PDFs, extract content, and more.

npm version PyPI version License: MIT

πŸ“¦ Available SDKs

SDK Package Status
JavaScript @devutils/sdk βœ… Production
Python devutils-sdk βœ… Production
CDN devutils-sdk-cdn βœ… Production

πŸš€ Quick Start

JavaScript

npm install @devutils/sdk
import { DevUtilsSDK } from '@devutils/sdk';

const sdk = new DevUtilsSDK('your-api-key');
const result = await sdk.screenshot('https://example.com');
console.log(result.url);

Python

pip install devutils-sdk
import asyncio
from devutils_sdk import DevUtilsSDK

async def main():
    sdk = DevUtilsSDK(api_key="your-api-key")
    result = await sdk.screenshot(url="https://example.com")
    print(result.image_url)

asyncio.run(main())

CDN (Browser)

<script src="https://cdn.js.deliver.devutils.in/sdk.min.js"></script>
<script>
  const sdk = new DevUtilsSDK('your-api-key');
  sdk.screenshot({ url: 'https://example.com' }).then((result) => console.log(result.url));
</script>

πŸ“š Documentation

πŸ”‘ API Key

Get your API key from devutils.in/dashboard/api-keys

πŸ› οΈ Features

  • Screenshot - Capture website screenshots in multiple formats
  • PDF - Generate PDFs from URLs or HTML
  • Reader - Extract and parse webpage content
  • File Upload - Upload files to CDN
  • Webhooks - Real-time event streaming via SSE
  • Connectors - Manage integrations
  • Retry Logic - Automatic exponential backoff
  • Job Polling - Transparent async job handling
  • Error Handling - Comprehensive error classification

πŸ—οΈ Monorepo Structure

devutils-sdks/
β”œβ”€β”€ sdk-js/              # JavaScript SDK (@devutils/sdk)
β”œβ”€β”€ sdk-python/          # Python SDK (devutils-sdk)
β”œβ”€β”€ cdn/                 # CDN SDK (devutils-sdk-cdn)
β”œβ”€β”€ sdk/                 # Shared core logic
β”œβ”€β”€ scripts/             # Release and build scripts
β”œβ”€β”€ docs/                # Documentation
β”œβ”€β”€ .github/workflows/   # CI/CD pipelines
└── package.json         # Monorepo root

πŸ”„ Development

Setup

# Install dependencies
npm install
cd sdk-python && pip install -e ".[dev]"

# Build all SDKs
npm run build:all

# Run tests
npm run test:all

Release

Releases are automated via semantic versioning. Push to main or beta branch with conventional commits:

git commit -m "feat: add new feature"  # Creates minor version bump
git commit -m "fix: bug fix"           # Creates patch version bump
git commit -m "feat!: breaking change" # Creates major version bump

See Release Guide for details.

πŸ“‹ Supported Platforms

JavaScript

  • Node.js 16+
  • Modern browsers (ES2020+)

Python

  • Python 3.8+

CDN

  • All modern browsers
  • IE 11+ (with polyfills)

🀝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

πŸ“„ License

MIT License - see LICENSE file for details.

πŸ†˜ Support

🎯 Roadmap

  • Go SDK
  • Rust SDK
  • GraphQL support
  • WebSocket support
  • Rate limiting utilities
  • Caching layer

Made with ❀️ by DevUtils

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors