Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.0 Major Update #36

Open
wants to merge 76 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
994db2f
Something enhancedy
moelrobi Jul 2, 2018
faea883
not done.
moelrobi Jul 2, 2018
a3fe686
Finished CheckIn.
moelrobi Jul 2, 2018
a855a63
Signing my Commit
moelrobi Jul 2, 2018
d587f41
ESLint is happy Now.
moelrobi Jul 2, 2018
5cf273a
Unittest
moelrobi Jul 2, 2018
2fa4a92
Merge pull request #35 from AminoJS/checkin
moelrobi Jul 2, 2018
4df074f
Merge pull request #37 from AminoJS/checkin
moelrobi Jul 2, 2018
5895e3d
Add a new index for the getComUsers feature
felixfong227 Jul 26, 2018
bb48664
Add a new example code for the getComUsers
felixfong227 Jul 26, 2018
2183ba0
Add a new URL entry point
felixfong227 Jul 26, 2018
c0886ae
Add a new reference object
felixfong227 Jul 26, 2018
c8564bf
Add a new getComUsers feature
felixfong227 Jul 26, 2018
9e4521b
Merge branch '3.0.0-nightly' into issue38
moelrobi Jul 28, 2018
8818286
Whoopsie Daisy
moelrobi Jul 28, 2018
7768e36
Rename the expored function
felixfong227 Jul 29, 2018
87062c8
Remove the unused variable
felixfong227 Jul 29, 2018
ebcefcf
Add a new test case for the getComUsers function
felixfong227 Jul 29, 2018
ebd621c
- Finished send new message types
akatsukilevi Oct 10, 2018
5bfad63
Changed only to trigger Travis Build
akatsukilevi Oct 10, 2018
01caf12
FIxed Line-Ending And Identination Errors
akatsukilevi Oct 10, 2018
5a19f75
Fixed Git Local Settings To Use CRLF
akatsukilevi Oct 10, 2018
c25cf14
Changed Line Ending to CRLF
akatsukilevi Oct 10, 2018
968f26c
- Added .vscode to gitignore
akatsukilevi Oct 10, 2018
1ad91c6
Create CNAME
akatsukilevi Oct 10, 2018
2ac87bb
Delete CNAME
akatsukilevi Oct 10, 2018
b933121
Set theme jekyll-theme-tactile
akatsukilevi Oct 10, 2018
7795efa
- Fixed Build Settings
akatsukilevi Oct 10, 2018
14c1be5
Merge branch 'master' of github.com:akatsukilevi/Amino.JS
akatsukilevi Oct 10, 2018
4b05692
- Pointing Travis Build Indicator on README.md to the right repo
akatsukilevi Oct 10, 2018
b5f607c
- Removed sensitive information from env.default.js
akatsukilevi Oct 10, 2018
250f225
Reworking README.md
akatsukilevi Oct 10, 2018
1080646
Set theme jekyll-theme-cayman
akatsukilevi Oct 11, 2018
3f3a8e7
Started Remake Of Amino.JS Website
akatsukilevi Oct 11, 2018
368bfde
Merge branch 'master' of github.com:akatsukilevi/Amino.JS
akatsukilevi Oct 11, 2018
c1896ea
Set theme jekyll-theme-slate
akatsukilevi Oct 11, 2018
7fd68a9
- Added argument Test to check if the Email and password does exists
akatsukilevi Oct 11, 2018
d7ecc33
Merge branch 'master' of github.com:akatsukilevi/Amino.JS
akatsukilevi Oct 11, 2018
6f9caf2
- Changed Log-in Settings
akatsukilevi Oct 11, 2018
d211fa0
Finished README.md
akatsukilevi Oct 11, 2018
49e1133
Removed Unseen Line From README.md
akatsukilevi Oct 11, 2018
f80997b
Added missing ; at the framework example
akatsukilevi Oct 11, 2018
d91c185
Added Narvii Amino Logo For Aesthetic
akatsukilevi Oct 11, 2018
b2d23a0
Update Variable Name
moelrobi Oct 29, 2018
58cd693
Add a new test cover for check if the blogs property is null if is no…
felixfong227 Oct 29, 2018
bf34a27
Merge pull request #41 from AminoJS/issue38
moelrobi Oct 29, 2018
68ee6cf
Update index.test.js
akatsukilevi Dec 19, 2018
2d4a22f
Update Readme for right links
moelrobi Dec 19, 2018
f38bd58
Remove the TODO File, please use Github Projects in the Future
moelrobi Jan 3, 2019
04be7c0
Exclude CheckIn Data to the Object Module
moelrobi Jan 3, 2019
0657d4e
Using @akatsukilevi's Checkin Module
moelrobi Jan 3, 2019
8774db2
Merge branch '3.0.0-nightly' into master
Jan 3, 2019
cb19a9c
Merge pull request #46 from akatsukilevi/master
Jan 3, 2019
31ca446
Remove the Lockfile of the Yarn Package Manager
moelrobi Jan 3, 2019
cf2cd44
Update packages due to vulnerabilities.
moelrobi Jan 3, 2019
1c88f3f
Adding Jest Config.
moelrobi Jan 3, 2019
d876cfb
This Function got removed during Merge Conflict, readding.
moelrobi Jan 3, 2019
d7bfd93
Fixed a Bug were the User Sending a Message would be undefined
moelrobi Jan 3, 2019
8294c20
Readding the Object that got removed while Merge Conflicting
moelrobi Jan 3, 2019
5a4c3f7
Let's Try Debugging on mobile.
Jan 3, 2019
1880436
FIx for ``Unknown option "setTimeout"`` 1
akatsukilevi Jan 4, 2019
169c1b6
Fix for ``Unknown option "setTimeout"`` 2
akatsukilevi Jan 4, 2019
fa95745
Merge pull request #48 from AminoJS/akatsukilevi-patch-travis-package
Jan 4, 2019
af41984
add timeouts and new enpoint tests
moelrobi Jan 4, 2019
64a7714
All Endpoints are now covered in Testcases again! :)
moelrobi Jan 5, 2019
b21a030
i cant type.. :D
moelrobi Jan 5, 2019
c7a4fe6
Wrong Enpoint Called here
moelrobi Jan 5, 2019
43f4723
Bump Version number, Remove old Domain
moelrobi Jan 5, 2019
5b949c8
JSON.parse error fix
akatsukilevi Mar 18, 2019
606a00d
JSON.parse error fix
akatsukilevi Mar 18, 2019
6e67b17
Audit Logs Feature Added + Top Documentation Fix
akatsukilevi Mar 18, 2019
2505e8b
Update to README.md
akatsukilevi Mar 18, 2019
c6a3802
Added Invite Chat
akatsukilevi Mar 18, 2019
17d1853
Removed personal things from when i was testing
akatsukilevi Mar 18, 2019
9a1df64
Update to README.md
akatsukilevi Mar 18, 2019
285fba9
Update sendImage.js
akatsukilevi Jun 25, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 37 additions & 37 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parser": "babel-eslint",
"parserOptions": {
"emcaVersion": 8,
"ecmaFeatures": {
"module": true
},
"globalReturn": true,
"sourceType": "module"
},
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"windows"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"no-console": [
"error"
]
}
}
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parser": "babel-eslint",
"parserOptions": {
"emcaVersion": 8,
"ecmaFeatures": {
"module": true
},
"globalReturn": true,
"sourceType": "module"
},
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"windows"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"no-console": [
"error"
]
}
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.js text eol=crlf
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,12 @@ env.js

