Skip to main content

Python Wrapper for eBay API

Project description

This project intends to create a simple python wrapper around eBay APIs.

Development and Download Sites

The entry at the Python Package Index is at: https://pypi.python.org/pypi/python-ebay

Development is coordinated at Github: https://github.com/roopeshvaddepally/python-ebay

How to Install

New Way

  • Install the library with pip or easy_install. With pip you must use option --pre, because python-ebay is currently labeled as prerelease (beta) quality.

    pip install --pre python-ebay
  • Create a configuration file.
    • Generate keys at eBay’s developer website: http://developer.ebay.com/quickstartguide/

    • Create an example configuration file.

    • Rename the example to something sensible.

    • Edit the example, especially insert the keys that you generated at eBay’s developer site.

  • python -c "import ebay.utils; ebay.utils.write_config_example()"
    mv config.ini.example ebay.apikey
    vim ebay.apikey
  • Before using python-ebay, you must tell it where the configuration file is:

    from ebay.utils import set_config_file
    from ebay.shopping import FindProducts
    
    set_config_file("ebay.apikey")
    print FindProducts("pen", "false", "10", "JSON")

Old Way

  • Download a source package of python-ebay and unpack it. https://github.com/roopeshvaddepally/python-ebay/tarball/master

  • Create a configuration file.
  • Install the (slightly modified) package with:

    python setup.py install
  • The python-ebay library now contains a working configuration file. You can use it without calling utils.set_config_file:

    from ebay.shopping import FindProducts
    print FindProducts("pen", "false", "10", "JSON")

Documentation

The pyton-ebay library is unfortunately not complete. An overview of the development status is available on our wiki. The currently implemented functions are listed together with a short description: https://github.com/roopeshvaddepally/python-ebay/wiki/List-of-eBay-APIs

Extensive documentation of eBay’s API is available on eBay’s developer website. This documentation focusses on XML messages that are sent to eBay’s servers, and XML responses that are received from those servers. http://developer.ebay.com/products/overview

Example code in Python can be found in the directories examples/ and tests/. The complete source code can be obtained by either:

License

Apache License, Version 2.0 Please refer to details here: http://www.apache.org/licenses/LICENSE-2.0.html

Contributors

  • Eike Welk

  • Utkarsh Sengar

  • Roopesh Vaddepally

  • Stephen Balaban

  • hbtronix

  • bogdanvarlamov

  • patoch

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-ebay-0.2.0b5dev.tar.gz (16.6 kB view details)

Uploaded Source

File details

Details for the file python-ebay-0.2.0b5dev.tar.gz.

File metadata

File hashes

Hashes for python-ebay-0.2.0b5dev.tar.gz
Algorithm Hash digest
SHA256 87646068608e6f1b476dc93bb312733df73e35ddde11579fa38528318b63abb5
MD5 ea3b8f65104ba70140955669cbebe86f
BLAKE2b-256 84b6ce02b22c46ef7dcb1dd8de9a6bbba8b41ef0d212b3e36cd8be4b981dd697

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page