Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
.. image:: https://img.shields.io/badge/License-MIT-green.svg :alt: screenshot-py license :target: https://opensource.org/licenses/MIT
.. image:: https://img.shields.io/pypi/v/screenshot-api.svg :alt: screenshot-py release :target: https://pypi.org/project/screenshot-api
.. image:: https://github.com/whois-api-llc/screenshot-py/workflows/Build/badge.svg :alt: screenshot-py build :target: https://github.com/whois-api-llc/screenshot-py/actions
The client library for
Screenshot API <https://website-screenshot.whoisxmlapi.com/>
_
in Python language.
The minimum Python version is 3.6.
.. code-block:: shell
pip install screenshot-api
Full API documentation available here <https://website-screenshot.whoisxmlapi.com/api/documentation/making-requests>
_
.. code-block:: python
from screenshotapi import *
client = Client('Your API key')
.. code-block:: python
client.get(filename='screen.jpg',url='example.com')
.. code-block:: python
cookies = {
'name1': 'value1',
'name2': 'value2'
}
# Pass cookies, emulate mobile device, disable JS, wait for network idle
# event, output API errors in XML, capture PDF screenshot in full page
# mode and get image data in base64.
response = client.get_raw(
url='example.com',
type=ImageFormat.PDF,
mode=Client.SLOW_MODE,
full_page=True,
mobile=True,
output_format=Client.XML_FORMAT,
image_output_format=Client.BASE64_FORMAT,
no_js=True,
cookies=cookies
)
FAQs
Python client library for Screenshot API.
We found that screenshot-api 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.