Skip to content

Commit

Permalink
some fix
Browse files Browse the repository at this point in the history
  • Loading branch information
magnum357i committed May 25, 2019
1 parent 7dff10f commit 9bc93b7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
29 changes: 24 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,35 @@ This is an api developed to get information from MyAnimelist. It works by scanni
* PHP 7

# Supported Pages
* Page (anime, manga, character, people)
* Search (anime, manga, character, people)
* Widget (new anime, anime calendar, upcoming anime)
* Page
* anime
* manga
* character
* people
* Search
* anime
* manga
* character
* people
* Widget
* new anime
* upcoming anime
* anime calendar

# How to Install?

### Via composer

```bash
$ composer require magnum357i/myanimelist-api
```

### Via git

```bash
$ git clone --depth=50 --branch=master https://github.com/magnum357i/myanimelist-api.git magnum357i/myanimelist-api
```

# How to Use?

### Anime Page
Expand Down Expand Up @@ -491,7 +510,7 @@ echo $mal->poster;
// Please don't forget this.
```

### Capture all data at once
### Capture All Data at Once

```php
// Create object
Expand All @@ -504,7 +523,7 @@ $mal->sendRequestOrGetData();
$mal->scanAvailableValues();

// Print data
var_dump( $mal->output() )
var_dump( $mal->output() );
```

### cURL Settings
Expand Down
1 change: 1 addition & 0 deletions src/MyAnimeList/Cache/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
class Cache implements CacheInterface {

/**
* Permissions
*/
const FOLDER_PERM = 0755;
const FILE_PERM = 0666;
Expand Down

0 comments on commit 9bc93b7

Please sign in to comment.