প্রকল্প সম্পর্কে
# Season Trends
[![web badge]][web]
[![uptime badge]][web]
[![contributors badge]][contributors]
[![actions badge]][actions]
[Kitsu] সিজন ট্রেন্ড বর্তমানে সম্প্রচারিত অ্যানিমের জন্য
## ডেটা ব্যবহার
সমস্ত ডেটা বিনামূল্যে ব্যবহারযোগ্য এবং এখান থেকে পাওয়া যায়:
- `./data`-তে JSON ফরম্যাটে বা অনলাইনে `season.moe/data/{year}-{season}.json`-এ
- [MessagePack] ফরম্যাটে অনলাইনে `season.moe/msgpack/{year}-{season}.msgpack`-এ
## ডেটা ফরম্যাট
স্টোরেজ স্পেস এবং ব্যান্ডউইথ বাঁচাতে প্রপার্টির নাম সংক্ষিপ্ত করা হয়েছে।
### সিজনাল ডেটা
সম্প্রচার সিজন অনুযায়ী গ্রুপ করা ডেটা - Winter, Spring, Summer এবং Autumn/Fall।
জানুয়ারি ২০২২ থেকে, পূর্ববর্তী সিজন বর্তমান সিজনের সাথে একসাথে আপডেট করা হয়।
```js
{
data: [
{
i: 12, // Kitsu anime ID
t: 'One Piece', // Canonical title
u: 0, // Subtype (0: TV, 1: ONA)
n: 0, // 0: Leftover, 1: New
d: [ // Data array containing each daily update
{
i: 0, // Index
d: 450263, // Hours since epoch (x3600000 to get datetime)
w: 82.19, // Wilson's confidence level (0.95) out of 100 (omitted if 0)
l: 82.4, // Laplace smoothing out of 100 (omitted if 0)
p: 100359.75, // Upvotes, ratings >= 3 out of 5, omitted if 0)
o: 21433.25, // Downvotes, ratings < 3 out of 5, omitted if 0)
r: 121793, // Users Rated (omitted if 0)
u: 186101, // Users (omitted if 0)
f: 6578 // Users Favourited (omitted if 0)
}
]
}
],
meta: {
current: 52, // Total started airing this season
total: 226 // Total shows being tracked
},
updated: '2021-05-13T23:03:55.841Z' // ISO date of the last cron update
}
```
### Anime Data
```js
{
data: [
{
i: 0 // index
d: 450263, // Hours since epoch (x3600000 to get datetime)
w: 82.19 // Wilson's confidence level (0.95) out of 100 (omitted if 0)
l: 82.4 // Laplace smoothing out of 100 (omitted if 0)
p: 100359.75 // Upvotes, ratings >= 3 out of 5, omitted if 0)
o: 21433.25 // Downvotes, ratings < 3 out of 5, omitted if 0)
r: 121793 // Users Rated (omitted if 0)
u: 186101 // Users (omitted if 0)
f: 6578 // Users Favourited (omitted if 0)
}
],
meta: {
i: 12, // Kitsu anime ID
t: 'One Piece', // Canonical title
u: 0, // Subtype (0: TV, 1: ONA)
}
}
```
## Development
### Requirements
- [git] `>= 2.0.0`
- [node.js] `>= 8.0.0`
- [yarn] `>= 1.0.0`
### Commands
- `yarn start` - live reload local server
- `yarn lint` - lint source code
- `yarn build` - build from source
- `yarn cron` - manually run cron task to fetch new data
### Guide
1. [Fork the repo]
2. Clone the repo (`git clone https://github.com/{yourusername}/api-docs.git`)
3. Create a new branch (`git checkout -b improve-docs`)
4. Install dependencies (`yarn install`)
5. Make the appropriate changes in the source files
6. Check your changes for issues (`yarn test`)
7. Commit your changes (`git commit -am 'Improve docs'`)
8. Push to your branch (`git push origin improve-docs`)
9. [Create a Pull Request]
## License
All code released under the [MIT] license
[kitsu]: https://kitsu.io
[messagepack]: https://msgpack.org
[fork the repo]: https://help.github.com/articles/fork-a-repo/#fork-an-example-repository
[create a pull request]: https://help.github.com/articles/creating-a-pull-request/#creating-the-pull-request
[mit]: https://github.com/wopian/kitsu-season-trends/blob/master/LICENSE.md
[git]: https://git-scm.com
[node.js]: https://nodejs.org
[yarn]: https://yarnpkg.com
[web]: https://season.moe
[web badge]: https://flat.badgen.net/uptime-robot/status/m779133972-4da0d8f104f1d6ffaf921257
[uptime badge]: https://flat.badgen.net/uptime-robot/month/m779133972-4da0d8f104f1d6ffaf921257
[actions]: https://github.com/wopian/kitsu-season-trends/actions/workflows/ci.yml
[actions badge]: https://flat.badgen.net/github/checks/wopian/kitsu-season-trends/master/ci
[contributors]: https://github.com/wopian/kitsu-season-trends/graphs/contributors
[contributors badge]: https://flat.badgen.net/github/contributors/wopian/kitsu-season-trends
Comments
0 people shared their preference · Deer Point appears after 10 participants
Sign in to join the discussion.