Kitsu season trends for the currently airing anime
All the data is free to use and available in:
- JSON format in
./data
or online atseason.moe/data/{year}-{season}.json
- MessagePack format online at
season.moe/msgpack/{year}-{season}.json
{
data: {
'12': { // Kitsu anime ID
i: 12, // Kitsu anime ID
t: 'One Piece', // Canonical title
u: 0, // Subtype (0: TV, 1: ONA)
d: [ // Data array containing each daily update
{
i: 0, // Index
d: 416359, // Hours since epoch (x3600000 to get datetime)
m: 8.54, // Mean score (omitted if 0)
r: 14030, // Users Rated (omitted if 0)
u: 25518, // Users (omitted if 0)
f: 2387, // Users Favourited (omitted if 0)
}
]
}
},
meta: {
current: 65, // Total started airing this season
total: 277 // Total shows being tracked
}
updated: '2017-07-22T15:12:09.391Z' // ISO date of the last cron update
}
yarn start
- live reload local serveryarn lint
- lint source codeyarn build
- build from sourceyarn cron
- manually run cron task to fetch new data
-
Clone the repo (
git clone https://github.com/{yourusername}/api-docs.git
) -
Create a new branch (
git checkout -b improve-docs
) -
Install dependencies (
yarn install
) -
Make the appropriate changes in the source files
-
Check your changes for issues (
yarn test
) -
Commit your changes (
git commit -am 'Improve docs'
) -
Push to your branch (
git push origin improve-docs
)
All code released under the MIT license