{"id":13519270,"url":"https://github.com/Exeu/apai-io","last_synced_at":"2025-03-31T12:31:28.790Z","repository":{"id":56980426,"uuid":"10565291","full_name":"Exeu/apai-io","owner":"Exeu","description":"DISCONTINUED Amazon Product Adverstising Library based on PHP REST and SOAP (only V1) using the Product Advertising API.","archived":true,"fork":false,"pushed_at":"2019-12-12T09:11:03.000Z","size":441,"stargazers_count":629,"open_issues_count":17,"forks_count":156,"subscribers_count":59,"default_branch":"master","last_synced_at":"2024-05-22T01:03:07.014Z","etag":null,"topics":["advertising","amazon","api","aws","php","product","rest"],"latest_commit_sha":null,"homepage":"http://apai-io.readthedocs.io/en/latest/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Exeu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-08T07:19:11.000Z","updated_at":"2024-05-02T06:10:32.000Z","dependencies_parsed_at":"2022-08-21T08:40:42.899Z","dependency_job_id":null,"html_url":"https://github.com/Exeu/apai-io","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exeu%2Fapai-io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exeu%2Fapai-io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exeu%2Fapai-io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exeu%2Fapai-io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exeu","download_url":"https://codeload.github.com/Exeu/apai-io/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246469212,"owners_count":20782691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advertising","amazon","api","aws","php","product","rest"],"created_at":"2024-08-01T05:01:56.627Z","updated_at":"2025-03-31T12:31:28.283Z","avatar_url":"https://github.com/Exeu.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# DISCONTINUED\n\nIf you want to implement new features you can still fork and enhance this repo.\nPlease let me know if you plan to enhance this library then i can add your fork to this list.\n\n# apai-io\n\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Exeu/apai-io/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Exeu/apai-io/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/Exeu/apai-io/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/Exeu/apai-io/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/Exeu/apai-io/badges/build.png?b=master)](https://scrutinizer-ci.com/g/Exeu/apai-io/build-status/master)\n[![Latest Stable Version](https://poser.pugx.org/exeu/apai-io/v/stable.svg)](https://packagist.org/packages/exeu/apai-io) [![Total Downloads](https://poser.pugx.org/exeu/apai-io/downloads.svg)](https://packagist.org/packages/exeu/apai-io)\n[![Build Status](https://travis-ci.org/Exeu/apai-io.png?branch=master)](https://travis-ci.org/Exeu/apai-io)\n[![Documentation Status](https://readthedocs.org/projects/apai-io/badge/?version=stable)](http://apai-io.readthedocs.io/en/stable/?badge=stable)\n\nApaiIO is a highly flexible PHP library for fetching the Product Advertising API using REST or SOAP.\nYou can either use the built in operations like ItemSearch or ItemLookup or you can implement your own operations which fits to your needs.\n\nEverything is programmed against interfaces so you can implement your own request or response classes for example.\n\nThis class is realized by the Product Advertising API (former ECS) from Amazon WS Front. https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html\n\n## Documentation\n\nThe documentation is currently under construction.\n\nYou can read here: http://apai-io.readthedocs.io/en/latest/\n\n## Installation\n\n### Composer\n\n``` bash\n$ composer require exeu/apai-io\n```\n\nComposer will generate the autoloader file automaticaly. So you only have to include this.\nTypically its located in the vendor dir and its called autoload.php\n\n## Basic Usage:\nThis library is using the PSR-4 standard: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md\nSo you can use any autoloader which fits into this standard.\nThe tests directory contains an example bootstrap file.\n\n``` php\n\u003c?php\nnamespace Acme\\Demo;\n\nuse ApaiIO\\Configuration\\GenericConfiguration;\nuse ApaiIO\\Operations\\Search;\nuse ApaiIO\\ApaiIO;\n\n$conf = new GenericConfiguration();\n$client = new \\GuzzleHttp\\Client();\n$request = new \\ApaiIO\\Request\\GuzzleRequest($client);\n\n$conf\n    -\u003esetCountry('com')\n    -\u003esetAccessKey(AWS_API_KEY)\n    -\u003esetSecretKey(AWS_API_SECRET_KEY)\n    -\u003esetAssociateTag(AWS_ASSOCIATE_TAG)\n    -\u003esetRequest($request);\n$apaiIO = new ApaiIO($conf);\n\n$search = new Search();\n$search-\u003esetCategory('DVD');\n$search-\u003esetActor('Bruce Willis');\n$search-\u003esetKeywords('Die Hard');\n\n$formattedResponse = $apaiIO-\u003erunOperation($search);\n\nvar_dump($formattedResponse);\n```\n\nFor some very simple examples go to the samples-folder and have a look at the sample files.\nThese files contain all information you need for building queries successful.\n\n## Webservice Documentation:\nHosted on Amazon.com:\nhttp://docs.amazonwebservices.com/AWSECommerceService/latest/DG/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FExeu%2Fapai-io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FExeu%2Fapai-io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FExeu%2Fapai-io/lists"}