Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

education-github-student-benefits

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

education-github-student-benefits

A JavaScript library for fetching real-time GitHub Student Pack benefits.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

EducationGit

A JavaScript library for fetching real-time GitHub Student Pack benefits. This library allows students to retrieve information about the benefits they have access to as part of the GitHub Student Developer Pack.

Features

  • Fetch real-time information about the GitHub Student Pack benefits.
  • Retrieve details about individual benefits, such as name, description, and benefits.
  • Filter benefits based on categories or specific keywords. [FILTERED ON TAGS]!
  • Easy integration with your JavaScript projects.

Installation

npm install education-github-student-benefits

Usage

const EducationGit = new (require("education-github-student-benefits"))();

EducationGit.getBenefits().then((res) => {
    console.log(res);
}).catch((err) => {
    console.error(err);
});

// GET FILTERS
EducationGit.getBenefits().then((res) => {
    EducationGit.getAllFilters(res["benefits"]["list"]).then((res) => {
      console.log(res["filters"]);
    });
}).catch((err) => {
    console.error(err);
});

// GET BENEFITS WITH FILTER
EducationGit.getBenefits().then((res) => {
    EducationGit.filterBenefits(res["benefits"]["list"], "Cloud").then((res) => {
      console.log(res);
    });
}).catch((err) => {
    console.error(err);
});

Example Request Content:

{
  requestDate: {
    timestamp: 1689164159356,
    dateFormat: 'YYYY-MM-DD HH:mm:ss',
    date: '2023-07-12 12:15:59'
  },
  benefits: {
    count: 89,
    list: [
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object]
    ]
  },
  applyForGitHubStudentDeveloperPack: 'https://education.github.com/discount_requests/application',
  information: {
    source: 'https://education.github.com/pack',
    libAuthor: 'mazkdevf',
    libName: 'education-git-benefits',
    libVersion: '1.0.3'
  }
}

Example Request Content for Filters & Filtered:

EducationGit.filterBenefits (FUNCTION)
{
  requestDate: {
    timestamp: 1689166087812,
    dateFormat: 'YYYY-MM-DD HH:mm:ss',
    date: '2023-07-12 12:48:07'
  },
  benefits: {
    count: 7,
    list: [
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object]
    ]
  },
  applyForGitHubStudentDeveloperPack: 'https://education.github.com/discount_requests/application',
  information: {
    source: 'https://education.github.com/pack',
    libAuthor: 'mazkdevf',
    libName: 'education-git-benefits',
    libVersion: '1.0.3'
  },
  filter: 'Cloud'
}
EducationGit.getAllFilters (FUNCTION)
{
  count: 14,
  list: [
    'Virtual Events',
    'Domains',
    'Cloud',
    'Developer tools',
    'Learn',
    'Design',
    'Infrastructure & APIs',
    'Security & analytics',
    'Mobile',
    'Personal Portfolio',
    'Machine Learning & AI',
    'Internet of Things',
    'Productivity',
    'Marketing'
  ]
}

Disclaimer: This library is not officially endorsed or supported by GitHub. It is an independent project created by the community for educational purposes.

Keywords

FAQs

Package last updated on 12 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc