Skip to main content

A Python API for FNAC WebServices

Project description

https://travis-ci.org/alexandriagroup/fnapy.svg?branch=master

Description

fnapy is a Python library using the FnacMarketPlace API to connect to your own sales application to your FnacMarketplace seller account. It uses the REST WebService protocol to exchange data.

Change log

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[1.0.0] - 2016-10-14

Added

  • Working with sandbox or real account is now possible

Changed

  • FnapyConnection now accepts credentials dictionary or sandbox boolean

  • query_pricing now accepts a list of EANs

[0.6.0] - 2016-10-07

Added

  • In the Query class, added the was method to handle the states (especially the states of orders)

[0.5.1] - 2016-10-04

Removed

  • Really remove BeautifulSoup (bs4) from the dependencies

[0.5.0] - 2016-10-04

Removed

  • Remove BeautifulSoup dependency

Changed

  • Improve the text extraction from XML

[0.4.3] - 2016-09-29

Changed

  • In update_offers, FnapyUpdateOfferError is raised if:
    • offer_reference and at least one of the optional parameters (except product_reference) are not provided

    • offers_data is empty

[0.4.2] - 2016-09-28

Changed

  • Update documentation

[0.4.1] - 2016-09-28

Added

  • Implement delete_offers

[0.4.0] - 2016-09-27

Changed

  • Use pricing_query (V2)

  • Check the connection passed to FnapyManager is a FnapyConnection

  • Add a caveat in the README for the requests sent to the sandbox.

  • Improve update_offers

Fixed

  • Fix Unicode/string confusion bug in Response

[0.2.0] - 2016-09-13

Added

  • Support Python 3

  • Implement the Query class to allow complex queries

  • Added new classes for requests and responses (respectively Request and Response)

Changed

  • Update the documentation

  • Make the manager authenticate when it is created.

  • All the methods return a Response instance

  • Store the XML requests as Request instances

Fixed

  • Fixed the packaging

  • Fix minor things in the constructor of FnapyManager

[0.1.0] - 2016-08-31

Added

  • Create the fnapy package

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

fnapy-1.0.0.tar.gz (41.0 kB view details)

Uploaded Source

Built Distribution

fnapy-1.0.0-py2.py3-none-any.whl (37.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fnapy-1.0.0.tar.gz.

File metadata

  • Download URL: fnapy-1.0.0.tar.gz
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fnapy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fc10a9b095e90637abc9dfd8a06f7f9ee50e874376c3895d2ded26a9b3f92787
MD5 4bfaafa38b885bf9ca44fb0e0a166001
BLAKE2b-256 5db5e4b7c7d43c41df723f0039187634660d5c6d6509e571f462d1f072090f49

See more details on using hashes here.

File details

Details for the file fnapy-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for fnapy-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c067932f002d35f881f15f71602b5772b253d59ca799b62b271a9a04ef975d27
MD5 249977b4f2ce496aa37d0ee198f5f19a
BLAKE2b-256 33866ed67c73a22f52be7824f81fc14ff28f45bc5feba326cd70d4413348cfd3

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