# Ignore Cache Files for c9-WebIDE
.c9/

# Local test folder
testing/

# Local Jester settings file
jest.config.js

# Visual Studio Code folder
.vscode/
3 changes: 3 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"esversion": 6
}
84 changes: 82 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,85 @@

Amino.JS is a Javascript library for access to the Narvii/Amino API.

# WARNING
This software is unofficial! It's against the Terms of Service to use this Software to interact with Amino APIs. We (the creator of Amino.JS) are not responsible for any kind of damage (ban / legal actions) done by Narvii, Inc.
## Getting Started

To start using this library is easy.
First include it on your project
```js
var Amino = require("amino.js");
```
From here, you can choose 2 options.
Use the modules directly
```js
const sid = await Amino.login('email', 'password');
// Remember, theses functions are async, so you need to use it on a async context
// Also, you have to catch the exceptions by yourself
```
Or use the framework
```js
const AminoAPI = new Amino.AminoAPI();
AminoAPI.proccessAction(Amino.login('email', 'password'), function(data){
// Here is the success handler
}, function(error){
// Here is the error handler
});
// Differently than the direct call, you can use the framework in a normal context(outside of a async context)
```

### Prerequisites

The only prerequisite for using the Amino.JS library is the Node.JS itself.
> Levi: i made a test, using a experimental build of the Node.JS for android, and i tested the Amino.JS library on it. It worked perfectly(despite a small lag due to my phone not being a pretty good one)

### Installing

Install this library is easy as
```
$ npm install amino.js
```

Or simply by cloning this repo

## Running the tests

To run the tests, you need to install the Jest library
```
$ npm install -g jest
```

Each test make sure that the modules and calls are working together to the Narvii Amino, making sure it isn't causing any type of problem(like calling a inexistent endpoint)

## Deployment

To deploy, it's recommended to make a handler for the SID(Session ID), to avoid any type of session leaking, or session hijack.

## Built With

* [Isomorphic Fetch](https://www.npmjs.com/package/isomorphic-fetch) - Fetch for node and Browserify. Built on top of [GitHub's WHATWG Fetch polyfill](https://github.com/github/fetch).
* A lot of coffee
* A brand-new used laptop

## Contributing

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

## Authors

* **[Robin Möller (moelrobi)](https://github.com/moelrobi)** - Initial Work
* **[Felix Fong (felixfong227)](https://github.com/felixfong227)**
* **[Tau (Tau5)](https://github.com/Tau5)**
* **[Jason Idris (coffeeboo)](https://github.com/coffeeboo)**
* **[Akatsuki Levi (akatsukilevi)](https://github.com/akatsukilevi)**

See also the list of [contributors](https://github.com/AminoJS/Amino.JS/contributors) who participated in this project.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

## Acknowledgments

* This software is unofficial! It's against the Terms of Service to use this Software to interact with Amino APIs. We (the creator of Amino.JS) are not responsible for any kind of damage (ban / legal actions) done by Narvii, Inc.
* UPDATE:
> Levi: I'm currently trying to make this API official in the AminoApps. Even though time isn't helping me much, i'll be working to make it official.
* We are not responsible for any usage you have with the API due to improper usage
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-slate
86 changes: 0 additions & 86 deletions docs/404.html

This file was deleted.

82 changes: 0 additions & 82 deletions docs/about/index.html

This file was deleted.

Loading