PHPackages                             aweber/aweber - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. aweber/aweber

AbandonedArchivedLibrary[Mail &amp; Notifications](/categories/mail)

aweber/aweber
=============

The official AWeber API client library.

v1.1.18(8y ago)83577.1k↓33.9%21[8 issues](https://github.com/aweber/AWeber-API-PHP-Library/issues)[1 PRs](https://github.com/aweber/AWeber-API-PHP-Library/pulls)1GPL-2.0PHP

Since Feb 5Pushed 6y ago4 watchersCompare

[ Source](https://github.com/aweber/AWeber-API-PHP-Library)[ Packagist](https://packagist.org/packages/aweber/aweber)[ Docs](https://www.aweber.com)[ RSS](/packages/aweber-aweber/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (10)Versions (8)Used By (1)

This client library has been deprecated.
========================================

[](#this-client-library-has-been-deprecated)

### This library will no longer be supported and does not support OAuth2.

[](#this-library-will-no-longer-be-supported-and-does-not-support-oauth2)

### Please visit our [PHP Examples](https://github.com/aweber/public-api-examples/tree/master/php) as a reference.

[](#please-visit-our-php-examples-as-a-reference)

---

AWeber API PHP Library [![Build Status](https://camo.githubusercontent.com/12abeda3a5a3e1ecd5ef2ce467f115c569f6967d3086f713c5e7b9a9d3e337ed/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6177656265722f4157656265722d4150492d5048502d4c6962726172792e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/aweber/AWeber-API-PHP-Library)
==========================================================================================================================================================================================================================================================================================================================================================

[](#aweber-api-php-library-)

PHP library for easily integrating with the AWeber API.

Basic Usage:
------------

[](#basic-usage)

Refer to demo.php to see a working example of how to authenticate an app and query the API.

For more complete documentation please refer to:

Handling Errors:
----------------

[](#handling-errors)

Sometimes errors happen and your application should handle them appropriately. Whenever an API error occurs an AWeberAPIException will be raised with a detailed error message and documentation link to explain what is wrong.

You should wrap any calls to the API in a try/except block.

Common Errors:

- Bad request (400 error)
- Your application is not authorized (401 error)
- Your application has been rate limited (403 error)
- Resource not found (404 error)
- API Temporarily unavailable (503 error)

Refer to  for the complete list

Example Below:

```
