Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.
/ inovus-api Public archive

The one ultimate API that all Inovus Fellows will ever need to build anything using its Community Database

Notifications You must be signed in to change notification settings

inovus-labs/inovus-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inovus API

The one ultimate API that all Inovus Fellows will ever need to build anything using its Community Database.

About Us

Inovus Labs is a Student Community with the ideology relied around the core value of peer-to-peer learning & self-exploration. Since 2015 - the year it was formed, Inovus Labs had taken-up the responsibility of managing different entities like Innovation & Entrepreneurship Development Center (IEDC), TinkerHub KJCMT, HackClub KJCMT & GTech µLearn at Kristu Jyoti College.

About Project

As a community of developers & makers, we do initiate small projects very often and most of which rely around community itself.

This is a project to build an API that could gather, process & store data from different locations and delivers it securely to required projects. Infact, this Inovus API is built to facilitate different other projects that are under consideration.

This API performs the following functions:


API Documentation

Here a list of available API routes that could deliver data securely.

⭐ Basic User Data

Method Endpoint Parameter(s) Auth Description
GET /user id Get basic details of a particular user

Response Example

{
  "_id": "700005215654379562",
  "name": "Arjun Krishna",
  "email": "mail@arjunkrishna.in",
  "mobile": 9400057152,
  "gender": "Male",
  "dob": {
    "day": 4,
    "month": 5,
    "year": 1999
  },
  "department": "Master of Computer Application (MCA)",
  "college": "Kristu Jyoti College of Management and Technology",
  "admission": 2020,
  "interest": [
    "Web Designing",
    "Internet of Things",
    "Competitive Programming",
    "Graphic Designing",
    "Video Editing",
    "Creative Writing"
  ]
}

⭐ Extended User Data

Method Endpoint Parameter(s) Auth Description
GET /user/ext id Get all details of a user including Discord Data

Response Example

{
  "_id": "700005215654379562",
  "name": "Arjun Krishna",
  "email": "mail@arjunkrishna.in",
  "mobile": 9400057152,
  "gender": "Male",
  "dob": {
    "day": 4,
    "month": 5,
    "year": 1999
  },
  "department": "Master of Computer Application (MCA)",
  "college": "Kristu Jyoti College of Management and Technology",
  "admission": 2020,
  "interest": [
    "Web Designing",
    "Internet of Things",
    "Competitive Programming",
    "Graphic Designing",
    "Video Editing",
    "Creative Writing"
  ],
  "discord": {
    "tag": "ArjunKrishna#9445",
    "avatar": "https://cdn.discordapp.com/avatars/700005215654379562/045daa81c2f645e801d1d83783fa1236.png"
  }
}

⭐ User(s) with Birthday(s) on a Date

Method Endpoint Parameter(s) Auth Description
GET /bday mm dd Get the id(s) of user(s) who is having bday on the date

Response Example

[
  "620063590778535947",
  "912506693500432445",
  "913959672468344852"
]

⭐ Birthday(s) in a Month

Method Endpoint Auth Description
GET /bday/:mm Get the id(s) of the user(s) who is having bday on the month

Response Example

{
  "700005215654379562": {
    "Date of Birth": "1999-05-03T18:30:00.000Z",
    "Day": 4,
    "Discord User ID": "700005215654379562",
    "Month": 5,
    "Year": 1999
  },
  "756057795283124277": {...},
  "794859559344275466": {...},
  "841690740572028938": {...},
  "843036965234409472": {...},
  "843083939526213643": {...},
  "855753243874295839": {...},
  "913832883674824764": {...},
  "914065274288869376": {...},
  "914452839240204318": {...},
  "926059379818647622": {...}
}

⭐ Custom User Profile

Method Endpoint Parameter(s) Auth Description
GET /profile id Get custom details of a user for his/her profile

Response Example

{
  "_id": "700005215654379562",
  "name": "Arjun Krishna",
  "email": "mail@arjunkrishna.in",
  "mobile": 9400057152,
  "gender": "Male",
  "dob": {
    "day": 4,
    "month": 5,
    "year": 1999
  },
  "department": "Master of Computer Application (MCA)",
  "college": "Kristu Jyoti College of Management and Technology",
  "admission": 2020,
  "interest": [
    "Web Designing",
    "Internet of Things",
    "Competitive Programming",
    "Graphic Designing",
    "Video Editing",
    "Creative Writing"
  ],
  "profile": {
    "bio": "Yet another human being born towards the end of the 20th century, and continues his Exploration & Experimentation on the Technology that the 21st century has to offer",
    "tagline": "Microsoft Beta Student Ambassador | Self-taught Full Stack Developer",
    "image": "https://lh3.googleusercontent.com/d/1QOWWzWgZLAEa_MD2SgKMV8Mxb_XWdle0",
    "socials": {
      "instagram": "decoded_cipher",
      "twitter": "Decoded_Cipher",
      "linkedin": "~arjunkrishna",
      "github": "decoded-cipher"
    }
  }
}

About

The one ultimate API that all Inovus Fellows will ever need to build anything using its Community Database

Resources

Stars

Watchers

Forks

Packages

No packages published