{"id":23173302,"url":"https://github.com/w13b3/playwright-apirequest-builder","last_synced_at":"2025-06-13T19:32:52.389Z","repository":{"id":65557599,"uuid":"594516013","full_name":"w13b3/playwright-apirequest-builder","owner":"w13b3","description":":performing_arts: Playwright APIRequest builder","archived":false,"fork":false,"pushed_at":"2023-01-29T10:42:30.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-26T13:41:10.547Z","etag":null,"topics":["builder","builder-pattern","playwright","playwright-api","playwright-python","web-request"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/w13b3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-28T19:38:59.000Z","updated_at":"2023-05-18T00:36:58.000Z","dependencies_parsed_at":"2023-02-15T22:15:56.885Z","dependency_job_id":null,"html_url":"https://github.com/w13b3/playwright-apirequest-builder","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w13b3%2Fplaywright-apirequest-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w13b3%2Fplaywright-apirequest-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w13b3%2Fplaywright-apirequest-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w13b3%2Fplaywright-apirequest-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w13b3","download_url":"https://codeload.github.com/w13b3/playwright-apirequest-builder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247268044,"owners_count":20911068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["builder","builder-pattern","playwright","playwright-api","playwright-python","web-request"],"created_at":"2024-12-18T05:11:41.211Z","updated_at":"2025-04-05T00:24:33.341Z","avatar_url":"https://github.com/w13b3.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"🎭 [Playwright] [APIRequest] builder\n===\n\n[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat\u0026labelColor=ef8336)](https://pycqa.github.io/isort/)\n[![PyPI - Wheel](https://img.shields.io/pypi/wheel/playwright-apirequest-builder)](https://pypi.org/project/playwright-apirequest-builder/)\n[![PyPI version](https://badge.fury.io/py/playwright-apirequest-builder.svg)](https://badge.fury.io/py/playwright-apirequest-builder)\n\nDocumented\n---\nRead it here [documentation](./doc)  \nRead more about the _builder pattern_ on [refactoring.guru](https://refactoring.guru/design-patterns/builder/python/example#lang-features)\n\n\nExample\n---\n\n```python\n# sync example\nfrom playwright.sync_api import sync_playwright\nfrom playwright_request.sync_builder import RequestBuilder\n\nwith sync_playwright() as p:\n    builder = RequestBuilder(p, base_url='https://playwright.dev/')\n    request = builder.get(\"python/docs/intro\").create_request()\n    response = request()\n    print(response.text())\n```\n\n```python\n# async example\nimport asyncio\nfrom playwright.async_api import async_playwright\nfrom playwright_request.async_builder import RequestBuilder\n\nasync def main():\n    async with async_playwright() as p:\n        builder = RequestBuilder(p, base_url='https://playwright.dev/')\n        request = builder.get(\"python/docs/intro\").create_request()\n        response = await request()\n        print(await response.text())\n\nasyncio.run(main())\n```\n\n\nRequirements\n---\nPython3  \nPlaywright \u003e= 1.26.0\n\n\nLicense\n---\n[Apache-2.0 license](LICENSE)\n\n\n\n[Playwright]: https://playwright.dev/python/\n[APIRequest]: https://playwright.dev/python/docs/api/class-apirequest","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw13b3%2Fplaywright-apirequest-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw13b3%2Fplaywright-apirequest-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw13b3%2Fplaywright-apirequest-builder/lists"}