Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janvernieuwe/mal2anilist
Convert MyAnimeList id to a Anilist url
https://github.com/janvernieuwe/mal2anilist
anilist converter myanimelist url
Last synced: about 8 hours ago
JSON representation
Convert MyAnimeList id to a Anilist url
- Host: GitHub
- URL: https://github.com/janvernieuwe/mal2anilist
- Owner: janvernieuwe
- License: mit
- Created: 2019-04-04T19:17:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-04T09:10:47.000Z (almost 5 years ago)
- Last Synced: 2024-05-02T20:34:32.178Z (7 months ago)
- Topics: anilist, converter, myanimelist, url
- Language: PHP
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
[![Latest Stable Version](https://poser.pugx.org/janvernieuwe/mal2anilist/v/stable)](https://packagist.org/packages/janvernieuwe/mal2anilist)
[![Total Downloads](https://poser.pugx.org/janvernieuwe/mal2anilist/downloads)](https://packagist.org/packages/janvernieuwe/mal2anilist)
[![License](https://poser.pugx.org/janvernieuwe/mal2anilist/license)](https://packagist.org/packages/janvernieuwe/mal2anilist)# Converter
This is a simple lib to convert myanimelist id's to a anilist url.
## Installation
```
composer require janvernieuwe/mal2anilist
```## Usage
```php
$mal2Anilist = new \Mal2Anilist\Converter();
$url = $mal2Anilist->getAnilistUrl(37430);
// $url is now 'https://anilist.co/anime/101280'
```When it cannot be found, null is returned.