Coder Social home page Coder Social logo

coinmaketcap / kitsu-season-trends Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wopian/kitsu-season-trends

0.0 1.0 0.0 2.9 MB

๐ŸฆŠ Kitsu seasonal anime trends

Home Page: https://season.moe

License: MIT License

Shell 0.97% JavaScript 84.72% HTML 4.79% CSS 9.53%

kitsu-season-trends's Introduction

Season Trends

web badge uptime badge travis badge donate badge

Kitsu season trends for the currently airing anime

Using the Data

All the data is free to use and available in:

  • JSON format in ./data or online at season.moe/data/{year}-{season}.json
  • MessagePack format online at season.moe/msgpack/{year}-{season}.json

Data Format

{
  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
}

Development

Requirements

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-season-trends's People

Contributors

wopian avatar renovate[bot] avatar snyk-bot avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.