Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seia-soto/ohys-api
Ohys-API is a project to redistribute the anime metadata of Ohys-Raws.
https://github.com/seia-soto/ohys-api
anilist anime-metadata ohys-api parse torrent
Last synced: 3 months ago
JSON representation
Ohys-API is a project to redistribute the anime metadata of Ohys-Raws.
- Host: GitHub
- URL: https://github.com/seia-soto/ohys-api
- Owner: seia-soto
- License: other
- Created: 2020-02-03T17:22:11.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-20T17:41:55.000Z (over 1 year ago)
- Last Synced: 2024-10-11T20:18:11.634Z (3 months ago)
- Topics: anilist, anime-metadata, ohys-api, parse, torrent
- Language: TypeScript
- Homepage: https://npmjs.com/package/ohys-api/
- Size: 363 KB
- Stars: 16
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Ohys-API
The package refining the Ohys-Raws distribution data.
I implemented the code in TypeScript and ES module for better community
adoption of newer technologies. Supporting CommonJS module or legacies
will not be supported in any way.## Install
You can install the package via NPM.
```zsh
$ npm i ohys-api
```## API
We removed all APIs rather than title parsing method for smaller package
footprint. Almost everyone use their own HTTP requesting package, so it's
reasonable to take over the package selection to the user world.### `parser.parse(title: string): { ... }`
```javascript
import { parser } from 'ohys-api'parser('[PROVIDER] Title 2nd season - 2 END (CH 1920x1080 x264 AAC)')
/*
{
title: {
original: 'Title',
seasonal: 'Title 2nd season',
series: '',
},
file: {
name: '[PROVIDER] Title 2nd season - 2 END (CH 1920x1080 x264 AAC)',
resolution: '1920x1080',
codec: {
video: 'x264',
audio: 'AAC',
},
},
provider: {
channel: 'CH',
},
episodes: [2],
seasons: [2],
}
*/
```We also bundle some development only method for dynamic use of this
package, but don't use development only methods in production code. Even
in minor version changes, the development only methods can be changed at
any time.Please, see test directory for the use of development only method.
## LICENSE
All code rights goes to HoJeong Go , the owner.
All code distributed in ISC license for free use of the code.Don't abuse the names in this package.
Don't hide the credit of this package if you used or transformed the code
in this package.
Don't hate others by any specific reason.