
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
|coverage| |build_status| |Documentation Status| |PyPI version|
This package is a Python client for eBay Browse API. It is asynchronous and designed to send a large number of requests by one function call.
For more information about this API visit official
documentation <https://developer.ebay.com/api-docs/buy/browse/overview.html>
__.
Install from PyPI by pip install browseapi_sandbox
Only these methods are now implemented (names changed to lowercase notation):
search <https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search>
__search\_by\_image <https://developer.ebay.com/api-docs/buy/browse/resources/search_by_image/methods/searchByImage>
__get\_item <https://developer.ebay.com/api-docs/buy/browse/resources/item/methods/getItem>
__get\_item\_by\_legacy\_id <https://developer.ebay.com/api-docs/buy/browse/resources/item/methods/getItemByLegacyId>
__get\_items\_by\_item\_group <https://developer.ebay.com/api-docs/buy/browse/resources/item/methods/getItemsByItemGroup>
__check\_compatibility <https://developer.ebay.com/api-docs/buy/browse/resources/item/methods/checkCompatibility>
__Create a BrowseAPI instance with your application id (app_id) and application secret (cert_id) and start sending requests:
.. code:: python
from browseapi import BrowseAPI
app_id = '<your_app_id>'
cert_id = '<your_cert_id>'
api = BrowseAPI(app_id, cert_id)
responses = api.execute('search', [{'q': 'drone', 'limit': 50}, {'category_ids': 20863}])
# this will make 'search' request two times with parameters
# q=drone and limit=50 for the first time and
# category_ids=20863 for the second time
print(responses[0].itemSummaries[0])
All response fields have similar names and types as those mentioned in official docs.
For running tests put your secret.json
file with fields
'eb_app_id'
and 'eb_cert_id'
to the browseapi/tests
directory, then run a command from the parent browseapi directory:
python -m unittest browseapi.tests.test_client
You may get warnings like this:
ResourceWarning: unclosed transport
Just ignore it. <https://github.com/aio-libs/aiohttp/issues/1115>
__
aiohttp <https://aiohttp.readthedocs.io/en/stable/>
__Documentation built with mkdocs <https://www.mkdocs.org/>
__.
browseapi.readthedocs.io <https://browseapi.readthedocs.io/en/latest/>
__
.. |coverage| image:: https://img.shields.io/codecov/c/github/AverHLV/browseapi.svg .. |build_status| image:: https://img.shields.io/gitlab/pipeline/AverHLV/browseapi/dev.svg :target: https://gitlab.com/AverHLV/browseapi/pipelines .. |Documentation Status| image:: https://readthedocs.org/projects/browseapi/badge/?version=latest :target: https://browseapi.readthedocs.io/en/latest/?badge=latest .. |PyPI version| image:: https://badge.fury.io/py/browseapi.svg :target: https://badge.fury.io/py/browseapi
FAQs
eBay Browse API Python client
We found that browseapi-sandbox 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
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.