<commit_before># Skyward REST

[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/SkySecureX/skyward-rest)
[![Build Status](https://travis-ci.org/FruitsNVeggies/skyward-rest.svg?branch=master)](https://travis-ci.org/FruitsNVeggies/skyward-rest) 


## Installation

```sh
npm install https://github.com/FruitsNVeggies/skyward-rest
```

## Summary

### Unofficial Rest API for Skyward
 - Uses Puppeteer
 - Queries data for the fastest output
 - Breaks down and parses complex responses
 - Handles edge cases with ease
 - Built functionally

## Examples

**Basics**

```javascript
const skyward = require('skyward-rest')

const url = 'https://skyward.coolisd.net/...'

skyward(url)(userId, password)
  .then(student => {
    student.scrape('S1')
      .then(console.log) // => [Object Array]
      .then(() => student.close())<commit_msg>fixed build status<commit_after># Skyward REST

[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/SkySecureX/skyward-rest)
[![Build Status](https://travis-ci.org/Kaelinator/skyward-rest.svg?branch=master)](https://travis-ci.org/Kaelinator/skyward-rest)

## Installation

```sh
npm install https://github.com/FruitsNVeggies/skyward-rest
```

## Summary

### Unofficial Rest API for Skyward
 - Uses Puppeteer
 - Queries data for the fastest output
 - Breaks down and parses complex responses
 - Handles edge cases with ease
 - Built functionally

## Examples

**Basics**

```javascript
const skyward = require('skyward-rest')

const url = 'https://skyward.coolisd.net/...'

skyward(url)(userId, password)
  .then(student => {
    student.scrape('S1')
      .then(console.log) // => [Object Array]
      .then(() => student.close())
{'fraction_non_alphanumeric': 0.16580903373356204, 'fraction_numerical': 0.0011435105774728416, 'mean_word_length': 4.287009063444109, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1905189', 'n_tokens_mistral': 615, 'n_tokens_neox': 586, 'n_words': 113}