منصوبے کے بارے میں

# سیزن ٹرینڈز [![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۔ جنوری 2022 سے، پچھلا سیزن موجودہ سیزن کے ساتھ ساتھ اپ ڈیٹ ہوتا ہے۔ ```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 } ``` ### اینیمے ڈیٹا ```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) } } ``` ## ڈیولپمنٹ ### تقاضے - [git] `>= 2.0.0` - [node.js] `>= 8.0.0` - [yarn] `>= 1.0.0` ### کمانڈز - `yarn start` - لائیو ری لوڈ لوکل سرور - `yarn lint` - سورس کوڈ لِنٹ کریں - `yarn build` - سورس سے بلڈ کریں - `yarn cron` - نیا ڈیٹا حاصل کرنے کے لیے دستی طور پر cron ٹاسک چلائیں ### گائیڈ 1. [Fork the repo] 2. ریپو کلون کریں (`git clone https://github.com/{yourusername}/api-docs.git`) 3. نیا برانچ بنائیں (`git checkout -b improve-docs`) 4. ڈیپنڈنسیز انسٹال کریں (`yarn install`) 5. سورس فائلوں میں مناسب تبدیلیاں کریں 6. اپنی تبدیلیوں میں مسائل چیک کریں (`yarn test`) 7. اپنی تبدیلیاں کمٹ کریں (`git commit -am 'Improve docs'`) 8. اپنی برانچ پر پش کریں (`git push origin improve-docs`) 9. [Create a Pull Request] ## لائسنس تمام کوڈ [MIT] لائسنس کے تحت جاری کیا گیا ہے [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