GithubHelp home page GithubHelp logo

contest-hive / contest-hive Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 3.0 6.94 MB

All Contests in One Place. No more keeping track of future contests manually! Contest Hive is all you need.

Home Page: https://contest-hive.vercel.app

CSS 17.27% JavaScript 80.01% Python 2.70% HTML 0.02%
atcoder codechef codeforces competitive-programming competitive-programming-contests contests hackerearth hackerrank leetcode nextjs13 tailwindcss toph

contest-hive's Introduction

Contest Hive Logo

Contest Hive - Contests at Your Fingertips

Build Docs Vercel Website API Apache License

Live at contest-hive.vercel.app

Table of Contents

Why Contest Hive?

Contest Hive saves your time by providing you all the upcoming contests from various platforms. So you don't have to visit each platform to check for upcoming contests.

All contests in one place. Isn't it cool?

If you want to know how this is different from StopStalk, then you can read the About Page of Contest Hive. It explains the differences between Contest Hive, StopStalk and Kontests.

Features

  • Upcoming contests from 7 platforms
  • Filter contests by start time or platform
  • Contests Update Every 5 Minutes
  • Google Calendar Integration
  • API for developers
  • No Rate Limit on API
  • Fully Responsive Design
  • Dark Theme to save your eyes ๐Ÿ‘€

Platforms

  • Atcoder
  • Codechef
  • Codeforces includes Codeforces GYM
  • Hackerearth
  • Hackerrank
  • Leetcode
  • Toph

API

Contest Hive provides an API for developers to fetch upcoming contests. The Documentation for the API can be found here.

The documentation fully explains how to use the API and the response formats.

API Endpoints

Endpoint Alias Description
/api/ Root Endpoint of api
/atcoder /1 Returns all the future contests information from AtCoder
/codechef /2 Returns all the future contests information from Codechef
/codeforces /3 Returns all the future contests information from Codeforces
/hackerearth /4 Returns all the future contests information from Hackerearth
/hackerrank /5 Returns all the future contests information from Hackerrank
/leetcode /6 Returns all the future contests information from Leetcode
/toph /7 Returns all the future contests information from Toph
/codeforces-gym /8 Returns all the future contests information from Codeforces GYM

API Response Format

The API returns a JSON object with the following format for each platform:

{
  "ok": true,
  "data": [
    {
      "title": "UNIQUE VISION Programming Contest 2023 Autumn(AtCoder Beginner Contest 323)",
      "url": "https://atcoder.jp/contests/abc323",
      "startTime": "2023-10-07T12:00:00Z",
      "endTime": "2023-10-07T13:40:00Z",
      "duration": 6000,
      "platform": "Atcoder"
    },
    {
      "title": "AtCoder Regular Contest 166",
      "url": "https://atcoder.jp/contests/arc166",
      "startTime": "2023-10-08T12:00:00Z",
      "endTime": "2023-10-08T14:00:00Z",
      "duration": 7200,
      "platform": "Atcoder"
    }
  ],
  "lastUpdated": "2023-09-26T14:31:22Z"
}

The response types and details are explained in the API Documentation.

How Does It Work?

Contest Hive uses Github Actions to run a python script every 5 minutes which fetches the contests info and stores them in a JSON file. The JSON file is then used and cached by the Contest Hive API to serve the data to the users.

This way, the API doesn't have to fetch the data from the platforms every time a user makes a request.

The Backend repository of Contest Hive can be found here

Contributing

Contributions are always welcome! Feel free to raise a PR. If you have any suggestions or want to report a bug, please open an issue.

License

Contest Hive is licensed under the Apache License

Links

contest-hive's People

Contributors

dependabot[bot] avatar nusab19 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

contest-hive's Issues

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.