ScaleLeap / amazon-advertising-api-sdk

Amazon Advertising API TypeScript and Node.js Unofficial SDK
https://npm.im/@scaleleap/amazon-advertising-api-sdk
MIT License
26 stars 21 forks source link

Create a main entrypoint class #339

Closed moltar closed 4 years ago

moltar commented 4 years ago

Problem

As we have an example: https://github.com/ScaleLeap/amazon-advertising-api-sdk#api-operations

There are too many steps to get started quickly.

Solution

Ideally we should have a main class, something like AmazonAdvertising that accepts:

And creates all of the moving parts internally, exposing a simple and clean API.

We still want to export the internals, just in case as stand-alone classes.

But the main use case would be via the entry point class.

Please create a proposal / PoC for this class.

nguyentoanit commented 4 years ago

@moltar: I have created a proposal for this class in PR #354. Thanks.