Skip to content

Commit

Permalink
Preparing v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Mar 25, 2014
1 parent 23a7015 commit 90eaa28
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@ A PHP Wrapper for use with the [TMDB API](http://http://docs.themoviedb.apiary.i

Inspired by [php-github-api](https://github.com/KnpLabs/php-github-api), [php-gitlab-api](https://github.com/m4tthumphrey/php-gitlab-api/) and the Symfony2 Community.

Won't be adding any more commits until next Wednesday/Thursday due to personal circumstances, feel free to add pull requests or issues meanwhile.

Stable
----------------

[![Latest Stable Version](https://poser.pugx.org/wtfzdotnet/php-tmdb-api/v/stable.png)](https://packagist.org/packages/wtfzdotnet/php-tmdb-api)
[![Latest Unstable Version](https://poser.pugx.org/wtfzdotnet/php-tmdb-api/v/unstable.png)](https://packagist.org/packages/wtfzdotnet/php-tmdb-api)
[![Dependency Status](https://www.versioneye.com/user/projects/530a7514ec137594df000010/badge.png)](https://www.versioneye.com/user/projects/530a7514ec137594df000010)

First stable version is just around the corner, currently making a last thorough review and improving test coverage.

Currently unit tests are run on travis, with the following versions:

- 5.3.3
Expand All @@ -30,7 +26,7 @@ Currently unit tests are run on travis, with the following versions:
Help & Donate
--------------

If you use this in a project whether personal or business, I'd like to know where it is being used, so please drop me an e-mail :-)!
If you use this in a project whether personal or business, I'd like to know where it is being used, __so please drop me an e-mail :-)__!

If this project saved you a bunch of work, or you just simply appreciate my efforts, please consider donating a beer ( or two ;) )!

Expand Down Expand Up @@ -62,10 +58,10 @@ $ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer
```

Add the following to your require block in composer.json config.
Add the following to your require block in composer.json config

```
"wtfzdotnet/php-tmdb-api": "dev-master"
"wtfzdotnet/php-tmdb-api": ">=1.0.0"
```

Include Composer's autoloader:
Expand All @@ -75,6 +71,17 @@ Include Composer's autoloader:
require_once dirname(__DIR__).'/vendor/autoload.php';
```

#### New to composer?

Just create a file named `composer.json` in your document root:

```
{
"require": {
"wtfzdotnet/php-tmdb-api": ">=1.0.0"
}
}
```

General API Usage
-----------------
Expand Down
9 changes: 9 additions & 0 deletions apikey.php.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
define('TMDB_API_KEY', 'API_KEY');
define('TMDB_REQUEST_TOKEN', 'REQUEST_TOKEN'); // for accounts
define('TMDB_SESSION_TOKEN', 'SESSION_TOKEN'); // for accounts
define('TMDB_ACCOUNT_ID', 12345);

define('TMDB_LIST_ID', 'LIST_ID');
define('TMDB_USERNAME', 'USERNAME'); // does not function yet, this feature has been announced on forums
define('TMDB_PASSWORD', 'PASSWORD'); // does not function yet, this feature has been announced on forums

0 comments on commit 90eaa28

Please sign in to comment.