Metadata-Version: 2.1
Name: python-amazon-sp-api
Version: 0.2.2
Summary: Python wrapper for the Amazon Selling-Partner API
Home-page: https://github.com/saleweaver/python-amazon-sp-api
Author: Michael Primke
Author-email: info@saleweaver.com
License: mit
Description: # PYTHON-AMAZON-SP-API
        
        ![CodeQL](https://github.com/saleweaver/python-amazon-sp-api/workflows/CodeQL/badge.svg)
        ![Tests](https://codebuild.eu-central-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiUXZBQ29Jd3NaNE45elZGRmdveVZMa0JCank4OGY4dnBMNDA3WGpsZXdpRXRTRHBKK1BvYmtneG00My8yYkdjdXc2S2VOeFBYcGN0VmxmVnhvZVIxZCtNPSIsIml2UGFyYW1ldGVyU3BlYyI6ImlnQUxNNlFZOVNWd0lRRlUiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)
        
        ![Maintainability](https://img.shields.io/codeclimate/maintainability/saleweaver/python-amazon-sp-api)
        ![Tech](https://img.shields.io/codeclimate/tech-debt/saleweaver/python-amazon-sp-api)
        ![Coverage](https://img.shields.io/codeclimate/coverage/saleweaver/python-amazon-sp-api)
        
        ## Amazon Selling-Partner API
        
        A wrapper around **Amazon's Selling Partner API** with some additions, and an easy-to-use interface.
        
        
        ### Q & A
        
        If you have questions, please ask them in github discussions 
        
        [![discussions](https://img.shields.io/badge/github-discussions-brightgreen?style=for-the-badge&logo=github)](https://github.com/saleweaver/python-amazon-sp-api/discussions)
        
        or join on slack
        
        [![slack](https://img.shields.io/badge/slack-python--amazon--sp--api-blue?style=for-the-badge&logo=slack)][slack_invite]
        
        ---
        
        ### Installation
        [![Badge](https://img.shields.io/pypi/v/python-amazon-sp-api?style=for-the-badge)](https://pypi.org/project/python-amazon-sp-api/)
        ```
        pip install python-amazon-sp-api
        ```
        
        ---
        ### Usage
        
        ```
        # orders API
        try:
            res = Orders().get_orders(CreatedAfter=(datetime.utcnow() - timedelta(days=7)).isoformat())
            print(res.payload)  # json data
        except SellingApiException as ex:
            print(ex)
        
        
        # report request     
        createReportResponse = Reports().create_report(reportType='GET_FLAT_FILE_OPEN_LISTINGS_DATA')
        
        # submit feed
        # feeds can be submitted like explained in Amazon's docs, or simply by calling submit_feed
        
        Feeds().submit_feed(self, <feed_type>, <file_or_bytes_io>, content_type='text/tsv', **kwargs)
        ```
        ---
        
        ### Documentation
        
        Documentation is available [here](https://python-amazon-sp-api.readthedocs.io/en/latest/index.html)
        
        [![Documentation Status](https://img.shields.io/readthedocs/python-amazon-sp-api?style=for-the-badge)](https://python-amazon-sp-api.readthedocs.io/en/latest/?badge=latest)
        
        ### DISCLAIMER
        
        We are not affiliated with Amazon
        
        
        ### LICENSE
        
        ![License](https://img.shields.io/github/license/saleweaver/python-amazon-sp-api?style=for-the-badge)
        
        
        [slack_invite]: https://join.slack.com/t/python-amazon-sp-api/shared_invite/zt-m2jwh0mc-peaOVY9TZeH~klcRQKdqdQ
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
