Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Network Library: Amazon Instant Access API

The Amazon Instant Access API library has 24 classes.

ECF: amazon-instant-access.ecf

An Eiffel interface to the Amazon Instant Access API. This API enables third party vendors to fulfil orders for digital goods on the Amazon store. It enables One-time purchases but not subscriptions. It passes a basic test suite but has not yet been tested in production.

Directory: library/network/amazon

[ . ]

. /authorization

. /codes

. /request

. /response

. /test

[ . ]

AIA_OPERATION

Parses the JSON from an Instant Access request and stores the operation name accessible as name.

AIA_REQUEST_MANAGER

Object that selects the appropriate request object for each Amazon Instant Access request and then returns a vendor response.

authorization

AIA_AUTHORIZATION_HEADER

Authorization header for authentication

AIA_CANONICAL_REQUEST

Request formatted in a standard (canonical) form for hashing

AIA_CREDENTIAL

Credential for authenticating requests

AIA_CREDENTIAL_ID

ID for AIA_CREDENTIAL

AIA_SHARED_CREDENTIAL_LIST

Shared credential list

Further Information

Click on class link to see notes.

AIA_SIGNER

Signs Instant Access HTTP requests using credentials issued by Amazon

AIA_STORABLE_CREDENTIAL_LIST

Stores AIA credentials securely in AES encrypted data chain

AIA_VERIFIER

Verifies Instant Access request as authentic

codes

AIA_REASON_ENUM

Reasons for purchase/purchase revokation. Accessible via {AIA_SHARED_ENUMERATIONS}.Reason_enum.

AIA_RESPONSE_ENUM

Instant Access response codes with corresponding names accessible as message. Accessible via {AIA_SHARED_ENUMERATIONS}.Response_enum. See also class AIA_PURCHASE_REASON.

AIA_SHARED_ENUMERATIONS

Shared response codes and purchase reason codes

request

AIA_GET_USER_ID_REQUEST

Instant Access account linking request

AIA_PURCHASE_REASON

Reason for purchase or revoking of a purchase

AIA_PURCHASE_REQUEST

Instant Access purchase request

AIA_REQUEST

Parent class for instant access requests

Further Information

Click on class link to see descendants.

AIA_REVOKE_REQUEST

Instant Access request to revoke a purchase

AIA_SHARED_REQUEST_MANAGER

Aia shared request manager

response

AIA_GET_USER_ID_RESPONSE

Vendor's response to Instant Access account linking request.

AIA_PURCHASE_RESPONSE

Vendor's response to Instant Access purchase request

AIA_RESPONSE

Parent class for instant access responses to requests

Further Information

Click on class link to see descendants.

AIA_REVOKE_RESPONSE

Vendor's response to Instant Access request for revoking a purchase

test

AMAZON_INSTANT_ACCESS_TEST_SET

Test suite for Amazon Instant Access API